joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10096678
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100f6520]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100966be
cmp word [ebx], dx
jne 0x100966be
or byte [eax + edi + 0x28], 4
jmp 0x100966c3
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10096826
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10096806
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10096704
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1009673a
cmp eax, edx
jae 0x10096748
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100966df
jmp 0x10096826
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10096801
cmp dword [ebp - 0x18], 0
je 0x10096801
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100f6520]
test byte [eax + edi + 0x28], 0x48
je 0x100967d7
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1009679b
mov word [esi], cx
jmp 0x100967d2
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100f6520]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100f6520]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100f6520]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10096826
pop eax
cmp word [ebp - 4], ax
jne 0x100967e7
cmp esi, ebx
jne 0x100967e7
mov word [esi], ax
jmp 0x10096823
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100964cd
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10096826
push 0xd
pop eax
jmp 0x100967e2
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100f6520]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10096820
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10096826
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100998c2
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1009995f
push ebx
push esi
call fcn.1009988b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10098014
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1009990c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009995e
push edi
push eax
call fcn.100910ec
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1009992c
call fcn.100910b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009995d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10098014
add esp, 0x20
test eax, eax
jne 0x1009994b
push edi
call fcn.100910b2
jmp 0x10099953
push ebx
call fcn.100910b2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10099962
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10099973
pop esi
ret
push ebx
push edi
push esi
call fcn.1009988b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100910ec
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1009999b
push ebx
push esi
push edi
call fcn.1007eab0
add esp, 0xc
push 0
call fcn.100910b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10099d6b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100999b0

Function at 0x1009ec55
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1009190a
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1009ecc4
cmp esi, dword [ebp - 4]
je 0x1009ecbf
cmp dword [ebp + 0xc], 0
je 0x1009ecbf
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1009ec9c
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1009e7a7
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1009ecc6
xor eax, eax
inc eax
jmp 0x1009ecc6
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1009ed2b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100f2010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1009190a
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1009190a
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1009eda2
cmp word [ecx], dx
je 0x1009eda2
mov eax, dword [0x100aed7c]
push edi
dec eax
push eax
push 0x100aec68
call fcn.1009ecca
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1009ee15
cmp word [eax], dx
je 0x1009ee15
mov eax, dword [edi]
test eax, eax
je 0x1009edc6
cmp word [eax], dx
je 0x1009edc6
lea eax, [ebp - 0x10]
push eax
call fcn.1009e6ad
jmp 0x1009edcf
lea eax, [ebp - 0x10]
push eax
call fcn.1009e748
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1009ee3f
mov eax, dword [0x100aec64]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100ae958
call fcn.1009ecca
add esp, 0xc
test al, al
je 0x1009ee3f
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1009ee0a
cmp word [eax], di
je 0x1009ee0a
lea eax, [ebp - 0x10]
push eax
call fcn.1009e6ad
pop ecx
jmp 0x1009ee41
lea eax, [ebp - 0x10]
push eax
call fcn.1009e748
jmp 0x1009ee07
mov eax, dword [edi]
test eax, eax
je 0x1009ee2c
cmp word [eax], dx
je 0x1009ee2c
lea eax, [ebp - 0x10]
push eax
call fcn.1009e662
pop ecx
jmp 0x1009ee3f
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1009ef0a
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1009eb4f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1009ef0a
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1009ef0a
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1009ef0a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1009ee97
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10094403
test ebx, ebx
je 0x1009ef05
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10094403
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1009ef0a
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1009ef0a
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100a1fc3
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1009ef0c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007c473
leave
ret
Function at 0x100a217c
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100a20f8
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100a22eb
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100a22eb
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100a22a0
jg 0x100a21d8
test eax, eax
je 0x100a2296
push 1
push 0x1000
call fcn.1009126e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100a21fb
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100a228d
push 0x8000
push ebx
call fcn.100a2029
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100a2224
jg 0x100a221f
cmp ecx, 0x1000
jb 0x100a2224
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100978b4
add esp, 0x10
cmp eax, 0xffffffff
je 0x100a2269
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100a221f
jl 0x100a2250
test ecx, ecx
jne 0x100a2211
push dword [ebp - 0xc]
push ebx
call fcn.100a2029
push esi
call fcn.100910b2
add esp, 0xc
xor ebx, ebx
jmp 0x100a22f9
cmp byte [edi + 0x24], 0
je 0x100a2280
cmp dword [edi + 0x20], 5
jne 0x100a2280
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100a228b
mov ebx, dword [edi + 0x18]
jmp 0x100a228d
xor ebx, ebx
push esi
call fcn.100910b2
pop ecx
jmp 0x100a22f9
test ecx, ecx
jg 0x100a2262
jl 0x100a22a0
test eax, eax
jae 0x100a2262
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100964cd
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100a22c0
cmp byte [edi + 0x1c], 0
je 0x100a2262
jmp 0x100a22f1
push ebx
call fcn.1009f2e5
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100a2262
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100a22f9
cmp byte [edi + 0x1c], 0
je 0x100a22f6
mov ebx, dword [edi + 0x18]
jmp 0x100a22f9
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100964cd
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408898
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x4088b5
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4088e3
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4088be
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x4088b7
jmp 0x4088a9
cmp edx, ebx
je 0x4088fc
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x4088e3
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x403b80
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x18], eax
test ebp, ebp
je 0x403c41
lea eax, [edx + 8]
mov ebx, edx
mov esi, ecx
xor edi, edi
mov dword [esp + 0x1c], eax
jmp 0x403bbb
add edi, 1
cmp ebp, edi
je 0x403c41
movzx ecx, byte [ebx]
mov eax, esi
mov edx, dword [ebx + 4]
and eax, 1
shl eax, cl
or al, byte [ebx + 1]
add ecx, 1
cmp cl, 7
mov byte [ebx], cl
mov byte [ebx + 1], al
jbe 0x403be9
lea ecx, [edx + 1]
mov dword [ebx + 4], ecx
mov byte [ebx + edx + 8], al
xor edx, edx
mov word [ebx], dx
mov edx, ecx
shr esi, 1
cmp edx, 0xff
jne 0x403bb0
mov eax, dword [esp + 0x18]
mov dword [esp], 0xff
add edi, 1
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
xor eax, eax
cmp ebp, edi
mov dword [ebx + 4], 0
mov word [ebx], ax
jne 0x403bbb
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x419080
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
xor ebp, ebp
push esi
push ebx
sub esp, 0x1c
mov eax, dword [esp + 0x30]
mov dword [esp + 4], 0x46c58b
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
mov dword [0x4a1b10], eax
je 0x41920d
mov edi, eax
lea eax, [esi*4]
mov ebp, 1
imul eax, ebx
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [esp + 0xc], edi
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], str.GIF89a
mov dword [0x4a75b4], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [0x4a1b10]
mov dword [esp + 4], eax
movzx eax, bl
movzx ebx, bh
mov dword [esp], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp + 4], eax
mov eax, esi
movzx eax, al
mov dword [esp], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp + 4], eax
mov eax, esi
movzx esi, ah
mov dword [esp], esi
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0xf0
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x419220
add esp, 0x1c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x4a1b10]
mov dword [esp], 0x21
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0xff
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0xb
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str.NETSCAPE2.0
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [0x4a1b10]
mov dword [esp], 3
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 1
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [0x4a1b10]
mov dword [esp], 0
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
add esp, 0x1c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x424320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
sub esp, 0x58
fld dword [esp + 0x78]
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x7c]
fstp dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
fld dword [esp + 0x68]
fstp dword [esp + 0x10]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x3c]
fld dword [esp + 0x6c]
fstp dword [esp + 0x14]
call fcn.00421ce0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0040deb0
call fcn.0040b430
fldz
fst dword [esp + 8]
fstp dword [esp + 0x20]
fld dword [esp + 0x64]
fstp dword [esp + 4]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.0040b690
fld1
fst dword [esp + 0xc]
fstp dword [esp + 0x24]
fld dword [esp + 0x20]
fst dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.0040b990
fld dword [esp + 0x20]
fstp dword [esp + 8]
fld dword [esp + 0x1c]
fchs
fstp dword [esp + 4]
fld dword [esp + 0x18]
fchs
fstp dword [esp]
call fcn.0040b690
mov dword [esp], 7
call fcn.0040dc90
fld dword [esp + 0x24]
fstp dword [esp + 8]
fld dword [esp + 0x20]
fst dword [esp + 4]
fst dword [esp]
fstp dword [esp + 0x18]
call fcn.0040d400
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0xc], eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [esp + 8], eax
movzx eax, bh
movzx ebx, bl
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0040d410
fld dword [0x4a2864]
fild dword [0x4a2878]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fdivp st(1)
fstp dword [esp + 4]
fld dword [0x4a2860]
fild dword [0x4a2874]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fdivp st(1)
fstp dword [esp]
call fcn.0040d3d0
fld dword [esp + 0x18]
fst dword [esp + 4]
fstp dword [esp]
call fcn.0040d370
fld dword [0x4a286c]
fadd dword [0x4a2864]
fild dword [0x4a2878]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fdivp st(1)
fstp dword [esp + 4]
fld dword [0x4a2860]
fild dword [0x4a2874]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fdivp st(1)
fstp dword [esp]
call fcn.0040d3d0
fld dword [esp + 0x14]
fstp dword [esp + 4]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.0040d370
fld dword [0x4a286c]
fadd dword [0x4a2864]
fild dword [0x4a2878]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fdivp st(1)
fstp dword [esp + 4]
fld dword [0x4a2868]
fadd dword [0x4a2860]
fild dword [0x4a2874]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fdivp st(1)
fstp dword [esp]
call fcn.0040d3d0
fld dword [esp + 0x14]
fstp dword [esp + 4]
fld dword [esp + 0x10]
fstp dword [esp]
call fcn.0040d370
fld dword [0x4a2864]
fild dword [0x4a2878]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fdivp st(1)
fstp dword [esp + 4]
fld dword [0x4a2868]
fadd dword [0x4a2860]
fild dword [0x4a2874]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fdivp st(1)
fstp dword [esp]
call fcn.0040d3d0
fld dword [esp + 0x18]
fstp dword [esp + 4]
fld dword [esp + 0x10]
fstp dword [esp]
call fcn.0040d370
call fcn.0040dd90
call fcn.0040b510
add esp, 0x58
pop ebx
jmp fcn.0040dfa0
Function at 0x428160
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push edi
push esi
mov esi, 0xfffffffc
push ebx
sub esi, edx
cmp edx, 0xfffffffd
mov edi, dword [eax]
jl 0x4281d0
lea edx, [edi + edx + 4]
lea ecx, [edi + esi]
add esi, edx
mov edx, 0xffffffff
mov ebx, edx
xor dl, byte [ecx]
add ecx, 1
shr ebx, 8
movzx edx, dl
xor ebx, dword [edx*4 + 0x46fee0]
cmp esi, ecx
mov edx, ebx
jne 0x428180
not edx
mov esi, edx
mov ecx, edx
movzx ebx, dh
shr esi, 0x18
shr ecx, 0x10
mov ebp, edx
mov edx, esi
mov byte [edi], dl
mov esi, dword [eax]
mov byte [esi + 1], cl
mov ecx, dword [eax]
mov byte [ecx + 2], bl
mov ecx, dword [eax]
mov ebx, ebp
mov byte [ecx + 3], bl
add dword [eax], 4
pop ebx
pop esi
pop edi
pop ebp
ret
xor ebp, ebp
xor ebx, ebx
xor ecx, ecx
xor esi, esi
jmp 0x4281ab
Function at 0x42c320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 4
call fcn.0042a2e0
fld1
fld dword [ebx + 0x38]
mov edx, esi
mov eax, ebx
fucompi st(1)
fstp st(0)
jbe 0x42c350
call fcn.00429b50
add esp, 4
mov edx, eax
mov eax, ebx
pop ebx
pop esi
jmp fcn.00428e80
call fcn.00429b50
add esp, 4
mov edx, eax
mov eax, ebx
pop ebx
pop esi
jmp fcn.00429410
Function at 0x435180
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x30
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00434d20
test eax, eax
je 0x43520d
mov ebx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], 0x46dae3
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
mov edi, eax
je 0x435220
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov esi, 1
mov dword [esp + 4], 1
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], edi
call sub.msvcrt.dll_fclose
mov dword [esp], ebx
call sub.msvcrt.dll_free
add esp, 0x30
mov eax, esi
pop ebx
pop esi
pop edi
ret
mov dword [esp], ebx
call sub.msvcrt.dll_free
add esp, 0x30
mov eax, esi
pop ebx
pop esi
pop edi
ret
Function at 0x44bc80
Capabilities:
Log keystrokes via polling

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [esp], 0x10
call esi
movsx ebx, ax
sub esp, 4
shr ebx, 0x1f
mov dword [esp], 0x11
call esi
mov edx, ebx
sub esp, 4
or edx, 2
test ax, ax
mov dword [esp], 0x12
cmovs ebx, edx
call esi
mov edx, ebx
sub esp, 4
or edx, 4
test ax, ax
mov dword [esp], 0x5b
cmovs ebx, edx
call esi
sub esp, 4
mov edi, eax
mov dword [esp], 0x5c
call esi
mov edx, ebx
sub esp, 4
or edx, 8
or di, ax
mov dword [esp], 0x14
cmovs ebx, edx
call esi
mov edx, ebx
sub esp, 4
or edx, 0x10
test al, 1
mov dword [esp], 0x90
cmovne ebx, edx
call esi
mov edx, ebx
sub esp, 4
or edx, 0x20
test al, 1
cmovne ebx, edx
add esp, 0x10
mov eax, ebx
pop ebx
pop esi
pop edi
ret

Function at 0x44bd30
Capabilities:
Log keystrokes via polling

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dword [esp], 0x10
call esi
movsx ebx, ax
sub esp, 4
shr ebx, 0x1f
mov dword [esp], 0x11
call esi
mov edx, ebx
sub esp, 4
or edx, 2
test ax, ax
mov dword [esp], 0x12
cmovs ebx, edx
call esi
mov edx, ebx
sub esp, 4
or edx, 4
test ax, ax
mov dword [esp], 0x5b
cmovs ebx, edx
call esi
sub esp, 4
mov edi, eax
mov dword [esp], 0x5c
call esi
mov edx, ebx
sub esp, 4
or edx, 8
or di, ax
mov dword [esp], 0x14
cmovs ebx, edx
call esi
mov edx, ebx
sub esp, 4
or edx, 0x10
test al, 1
mov dword [esp], 0x90
cmovne ebx, edx
call esi
mov edx, ebx
sub esp, 4
or edx, 0x20
test al, 1
cmovne ebx, edx
add esp, 0x10
mov eax, ebx
pop ebx
pop esi
pop edi
ret