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

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x40a34e
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x40a342
cmp dword [edi + 0x7c], ebx
je 0x40a35d
call fcn.0040a720
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040a0a0
add esp, 0xc
test eax, eax
je 0x40a384
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x84
call fcn.0041569a
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40a3c5
push 0x4000
call fcn.0041569a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x40a3d2
push esi
call fcn.00415764
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x40a41a
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.004091f0
test eax, eax
jne 0x40a41a
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x40a444
mov cl, byte [edi + 0x39]
mov byte [esi + 0x80], cl
jmp 0x40a44d
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x80], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x70]
mov dword [esi + 0x7c], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
cmp ebp, ebx
je 0x40a487
mov cl, byte [ebp]
cmp cl, bl
je 0x40a487
call fcn.00408ee0
add ebp, 1
jne 0x40a476
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x40a880
Capabilities:
Get common file path

Disassembly:
cmp dword [esi], 0
push edi
jne 0x40a933
cmp dword [esi + 4], 0xffffffff
jne 0x40a933
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
jmp 0x40a8b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a8b0
sub eax, edx
sar eax, 1
movzx eax, word [esi + eax*2 + 0x242]
cmp ax, 0x5c
je 0x40a8e9
cmp ax, 0x2f
je 0x40a8e9
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40a8d6
mov eax, dword [0x430ee0]
mov dword [edi], eax
push 0x20
call fcn.0040b1d2
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 4
mov byte [eax], 0
mov byte [eax + 1], 1
mov byte [eax + 0x10], 0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
call fcn.00409980
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
ret 8
mov eax, 0x1000000
pop edi
ret 8

Function at 0x41563c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437c24]
jne 0x415646
repz ret
jmp fcn.0041a16b

Function at 0x423b9a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041d5c7
and dword [ebp - 4], 0
cmp dword [0x43bfc8], 0
mov ebx, eax
jne 0x423c4b
push 0x42d6ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x423cfc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42d6e0
push edi
call esi
test eax, eax
je 0x423cfc
push eax
call fcn.0041d555
mov dword [esp], 0x42d6d0
push edi
mov dword [0x43bfc8], eax
call esi
push eax
call fcn.0041d555
mov dword [esp], 0x42d6bc
push edi
mov dword [0x43bfcc], eax
call esi
push eax
call fcn.0041d555
mov dword [esp], 0x42d6a0
push edi
mov dword [0x43bfd0], eax
call esi
push eax
call fcn.0041d555
pop ecx
mov dword [0x43bfd8], eax
test eax, eax
je 0x423c4b
push 0x42d688
push edi
call esi
push eax
call fcn.0041d555
pop ecx
mov dword [0x43bfd4], eax
mov eax, dword [0x43bfd4]
cmp eax, ebx
je 0x423ca3
cmp dword [0x43bfd8], ebx
je 0x423ca3
push eax
call fcn.0041d5d0
push dword [0x43bfd8]
mov esi, eax
call fcn.0041d5d0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423ca3
test edi, edi
je 0x423ca3
call esi
test eax, eax
je 0x423c9a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423c9a
test byte [ebp - 0xc], 1
jne 0x423ca3
or dword [ebp + 0x10], 0x200000
jmp 0x423cdc
mov eax, dword [0x43bfcc]
cmp eax, ebx
je 0x423cdc
push eax
call fcn.0041d5d0
pop ecx
test eax, eax
je 0x423cdc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x423cdc
mov eax, dword [0x43bfd0]
cmp eax, ebx
je 0x423cdc
push eax
call fcn.0041d5d0
pop ecx
test eax, eax
je 0x423cdc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43bfc8]
call fcn.0041d5d0
pop ecx
test eax, eax
je 0x423cfc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x423cfe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push 0x4f000
push 0
call sub.kernel32.dll_GetCurrentThreadId
call sub.kernel32.dll_VirtualAlloc
call fcn.0049f3d4
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3b90703c
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3e760108
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x409210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x18]
and eax, 0xffff
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x40923c
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
jne 0x40925a
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
lea ecx, [esi - 0x6c]
push ecx
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [esi - 0x6c]
lea esi, [ebp + 0x6c]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
push 0
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x10]
push 0
push ecx
call fcn.004092d0
mov edx, dword [esp + 0x24]
add esp, 8
push ebx
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..data
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0xd205eb5
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4d2a3f4c
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x117e72ba
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x26bd334d
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40b661
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
call dword [sym.imp.USER32.DLL_GetFocus]
mov esi, dword [sym.imp.USER32.DLL_GetKeyState]
mov edi, eax
mov bl, pe_nt_image_headers32
test edi, edi
je 0x40b6dd
push 9
call esi
test bl, al
je 0x40b6dd
push 0x11
call esi
test bl, al
jne 0x40b6dd
push 0x10
call esi
test bl, al
jne 0x40b6dd
push 0x12
call esi
test bl, al
jne 0x40b6dd
push 5
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.DLL_GetClassNameA]
push 4
lea eax, [esp + 0x14]
push str.Rich
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x40b6dd
push eax
push eax
push 0x44e
push edi
call dword [sym.imp.USER32.DLL_SendMessageA]
test eax, 0x800
jne 0x40b6dd
xor eax, eax
jmp 0x40b75f
push ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x40b706
push 0x11
call esi
test bl, al
jne 0x40b6fe
push 0x10
call esi
test bl, al
jne 0x40b6fe
push 0x12
call esi
test bl, al
je 0x40b706
push 1
push ebp
call fcn.0040b61a
mov esi, dword [sym.imp.USER32.DLL_GetPropA]
test edi, edi
je 0x40b71c
push str.PB_Hotkey
push edi
call esi
test eax, eax
jne 0x40b75c
push str.PB_WindowID
push ebp
call esi
mov esi, eax
test esi, esi
je 0x40b75c
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x40b75c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x10], eax
jne 0x40b75c
dec esi
push esi
push dword [0x413b08]
call fcn.0040e59a
test eax, eax
je 0x40b75c
mov eax, dword [eax + 8]
jmp 0x40b75e
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x40c6d0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
cmp dword [esi + 0x14], eax
jne 0x40c705
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push eax
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 4]
mov dword [esi + 0xc], ecx
pop esi
pop ecx
ret 4
Function at 0x4029e0
Capabilities:
Create pipe
Create process on windows
Get thread local storage value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c0c
call fcn.0040d720
mov eax, dword [0x4555fc]
mov ecx, dword [0x45508c]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x402af3
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x4555fc], 0x959
jne 0x402adc
push 0
lea eax, [ebp - 0x1408]
push eax
push 0
push 0
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push 0
lea ecx, [ebp - 0xc08]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x408]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x1c08]
push eax
push 0
call edi
mov ecx, dword [ebp - 4]
push ecx
call fcn.004027d0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x402a1e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4072ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x446580]
jne 0x4072f6
repz ret
jmp fcn.00409d28

Function at 0x408bc5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406a16
and dword [ebp - 4], 0
cmp dword [0x44c2d8], 0
mov ebx, eax
jne 0x408c76
push 0x401a7c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408d27
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401a70
push edi
call esi
test eax, eax
je 0x408d27
push eax
call fcn.004069a4
mov dword [esp], 0x401a60
push edi
mov dword [0x44c2d8], eax
call esi
push eax
call fcn.004069a4
mov dword [esp], 0x401a4c
push edi
mov dword [0x44c2dc], eax
call esi
push eax
call fcn.004069a4
mov dword [esp], 0x401a30
push edi
mov dword [0x44c2e0], eax
call esi
push eax
call fcn.004069a4
pop ecx
mov dword [0x44c2e8], eax
test eax, eax
je 0x408c76
push 0x401a18
push edi
call esi
push eax
call fcn.004069a4
pop ecx
mov dword [0x44c2e4], eax
mov eax, dword [0x44c2e4]
cmp eax, ebx
je 0x408cce
cmp dword [0x44c2e8], ebx
je 0x408cce
push eax
call fcn.00406a1f
push dword [0x44c2e8]
mov esi, eax
call fcn.00406a1f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408cce
test edi, edi
je 0x408cce
call esi
test eax, eax
je 0x408cc5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408cc5
test byte [ebp - 0xc], 1
jne 0x408cce
or dword [ebp + 0x10], 0x200000
jmp 0x408d07
mov eax, dword [0x44c2dc]
cmp eax, ebx
je 0x408d07
push eax
call fcn.00406a1f
pop ecx
test eax, eax
je 0x408d07
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408d07
mov eax, dword [0x44c2e0]
cmp eax, ebx
je 0x408d07
push eax
call fcn.00406a1f
pop ecx
test eax, eax
je 0x408d07
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44c2d8]
call fcn.00406a1f
pop ecx
test eax, eax
je 0x408d27
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408d29
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x20001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x2c]
mov esi, 0x20005050
push eax
push esi
mov dword [ebp - 0x2c], 0x3930467b
mov dword [ebp - 0x28], 0x32413033
mov dword [ebp - 0x24], 0x39442d46
mov dword [ebp - 0x20], 0x342d3137
mov dword [ebp - 0x1c], 0x2d383238
mov dword [ebp - 0x18], 0x39303238
mov dword [ebp - 0x14], 0x4437422d
mov dword [ebp - 0x10], 0x36324446
mov dword [ebp - 0xc], 0x34444536
mov dword [ebp - 8], 0x7d34
call sub.MSVCRT.dll_strcpy
pop ecx
mov eax, esi
pop ecx
pop esi
leave
ret

