joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410b7b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xd0]
xor ebx, ebx
call fcn.004123ab
mov edi, dword [ebp + 8]
test eax, eax
jle 0x410bd1
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp + 0xb], 0
call fcn.00411f6a
mov edx, dword [eax]
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x410c2c
lea ecx, [esi + 0xd0]
inc ebx
call fcn.004123ab
cmp ebx, eax
jl 0x410b9a
sub edi, 0x100
je 0x410c84
sub edi, 4
je 0x410c30
dec edi
dec edi
jne 0x410c7b
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0043f5b2
pop ecx
mov ecx, dword [esi + 0x50]
push 0x8000000a
lea edx, [ebp + 8]
mov word [ebp + 8], ax
mov eax, dword [ecx]
push edx
push 0x411c43
call dword [eax + 0xf4]
mov esi, eax
test esi, esi
je 0x410c7b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xe8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x410c7d
cmp dword [esi + 0x54], 0
je 0x410c7b
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.0040f7ab
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
call dword [eax + 0x100]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x410c7b
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x410cd1
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x410cd1
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xcc]
test al, al
je 0x410cd1
mov ecx, dword [esi + 0x54]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0043e0ac
pop ecx
pop ecx
test eax, eax
je 0x410cd1
mov ecx, dword [esi + 0x54]
call fcn.00416827
test al, al
jne 0x410c7b
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call fcn.0041167a
jmp 0x410c2c
Function at 0x41147b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx]
je 0x4114a3
cmp esi, dword [ebx + 0x54]
je 0x411565
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [ebx + 0x54]
je 0x411565
cmp dword [ebx + 0x54], 0
push edi
je 0x4114f6
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
call dword [eax + 0x100]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x54]
mov ecx, ebx
call fcn.00411262
mov dword [ebx + 0x54], edi
test esi, esi
je 0x411564
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x411564
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc0]
test al, al
je 0x411564
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xcc]
test al, al
je 0x411564
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebx + 0x54], esi
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
call dword [eax + 0x100]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x54]
mov ecx, ebx
call fcn.00411262
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x417af8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x438], edi
je 0x417b62
cmp dword [ebp + 8], 0x100
jne 0x417b51
cmp word [ebp + 0xc], 0xd
jne 0x417b51
cmp byte [esi + 0x43e], 0
je 0x417b38
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x417b51
cmp byte [esi + 0x43f], 0
jne 0x417b51
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x417b4d
push edi
push edi
push edi
push str.return
push esi
call fcn.00411262
xor eax, eax
jmp 0x417b65
mov eax, dword [esi + 0x438]
pop edi
mov ecx, dword [eax + 0xc]
pop esi
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x41d305
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x467e60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41d3bb
movzx eax, word [esi]
test ax, ax
je 0x41d3bb
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x41d345
cmp ax, 0x5c
jne 0x41d347
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x41d339
cmp edi, esi
je 0x41d38e
sub edi, esi
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0043e062
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x41d3c9
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0041d305
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0043f64b
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0043f61c
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043cefb
leave
ret
call fcn.0043dc10
int3

