joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a06f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax - 0x3a]
test dword [edx + 0x51fffffc], esi
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0041979a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041974f
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
invalid
test dword [ecx - 4], ecx
invalid
invalid

Function at 0x41d201
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xa0
mov eax, dword [0x45116c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00422070
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x41d253
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x94
call esi
test eax, eax
je 0x41d31a
call fcn.0041d1c4
cmp dword [ebp - 0x18], 2
jne 0x41d2f1
cmp dword [ebp - 0x24], 6
jne 0x41d2ab
cmp dword [ebp - 0x20], 0
jne 0x41d28d
cmp byte [ebp + 0x72], 1
jne 0x41d286
mov ecx, 0x100
neg eax
sbb eax, eax
and eax, ecx
add eax, ecx
jmp 0x41d31c
mov ecx, 0x400
jmp 0x41d279
cmp dword [ebp - 0x20], 1
jne 0x41d31a
cmp byte [ebp + 0x72], 1
jne 0x41d2a4
mov ecx, 0x1000
jmp 0x41d279
mov ecx, 0x4000
jmp 0x41d279
cmp dword [ebp - 0x24], 5
jne 0x41d31a
cmp dword [ebp - 0x20], 2
jne 0x41d2d5
cmp byte [ebp + 0x72], 1
jne 0x41d2c6
test eax, eax
je 0x41d2d1
push 0x20
pop eax
jmp 0x41d31c
test eax, eax
je 0x41d2d1
mov eax, 0x80
jmp 0x41d31c
push 0x40
jmp 0x41d2c3
cmp dword [ebp - 0x20], 1
jne 0x41d2e7
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
jmp 0x41d31c
cmp dword [ebp - 0x20], 0
jne 0x41d31a
push 8
jmp 0x41d2c3
cmp dword [ebp - 0x18], 1
jne 0x41d31a
push 4
pop eax
cmp dword [ebp - 0x24], eax
jne 0x41d31a
cmp dword [ebp - 0x20], 0
jne 0x41d30a
xor eax, eax
inc eax
jmp 0x41d31c
cmp dword [ebp - 0x20], 0xa
jne 0x41d314
push 2
jmp 0x41d2c3
cmp dword [ebp - 0x20], 0x5a
je 0x41d31c
xor eax, eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.0041eb21
add ebp, 0x78
leave
ret
Function at 0x41eb21
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45116c]
jne 0x41eb2b
repz ret
jmp fcn.00425132

Function at 0x43313e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00424a55
xor ebx, ebx
cmp dword [0x453270], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x433213
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x43317e
xor eax, eax
jmp 0x4332d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x433177
push eax
call fcn.004249f2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x453270], eax
call esi
push eax
call fcn.004249f2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x453274], eax
call esi
push eax
call fcn.004249f2
mov dword [0x453278], eax
lea eax, [ebp - 8]
push eax
call fcn.00423514
test eax, eax
pop ecx
pop ecx
je 0x4331e1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004232c2
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x433213
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004249f2
cmp eax, ebx
pop ecx
mov dword [0x453280], eax
je 0x433213
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004249f2
pop ecx
mov dword [0x45327c], eax
mov eax, dword [0x45327c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x43328c
cmp dword [0x453280], esi
je 0x43328c
push eax
call fcn.00424a5e
pop ecx
call eax
cmp eax, ebx
je 0x433259
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x453280]
call fcn.00424a5e
pop ecx
call eax
test eax, eax
je 0x433259
test byte [ebp - 0x18], 1
jne 0x43328c
lea eax, [ebp - 0xc]
push eax
call fcn.004235c3
test eax, eax
pop ecx
je 0x433274
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004232c2
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x433283
or dword [ebp + 0x10], 0x200000
jmp 0x4332bd
or dword [ebp + 0x10], 0x40000
jmp 0x4332bd
mov eax, dword [0x453274]
cmp eax, esi
je 0x4332bd
push eax
call fcn.00424a5e
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4332bd
mov eax, dword [0x453278]
cmp eax, esi
je 0x4332bd
push dword [ebp - 4]
push eax
call fcn.00424a5e
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x453270]
call fcn.00424a5e
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000f7e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x100142f0
call fcn.1001291d
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x1000f9b5
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.100130f2
add esp, 0xc
test eax, eax
js 0x1000f9af
mov esi, dword [ebp - 0x41c]
cmp esi, 0x400
jg 0x1000f87d
push esi
call fcn.10004793
pop ecx
test al, al
je 0x1000f87d
mov eax, esi
call fcn.100129df
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000f889
push esi
lea ecx, [ebp - 0x428]
call fcn.100130f2
push 3
push esi
push edi
push eax
call fcn.100130f2
test eax, eax
je 0x1000f9af
push 2
push ebx
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
jne 0x1000f8bd
call fcn.10004911
mov esi, eax
jmp 0x1000f994
push dword [ebp - 0x424]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x1000f8e0
call fcn.10004911
jmp 0x1000f98b
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x1000f8d6
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x420], esi
cmp eax, esi
jae 0x1000f910
mov esi, 0x8007000e
jmp 0x1000f98d
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.100130f2
mov dword [ebp - 4], 1
jmp 0x1000f94f
cmp dword [ebp - 0x418], 0
je 0x1000f909
push esi
push dword [ebp - 0x424]
push esi
push dword [ebp - 0x418]
call fcn.100130f2
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.100130f2
mov esi, eax
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000f9cf
lea ecx, [ebp - 0x418]
call fcn.1000fa38
jmp 0x1000f9cf
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x1000f9ca
lea ecx, [ebp - 0x418]
call fcn.1000fa38
mov esi, 0x8007000e
lea ecx, [ebp - 0x428]
call fcn.100048c2
mov eax, esi
lea esp, [ebp - 0x444]
call fcn.10012976
ret 0x10
Function at 0x10011ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100025c8]
jne 0x10012a72
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10018880], eax
mov dword [0x1001887c], ecx
mov dword [0x10018878], edx
mov dword [0x10018874], ebx
mov dword [0x10018870], esi
mov dword [0x1001886c], edi
mov word [0x10018898], ss
mov word [0x1001888c], cs
mov word [0x10018868], ds
mov word [0x10018864], es
mov word [0x10018860], fs
mov word [0x1001885c], gs
pushfd
pop dword [0x10018890]
mov eax, dword [ebp]
mov dword [0x10018884], eax
mov eax, dword [ebp + 4]
mov dword [0x10018888], eax
lea eax, [ebp + 8]
mov dword [0x10018894], eax
mov eax, dword [ebp - 0x320]
mov dword [0x100187d0], 0x10001
mov eax, dword [0x10018888]
mov dword [0x10018784], eax
mov dword [0x10018778], 0xc0000409
mov dword [0x1001877c], 1
mov eax, dword [0x100025c8]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10018438]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x100187c8], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x100027c8
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x100187c8], 0
jne 0x10012b5e
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x100130f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10013101
pop dword [ebp - 0xc]
mov eax, 0xd02f8abd
add eax, 0x3fd1a644
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x35964
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x9f97af1e
add ecx, 0x60688a6b
xor esi, esi
add esi, eax
mov edi, 0x813120bd
add edi, 0x8ed0ab43
add edi, dword [ebp - 0xc]
mov edx, 0x8b6a5f28
sub dword [ebp - 8], 0xd4b8b45b
mov ebx, dword [edi]
xor dword [ebp - 8], 0x539b0bc8
sub ebx, edx
mov dword [esi], ebx
mov dword [ebp - 4], 0x60cee782
add esi, 4
add edi, 4
loop 0x10013157
add eax, 0xd8f7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x3fec07da
add ecx, 0xd013f826
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x4022a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431d68
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x445068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
mov ebx, dword [ebp + 0x1c]
cmp ebx, 0x10
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
cmovae eax, edi
mov dword [ebp - 0x114], ecx
cmp byte [ecx + eax - 1], 0x2f
je 0x40235a
cmp ebx, 0x10
lea eax, [ebp + 8]
cmovae eax, edi
cmp byte [ecx + eax - 1], 0x5c
je 0x40235a
mov eax, ebx
sub eax, ecx
push 1
push 0x440ad0
cmp eax, 1
jb 0x402334
cmp ebx, 0x10
lea esi, [ebp + 8]
lea eax, [ecx + 1]
cmovae esi, edi
mov dword [ebp + 0x18], eax
add esi, ecx
push esi
call fcn.00414c30
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x40234b
mov byte [ebp - 0x114], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x114]
push 1
call fcn.00402ff0
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x114], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004151b0
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0x114], esi
jle 0x4023d4
nop word [eax + eax]
cmp ebx, 0x10
lea eax, [ebp + 8]
cmovae eax, edi
mov al, byte [eax + esi]
mov byte [ebp + esi - 0x110], al
cmp al, 0x5c
je 0x40239b
cmp al, 0x2f
jne 0x4023cb
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00418d88
add esp, 8
cmp eax, 0xffffffff
jne 0x4023c5
lea eax, [ebp - 0x110]
push eax
call fcn.00419605
add esp, 4
cmp eax, 0xffffffff
je 0x4023f8
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
inc esi
cmp esi, dword [ebp - 0x114]
jl 0x402380
xor esi, esi
cmp ebx, 0x10
jb 0x40240d
inc ebx
mov eax, edi
cmp ebx, 0x1000
jb 0x402403
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40242b
jmp 0x402403
mov ebx, dword [ebp + 0x1c]
or esi, 0xffffffff
mov edi, dword [ebp + 8]
jmp 0x4023d6
push ebx
push edi
call fcn.0041310f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004130c9
mov esp, ebp
pop ebp
ret
call fcn.0041982f
int3
Function at 0x407010
Capabilities:
Create tcp socket
Create thread
Initialize winsock library
Start tcp server

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c8
mov eax, dword [0x445068]
xor eax, esp
mov dword [esp + 0x1c4], eax
push esi
push edi
push str.ClientCount
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x446fdc], eax
lea eax, [esp + 0x38]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40707f
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407095
mov edx, str.create_socket_error__
mov ecx, 0x446248
call fcn.00402970
push eax
call fcn.00402c20
add esp, 4
mov ecx, dword [esp + 0x1cc]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004130c9
mov esp, ebp
pop ebp
ret
mov eax, 2
push 0x15
mov word [esp + 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x10]
push 0x10
push eax
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x4070df
mov edx, str.bind_error__
mov ecx, 0x446248
call fcn.00402970
push eax
call fcn.00402c20
add esp, 4
push 5
push esi
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x4070f7
mov edx, str.listen_error__
jmp 0x40706c
mov dword [esp + 0xc], 0x10
nop
mov edx, 0x440fd4
mov ecx, 0x446248
call fcn.00402970
push eax
call fcn.00402c20
add esp, 4
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40714a
mov edx, str.accept_error__
mov ecx, 0x446248
call fcn.00402970
push eax
call fcn.00402c20
add esp, 4
jmp 0x407100
push 0x14
call fcn.004130df
movups xmm0, xmmword [esp + 0x24]
add esp, 4
movups xmmword [eax + 4], xmm0
mov dword [eax], edi
push 0
push 0
push eax
push 0x404240
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407100
Function at 0x409b90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432400
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x445068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004130df
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00411b69
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x409cc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x409cf1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x409ce0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x40cc00
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x40ce10
cmp eax, 0x7c
je 0x40ce10
cmp eax, 0x29
jne 0x40cc41
cmp dword [esi + 0x10], 0
jne 0x40ce10
cmp eax, eax
jne 0x40cc41
test dword [esi + 0x50], 0x10000000
je 0x40ce1d
jmp 0x40cdc9
cmp eax, 0x2e
jne 0x40cc52
push 5
lea ecx, [esi + 0x24]
call fcn.0040ce80
jmp 0x40cccb
cmp eax, 0x5c
jne 0x40ccae
mov ecx, esi
call fcn.0040cba0
test byte [esi + 0x50], 0x80
je 0x40cca2
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x40cc81
push 4
lea ecx, [esi + 0x24]
call fcn.0040ce80
mov ecx, esi
call fcn.0040cba0
jmp 0x40ce02
cmp al, 0x42
jne 0x40cca2
push 4
lea ecx, [esi + 0x24]
call fcn.0040ce80
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0040cba0
jmp 0x40ce02
mov ecx, esi
call fcn.0040e010
jmp 0x40cdfb
cmp eax, 0x5b
jne 0x40cd16
mov ecx, esi
call fcn.0040cba0
mov ecx, esi
call fcn.0040df20
cmp dword [esi + 0x4c], 0x5d
jne 0x40ce2b
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x40cd0a
cmp byte [eax], 0x5c
jne 0x40cd07
lea ecx, [eax + 1]
cmp ecx, edx
je 0x40cd07
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40ccf4
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40cd05
cmp bl, 0x29
je 0x40cd05
test dl, 0x10
jne 0x40cd07
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x40cd05
cmp dl, 0x7d
jne 0x40cd07
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040ba10
jmp 0x40cdfb
cmp eax, 0x28
jne 0x40cd85
mov ecx, esi
call fcn.0040cba0
mov ecx, esi
call fcn.0040e1b0
cmp dword [esi + 0x4c], 0x29
mov bh, al
jne 0x40ce1d
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x40cd74
cmp byte [eax], 0x5c
jne 0x40cd71
lea ecx, [eax + 1]
cmp ecx, edx
je 0x40cd71
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x40cd5e
mov bl, byte [ecx]
cmp bl, 0x28
je 0x40cd6f
cmp bl, 0x29
je 0x40cd6f
test dl, 0x10
jne 0x40cd71
mov dl, byte [ecx]
cmp dl, 0x7b
je 0x40cd6f
cmp dl, 0x7d
jne 0x40cd71
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0040ba10
test bh, bh
je 0x40ce02
jmp 0x40cdfb
cmp eax, 0x5e
jne 0x40cd9d
push 2
lea ecx, [esi + 0x24]
call fcn.0040ce80
mov ecx, esi
call fcn.0040cba0
jmp 0x40ce02
cmp eax, 0x24
jne 0x40cdb5
push 3
lea ecx, [esi + 0x24]
call fcn.0040ce80
mov ecx, esi
call fcn.0040cba0
jmp 0x40ce02
cmp eax, 0x2a
je 0x40ce16
cmp eax, 0x2b
je 0x40ce16
cmp eax, 0x3f
je 0x40ce16
cmp eax, 0x7b
je 0x40ce16
cmp eax, 0x7d
jne 0x40cdd9
test dword [esi + 0x50], 0x10000000
je 0x40ce24
jmp 0x40cde7
cmp eax, 0x5d
jne 0x40cde7
test dword [esi + 0x50], 0x10000000
je 0x40ce2b
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0040e460
mov ecx, esi
call fcn.0040cba0
mov ecx, esi
call fcn.0040e2c0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x40cc13
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 0xa
call fcn.0040ba00
push 5
call fcn.0040ba00
push 6
call fcn.0040ba00
push 4
call fcn.0040ba00
int3

Function at 0x425c68
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00425ade
Function at 0x401650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59df1b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x6280b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x234], 7
push eax
push 0x61d004
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00401d80
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x61d004
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00401d80
mov byte [ebp - 4], 1
mov esi, dword [0x631c3c]
test esi, esi
jne 0x40171d
push 0x120
call fcn.0041feca
mov esi, eax
add esp, 4
mov dword [ebp - 0x24c], esi
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0043a570
mov byte [ebp - 4], 1
mov dword [esi], vtable.CConfigure.0
mov dword [0x631c3c], esi
mov ecx, esi
call fcn.00423871
mov edx, eax
cmp word [edx], 0
jne 0x401730
xor ecx, ecx
jmp 0x401744
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401735
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00401d80
push 0xc
push str.GDVCDbus.exe
lea ecx, [ebp - 0x230]
call fcn.004024d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401850
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00443040
push str.7c4585
lea eax, [ebp - 0x218]
push 0x61d1d4
push eax
call fcn.004012c0
add esp, 0x18
lea ecx, [ebp - 0x248]
push 1
push 0x61d1dc
call fcn.00401d80
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402600
push 2
push 0x61d1e0
lea ecx, [ebp - 0x248]
call fcn.004024d0
cmp word [ebp - 0x218], 0
jne 0x4017fa
xor ecx, ecx
jmp 0x401812
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401803
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.004024d0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push 0
cmovae eax, dword [ebp - 0x248]
push 0x1388
push 1
push 0x61d004
push eax
call fcn.0042561a
add esp, 0x14
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x40186e
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00402340
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x4018a9
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00402340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041feb9
mov esp, ebp
pop ebp
ret
Function at 0x4018f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59df6a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6280b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x631c3c]
test esi, esi
jne 0x401956
push 0x120
call fcn.0041feca
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0043a570
mov dword [ebp - 4], 0xffffffff
mov dword [esi], vtable.CConfigure.0
mov dword [0x631c3c], esi
mov ecx, esi
call fcn.00423871
mov edx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x40197c
xor ecx, ecx
jmp 0x401990
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401981
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00401d80
push 0xb
push str.TGDmhlp.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.004024d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4019e5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push str.b959a1
push eax
call fcn.0042561a
add esp, 0x14
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4019fa
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041feb9
mov esp, ebp
pop ebp
ret