Function at 0x20001715
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push edi
nop
mov edi, edi
nop
mov edi, edi
and dword [ebp - 4], 0
push 0x20005010
mov dword [ebp - 0x1c], 0x623f7325
mov dword [ebp - 0x18], 0x2673253d
mov dword [ebp - 0x14], 0x73253d63
mov dword [ebp - 0x10], 0x253d6526
mov dword [ebp - 0xc], 0x6b712673
mov dword [ebp - 8], 0x313d
call fcn.2000378f
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0xc
lea eax, [ebp - 0x21c]
test eax, eax
pop edi
je 0x200017dc
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x200017dc
push 0x2000552c
push 0x200052c4
lea eax, [ebp - 0x21c]
push 0x20005290
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x21c]
push eax
call fcn.2000302b
add esp, 0x1c
test eax, eax
je 0x200017dc
cmp byte [eax], 0x31
push eax
jne 0x200017d5
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop eax
leave
ret
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
leave
ret
Function at 0x20002395
Capabilities:
Contain obfuscated stackstrings
Get file size
Read .ini file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
push edi
nop
mov edi, edi
nop
mov edi, edi
mov eax, 0x76726553
mov esi, 0x200055b4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
xor ebx, ebx
push eax
push 0x28
push esi
lea eax, [ebp - 0x18]
push 0x20005020
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0x614e7265
push eax
mov dword [ebp - 0x20], 0x656d
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x7473614c
mov dword [ebp - 0x14], 0x656d614e
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x50], 0x63655c2e
mov dword [ebp - 0x4c], 0x6f685c74
mov dword [ebp - 0x48], 0x692e656d
mov dword [ebp - 0x44], 0x696e
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], 0x694c7265
mov dword [ebp - 0x34], 0x442e7473
mov dword [ebp - 0x30], 0x7461
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
ja 0x2000243e
xor eax, eax
jmp 0x2000252a
lea eax, [ebp - 0x154]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x154]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov byte [eax + 1], bl
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x154]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
nop
mov edi, edi
nop
mov edi, edi
push ebx
push ebx
push 3
push ebx
push ebx
lea eax, [ebp - 0x154]
push 0x80000000
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + 1]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [ebp - 8], eax
lea eax, [edi + 1]
push eax
push ebx
push dword [ebp - 8]
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 4]
push ebx
push eax
push edi
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
cmp eax, ebx
pop ecx
je 0x2000251d
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
push 0x2c
push eax
call edi
mov esi, eax
push 0x2c
inc esi
push esi
call edi
push 0x28
push ebx
mov ebx, 0x2000558c
mov edi, eax
push ebx
call sub.MSVCRT.dll_memset
sub edi, esi
push edi
push esi
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x28
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x200025da
Capabilities:
Create thread

Disassembly:
push edi
nop
mov edi, edi
nop
mov edi, edi
xor eax, eax
push eax
push eax
push eax
push 0x200025f5
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
ret
Function at 0x20002730
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
nop
mov edi, edi
nop
mov edi, edi
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
mov dword [ebp - 0x1c], 0x45324154
mov dword [ebp - 0x18], 0x746964
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], 0x6d724654
mov dword [ebp - 0x28], 0x4f676f4c
mov dword [ebp - 0x24], 0x6e
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push dword [0x20005608]
call esi
push 0x64
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], ebx
je 0x20002776
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x200027a0
cmp dword [ebp - 8], ebx
jne 0x200027c2
lea eax, [ebp - 0x1c]
push ebx
push eax
push ebx
push dword [ebp - 0xc]
call esi
lea ecx, [ebp - 0x1c]
push ebx
push ecx
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call esi
push 0x64
mov dword [ebp - 8], eax
call edi
jmp 0x20002796
push 0xfffffffffffffff4
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, 0x1109c
jne 0x200027df
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
jmp 0x200027e8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 8], eax
mov ebx, 0x200055e0
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x2000281d
push 0x2000565c
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x2000281d
push ebx
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
ja 0x20002837
push 0x28
push 0x2000565c
push dword [ebp - 0x10]
call esi
push 0x28
push ebx
push dword [ebp - 8]
call esi
push 0xa
call edi
jmp 0x200027f6
pop edi
pop esi
pop ebx
leave
ret

Function at 0x2000283c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
nop
mov edi, edi
nop
mov edi, edi
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
mov ebx, 0x100
push ebx
lea eax, [ebp - 0x104]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x104]
push ebx
push eax
push dword [0x20005608]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
push 0x3a
push eax
call edi
mov esi, eax
push 0x3a
inc esi
push esi
call edi
mov dword [ebp - 4], eax
sub eax, esi
add esp, 0x10
test eax, eax
jg 0x200028a8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x20002859
push 0x28
mov edi, 0x20005634
push 0
push edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 4]
sub eax, esi
push eax
push esi
push edi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret