joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432ca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [edx + 0x14]
mov ebx, ecx
mov ecx, edi
call fcn.00425920
mov esi, dword [edi + 0x1c]
xor eax, eax
mov edx, esi
add edx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x432d63
jb 0x432cd8
cmp edx, 0x7ffffffe
ja 0x432d63
xor eax, eax
mov dword [ebp - 8], ebx
mov word [ebp - 0x20], ax
mov dword [ebp - 0x10], eax
movsx eax, byte [edi + 0x44]
mov edx, dword [edi + 0x18]
mov eax, dword [edi + eax*4 + 0x78]
mov ecx, dword [eax + 0x3c]
movzx eax, word [edi + 0x20]
sub ecx, edx
cmp eax, ecx
cmovb ecx, eax
cmp esi, ecx
ja 0x432d12
mov eax, 0x1010
mov dword [ebp - 0x18], edx
mov word [ebp - 0x20], ax
mov dword [ebp - 0x1c], esi
jmp 0x432d2f
lea eax, [ebp - 0x28]
xor edx, edx
push eax
push 1
push esi
mov ecx, edi
call fcn.0042d730
add esp, 0xc
test eax, eax
jne 0x432d8f
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
push 0
push dword [ebp + 8]
mov ecx, esi
call fcn.00432110
mov ecx, dword [ebp + 0xc]
add esp, 8
test dword [ebp - 0x20], 0x2460
mov dword [ecx], eax
jne 0x432d52
cmp dword [ebp - 0x10], 0
je 0x432d5a
lea ecx, [ebp - 0x28]
call fcn.0042cdf0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push 0x63a1d8
push 0x124ab
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
mov dword [eax], 0
call fcn.00412480
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44df10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov dword [ebp - 0x14], edx
xor edx, edx
mov dword [ebp - 8], eax
push edi
xor edi, edi
mov dword [ebp - 4], edx
cmp dword [eax + 0x14], edx
jle 0x44dfeb
push ebx
push esi
mov ebx, dword [ebp + 8]
mov eax, edi
xor eax, 1
mov ecx, edi
cmp edi, 2
cmovl ecx, eax
mov dword [ebp - 0x10], ecx
test ebx, ebx
je 0x44dfb6
mov edx, ecx
mov eax, ebx
mov ecx, dword [ebp - 8]
add edx, edx
mov bl, byte [ebx]
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + edx*8]
movzx ecx, bl
movzx esi, byte [ecx + 0x630888]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x630888]
sub esi, ecx
jne 0x44df9a
sub edx, eax
mov dword [ebp - 0xc], edx
test bl, bl
je 0x44dfaf
movzx ecx, byte [edx + eax + 1]
inc eax
movzx edx, byte [ecx + 0x630888]
mov bl, byte [eax]
movzx ecx, bl
movzx esi, byte [ecx + 0x630888]
sub esi, edx
mov edx, dword [ebp - 0xc]
je 0x44df76
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x44df31
pop esi
pop ebx
mov eax, edx
pop edi
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x44df9a
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.00414750
add esp, 4
test eax, eax
je 0x44dfe4
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edx, edx
jne 0x44dfa6
jmp 0x44df9d
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x44df9d
mov eax, edx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x44e170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ecx + 0x14]
push edi
mov dword [ebp - 0xc], edx
xor edi, edi
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
test eax, eax
jle 0x44e23c
mov edx, dword [ecx + 0x10]
push ebx
mov dword [ebp - 0x14], edx
push esi
mov ecx, edi
mov eax, edi
xor ecx, 1
cmp edi, 2
cmovl eax, ecx
shl eax, 4
mov ecx, dword [eax + edx + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x44e209
mov ebx, dword [eax + edx]
mov esi, ecx
mov al, byte [ecx]
movzx ecx, byte [ebx]
movzx edx, byte [ecx + 0x630888]
movzx ecx, al
movzx ecx, byte [ecx + 0x630888]
sub ecx, edx
jne 0x44e1f7
sub ebx, esi
test al, al
je 0x44e205
movzx ecx, byte [ebx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x630888]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x630888]
sub ecx, edx
je 0x44e1d6
mov edx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp - 0x10]
jge 0x44e22c
mov edx, dword [ebp - 0x14]
jmp 0x44e197
test ecx, ecx
jne 0x44e1f7
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
add ecx, 0x18
push eax
call fcn.00414750
add esp, 4
test eax, eax
je 0x44e235
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edx, edx
je 0x44e1fa
pop esi
pop ebx
mov eax, edx
pop edi
mov esp, ebp
pop ebp
ret
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x44e1fa
mov eax, edx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x488580
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ef348
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x658e64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 2
push 0
push 0
mov dword [ebp - 4], 0
push dword [ebp + 8]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push dword [edi + 0x20]
mov esi, eax
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0048cf26
cmp esi, 0x20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
setae bl
add eax, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4885fd
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x48ce9e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x48cee3
call fcn.0048ac5d
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x48cee3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x48ceff
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0049d5e5
mov ebx, eax
test edi, edi
je 0x48cefd
test esi, esi
je 0x48cefd
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x48d90c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x48d9ca
cmp dword [esi + 0x20], 0
je 0x48d9ca
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48d9ca
cmp dword [ebp + 8], 0
je 0x48d9ca
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0048ac5d
push 0x5fe9b0
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x48d99b
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x48d9ca
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004a2a80
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x48d9bb
test edi, edi
je 0x48d9bb
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x48d9c6
mov ecx, esi
call fcn.0048d6af
mov eax, ebx
jmp 0x48d9cc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49294c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5fbc9f
call fcn.005cc9f8
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x492972
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4929d1
call fcn.0049333d
push eax
lea ecx, [ebp - 0x10]
call fcn.00403f80
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.005cc9bb
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005d8cda
push eax
call fcn.00404e80
add esp, 0x14
test esi, esi
je 0x4929c4
push esi
call fcn.005d8b40
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00403060
mov eax, ebx
call fcn.005cc9c1
ret 8

Function at 0x4993da
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x49942d
push esi
push dword [ebp + 8]
call fcn.004995ca
mov edi, eax
test edi, edi
jne 0x4993fd
mov eax, dword [ebp + 0x10]
jmp 0x49943f
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4993f8
mov eax, dword [ebp - 8]
jmp 0x49943f
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x49a70e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0048ac5d
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x49a745
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0049a766
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x49be90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x49beda
call fcn.0048ac5d
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x49bed7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x49bf28
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x49bf06
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call fcn.005cc9bb
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x49bf06
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x49bf26
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call fcn.005cc9bb
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a5b10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x4a5b2a
mov edi, dword [esi + 0xc]
jmp 0x4a5b6a
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4a5b43
call fcn.00495d4a
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4a5b58
call fcn.00495d4a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4a5b6a
call fcn.00495d4a
call fcn.0048ac5d
cmp dword [eax + 0x3c], 0
je 0x4a5b7f
push edi
mov ecx, ebx
call fcn.004a51a4
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004a5d5c
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4a5ba8
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4a5bb4
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b5d79
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00492544
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4b5db5
call fcn.004b5f9b
mov dword [esi + 0xc], 1
jmp 0x4b5dba
call fcn.004b5f9b
cmp dword [esi], 0
je 0x4b5e03
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4b5ddd
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0048cf74
jmp 0x4b5dee
push 0xff
mov ecx, esi
call fcn.00403f40
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0048f7d4
jmp 0x4b5e27
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4b5e27
push dword [esi]
push dword [ebp - 4]
call fcn.004a3c4d
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4b5ef0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004b5f9b
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4b5f38
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0048cf74
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0048f7d4
jmp 0x4b5f43
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004a3c4d
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4bcf89
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x661c40], 0
push edi
mov edi, ecx
jne 0x4bcfa2
xor eax, eax
jmp 0x4bd03c
push ebx
push esi
xor ebx, ebx
push ebx
push 0x40
push ebx
call fcn.00492ab9
push ebx
push 1
mov ecx, edi
call fcn.004bcf25
push eax
call fcn.00493d88
push eax
mov ecx, edi
call fcn.00405170
push 1
push ebx
mov ecx, edi
call fcn.004bcf25
push eax
call fcn.00493d88
push eax
mov ecx, edi
call fcn.00405170
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call fcn.005cc9bb
mov ecx, edi
call esi
cmp dword [edi + 0x154], ebx
jne 0x4bd037
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x4bd037
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
mov esi, dword [eax + 0x188]
mov ecx, esi
call fcn.005cc9bb
mov ecx, edi
call esi
push dword [ebp - 8]
mov ecx, dword [0x661c40]
call fcn.00501692
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4cdf22
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x5f1d92
call fcn.005cc9f8
mov ebx, ecx
cmp dword [0x661c40], 0
jne 0x4cdf3e
call fcn.0049520b
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x4cdf56
xor eax, eax
jmp 0x4ce061
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x4cdf4f
push 0xc
push 0x40
mov dword [ebp - 0x40], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4cdf39
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x14]
mov ecx, dword [0x661c40]
call fcn.00501603
mov dword [edi], esi
lea ecx, [ebp - 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebx]
push edi
push ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [eax + 0x164]
mov ecx, esi
call fcn.005cc9bb
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
and dword [ebp - 4], 0
push dword [eax - 0xc]
call fcn.00403f40
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.005cc9bb
mov ecx, ebx
call esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
push 1
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.005cc9bb
mov ecx, ebx
call esi
push 0xa
pop ecx
mov dword [ebp - 0x24], eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x20], 1
push eax
push 0
push 0x1100
push dword [ebx + 0x20]
lea edi, [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x80], 0xffff0002
mov dword [ebp - 0x84], 0xffff0000
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 2
push 0x1102
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call fcn.005cc9bb
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00403060
xor eax, eax
inc eax
call fcn.005cc9c1
ret

Function at 0x4dbd82
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x4dbd9b
call fcn.0048ac5d
mov esi, dword [eax + 0xc]
push 0x607420
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4dbdf1
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4dbdf0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4dbdd1
xor esi, esi
jmp 0x4dbde7
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004dbdf9
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x56d94d
Capabilities:
Get file system object information

Disassembly:
push 0x274
mov eax, 0x5f862b
call fcn.005cca2c
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040bcb0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x632e14
call fcn.0040b6e0
cmp eax, 0xffffffff
jne 0x56da18
push 0
push 0x632e70
lea ecx, [ebp - 0x278]
call fcn.0040b6e0
cmp eax, 0xffffffff
jne 0x56da18
push 0
push 0x633f68
lea ecx, [ebp - 0x278]
call fcn.0040b6e0
cmp eax, 0xffffffff
jne 0x56da18
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040bcb0
mov edi, eax
pop ecx
mov dword [ebp - 0x27c], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x280], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x114]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x56d9f5
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.005cc9bb
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x27c]
mov edi, eax
call fcn.00403060
jmp 0x56da50
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.004040c0
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00403060
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x56da3e
mov edi, dword [ebp - 0x274]
jmp 0x56da50
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.005cc9bb
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00403060
mov eax, edi
call fcn.005cc9d6
ret

Function at 0x5d1669
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x626908
push str.FlsAlloc
push 0
call fcn.005d15e9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5d169b
push dword [ebp + 8]
mov ecx, esi
call fcn.005cc9bb
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x5d16dd
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x62692c
push str.FlsGetValue
push 2
call fcn.005d15e9
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x5d170e
mov ecx, esi
call fcn.005cc9bb
call esi
jmp 0x5d1714
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x5d1717
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x626940
push str.FlsSetValue
push 3
call fcn.005d15e9
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x5d174b
mov ecx, esi
call fcn.005cc9bb
call esi
jmp 0x5d1751
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x5e59b2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005e5831

Function at 0x5e9b7f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005e983f
Function at 0x4038fa
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fa], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404658], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045ec], eax
mov dword [0x4040f2], eax
mov dword [0x4045d8], 0x30
mov dword [0x4045dc], 2
jmp 0x40393f
mov dword [0x4045e0], 0x403153
mov dword [0x4045e4], 0
mov dword [0x4045e8], 0
mov dword [0x404600], 0x40454e
mov dword [0x4045f8], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045f0], eax
mov dword [0x404604], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045f4], eax
push 0x4045d8
fadd dword [ebp + 0x40]
add bh, bh
adc eax, sym.imp.user32.dll_RegisterClassExA
push 0
push dword [0x4040f2]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push 0x40454e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404650], eax
push 5
push dword [0x404650]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404650]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404608]
jmp 0x403a13
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a05
mov eax, dword [0x404610]
jmp 0x403a2e
call 0x402bd5
ret

Function at 0x41178b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x41178b
lcall 0x5de5, 0x8b10c483
jmp loc.007e3ecc

Function at 0x914d78
Capabilities:
Encode data using xor

Disassembly:
jmp 0x914d82
pushal
call 0x914d88
pop ebp
sub ebp, 0x10
sub ebp, 0x514d78
jmp 0x914d9e
mov eax, 0x514d78
add eax, ebp
add eax, 0x4c
mov ecx, 0x61a
mov edx, 0x40cbe051
xor byte [eax], dl
inc eax
dec ecx
jne 0x914db5
jmp 0x914dc8
ficomp dword [edx + ebx*8 + 0x51516dd8]
push ecx
rcl byte [eax + 0x515151a9]
push edx
pushfd
jmp 0x51e29f34