Function at 0x41d99a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x41da16
cmp dword [edi + 4], 0xffffffff
jne 0x41da16
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x460640
push esi
call fcn.0043f61c
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x41d9e8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x41d9e8
mov eax, 0x2000000
jmp 0x41da1b
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041fe90
add esp, 0x10
test eax, eax
jne 0x41da06
mov eax, dword [ebp - 4]
jmp 0x41da1b
push eax
call fcn.00420591
mov dword [edi], eax
mov eax, dword [0x4698bc]
pop ecx
jmp 0x41da1b
mov eax, 0x1000000
pop edi
leave
ret 0xc
Function at 0x41ff9d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x41ffd1
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41ffcc
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x41fff8
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x41ffe1
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.0043fb10
add esp, 0xc
add dword [edi + 0x18], esi
mov eax, esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x420169
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x420177
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x420232
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x455810]
movzx eax, byte [edx + 1]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x455810]
movzx eax, byte [edx + 2]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x455810]
movzx eax, byte [edx + 3]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x455810]
movzx eax, byte [edx + 4]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x455810]
movzx eax, byte [edx + 5]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x455810]
movzx eax, byte [edx + 6]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x455810]
movzx eax, byte [edx + 7]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x455810]
add edx, 8
sub esi, 8
dec edi
jne 0x420195
pop edi
test esi, esi
je 0x42024b
movzx eax, byte [edx]
xor eax, ecx
and eax, ebx
shr ecx, 8
xor ecx, dword [eax*4 + 0x455810]
inc edx
dec esi
jne 0x420236
not ecx
pop esi
mov eax, ecx
pop ebx
pop ebp
ret
Function at 0x421772
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x45072d
call fcn.0043f6c1
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.00421b03
call fcn.0040f5e8
push eax
lea ecx, [ebp - 0x94]
call fcn.00411d5e
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0040f5ee
mov ecx, eax
call fcn.004124ee
test al, al
je 0x421888
push ebx
lea ecx, [ebp - 0x94]
call fcn.00411f96
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00412398
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x4217f9
push str.Error_opening_file
jmp 0x421969
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x421902
cmp edi, 0x400000
ja 0x421913
and dword [ebp - 0x2c8], 0
push edi
call fcn.0043ce13
pop ecx
mov ebx, eax
push 0
lea eax, [ebp - 0x2c8]
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x421871
push ebx
call fcn.0043d94f
pop ecx
mov ecx, esi
call fcn.00421b03
push 0
push str.Could_not_read_file
jmp 0x421969
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004219b8
push dword [ebp - 0x2cc]
jmp 0x421997
call fcn.0040f5ee
push eax
lea ecx, [ebp - 0x94]
call fcn.00411f79
call fcn.0040f697
test al, al
je 0x4218a9
call fcn.0040f5f4
jmp 0x4218c0
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00412398
push eax
call fcn.0041da20
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x4218d1
push eax
push str.Error_opening_zip_file
jmp 0x421969
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.0041d457
add esp, 0x14
test eax, eax
je 0x4218f8
push 0
push str.Could_not_find_ziped_file
jmp 0x421969
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x42190b
push 0
push str.File_is_empty
jmp 0x421969
cmp ebx, 0x400000
jbe 0x42191c
push 0
push str.File_too_large
jmp 0x421969
push ebx
call fcn.0043ce13
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.0041ddd3
add esp, 0x18
test eax, eax
je 0x421974
cmp eax, 0x600
je 0x421974
push dword [ebp - 0x2c8]
call fcn.0043d94f
pop ecx
call fcn.0040f697
test al, al
jne 0x421962
push edi
call fcn.0041d2bb
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00421b2b
mov bl, al
jmp 0x42199f
call fcn.0040f697
test al, al
jne 0x421984
push edi
call fcn.0041d2bb
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
push ebx
push edi
mov ecx, esi
call fcn.004219b8
push edi
mov bl, al
call fcn.0043d94f
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00411e57
mov al, bl
call fcn.0043f67f
ret 8
Function at 0x42c155
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x42c179
cmp dword [esi + 8], edi
jge 0x42c171
push esi
call fcn.0042a431
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov ecx, dword [esi + 8]
xor edx, edx
test ecx, ecx
jle 0x42c19f
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
mov byte [ebp + edx + 8], al
shr edi, 8
sub ecx, 8
inc edx
mov dword [esi + 0xc], edi
test ecx, ecx
jg 0x42c185
mov dword [esi + 8], ecx
jmp 0x42c1b7
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x42c1aa
xor eax, eax
jmp 0x42c1b2
mov cl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, cl
mov byte [ebp + edx + 8], al
inc edx
cmp edx, 4
jl 0x42c19f
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
movzx eax, byte [ebp + 0xa]
shl ecx, 8
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x42c1f1
push str.zlib_corrupt
call fcn.0042a2ee
add esp, 4
jmp 0x42c22e
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x42c201
push str.read_past_buffer
jmp 0x42c1e7
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x42c218
push edi
push esi
call fcn.0042a2fd
pop ecx
pop ecx
test eax, eax
je 0x42c22e
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0043fb10
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x438f47
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x467e60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x438fb4
cmp dword [esi + 0x10], 0
je 0x438fb4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004404e0
mov ebx, esp
test ebx, ebx
je 0x438fb4
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x134
call fcn.00411eed
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00411262
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043cefb
leave
ret 0x10
Function at 0x44b59e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x467e60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004437ba
mov dword [ebp - 0x14], eax
cmp dword [0x46ab18], edi
jne 0x44b68f
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x44b61c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x44b76f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x44b76f
push 0x45f53c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44b76f
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x46ab18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x46ab1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x46ab20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46ab28], eax
test eax, eax
je 0x44b68c
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46ab24], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x44b6b4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44b6a7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x44b6c9
push 4
pop eax
jmp 0x44b771
cmp dword [ebp - 0x14], edi
je 0x44b6c9
push dword [0x46ab18]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x44b6ae
mov eax, dword [0x46ab24]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x44b727
cmp dword [0x46ab28], esi
je 0x44b727
push eax
call ebx
push dword [0x46ab28]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44b727
test eax, eax
je 0x44b727
call ecx
test eax, eax
je 0x44b71c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x44b71c
test byte [ebp - 8], 1
jne 0x44b727
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x44b757
mov eax, dword [0x46ab1c]
cmp eax, esi
je 0x44b754
push eax
call ebx
test eax, eax
je 0x44b754
call eax
mov edi, eax
test edi, edi
je 0x44b754
mov eax, dword [0x46ab20]
cmp eax, esi
je 0x44b754
push eax
call ebx
test eax, eax
je 0x44b754
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x46ab18]
call ebx
test eax, eax
je 0x44b76f
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x44b771
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043cefb
leave
ret
Function at 0x41d960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18000]
push edi
or ebp, 0xffffffff
jmp 0x41d982
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41d989
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41d978
mov eax, 1
add ebx, ebx
jne 0x41d99b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41d990
jne 0x41d9ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d990
xor ecx, ecx
sub eax, 3
jb 0x41d9c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41da32
mov ebp, eax
add ebx, ebx
jne 0x41d9cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41d9d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41d9fc
inc ecx
add ebx, ebx
jne 0x41d9e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41d9dd
jne 0x41d9f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d9dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41da1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41da0d
jmp 0x41d97e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41da1c
add edi, ecx
jmp 0x41d97e
pop esi
mov edi, esi
mov ecx, 0x113
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41da3a
cmp byte [edi], 0
jne 0x41da3a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41da3f
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x41dab7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x23870]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x238f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41da6c
mov ecx, edi
jns 0x41da9b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x23900]
or eax, eax
je 0x41dab1
mov dword [ebx], eax
add ebx, 4
jmp 0x41da89
call dword [esi + 0x238fc]
mov ebp, dword [esi + 0x23904]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41daeb
sub esp, 0xffffff80
jmp 0x4012c0
Function at 0x40d2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x43d080]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0xc2e0aaea
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
sub eax, 0xc2e0aaea
je 0x40d323
jmp 0x40d30b
mov eax, dword [ebp - 0x24]
sub eax, 0x5eb0fa0d
je 0x40d33b
jmp 0x40d31e
jmp 0x40d380
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x5eb0fa0d
jmp 0x40d380
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
not byte [edi]
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
add byte [edi], 0x79
sub byte [edi], 0x35
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
imul byte [edi]
inc edi
loop 0x40d34c
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00426be0
add esp, 0x1c
pop edi
pop ebx
pop ebp
ret
jmp 0x40d2f5
Function at 0x4274ab
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4274ea
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4274ea
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4274ea
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4274ea
cmp dword [ecx + 0x74], 0xe
jbe 0x4274ea
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42ec4b
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 0x42ece8
push ebx
push esi
call fcn.0042ec14
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.0042eba8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42ec95
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42ece7
push edi
push eax
call fcn.0042d6e0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42ecb5
call fcn.0042d72e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42ece6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042eba8
add esp, 0x20
test eax, eax
jne 0x42ecd4
push edi
call fcn.0042d72e
jmp 0x42ecdc
push ebx
call fcn.0042d72e
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 0x42fef7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x438c20
push 0x438c18
push str.FlsAlloc
push 0x1f
call fcn.0042fdb6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42ff2b
push dword [ebp + 8]
mov ecx, esi
call dword [0x436144]
call esi
jmp 0x42ff31
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42ff75
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x438c30
push 0x438c28
push str.FlsGetValue
push 0x21
call fcn.0042fdb6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42ffac
push dword [ebp + 8]
mov ecx, esi
call dword [0x436144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42ffb4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x438c38
push 0x438c30
push str.FlsSetValue
push 0x22
call fcn.0042fdb6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42ffee
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x436144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4352c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4352ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4352ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret