joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a070
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push 0x43afe4
push 1
push edi
push 0x43aff4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jge 0x40a0c5
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
cmp eax, edi
je 0x40a0eb
jmp 0x40a0e5
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push 0x43b004
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, edi
jge 0x40a106
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
cmp eax, edi
je 0x40a0eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x40a0ff
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
jmp 0x40a20c
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
cmp ebx, edi
je 0x40a13c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0042a4e0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
push 2
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
jge 0x40a178
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test eax, eax
je 0x40a15d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x40a171
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x40a20c
mov eax, dword [ebp - 0x14]
push 0x44e4fc
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
test ebx, ebx
jne 0x40a193
xor edi, edi
jmp 0x40a1c0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0042a4e0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x14]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
push 1
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x10]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test eax, eax
je 0x40a1f3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x40a207
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40a5a0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4371b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push 0x43afe4
push 1
push edi
push 0x43aff4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jge 0x40a5f5
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
cmp eax, edi
je 0x40a61b
jmp 0x40a615
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push 0x43b004
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, edi
jge 0x40a636
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
cmp eax, edi
je 0x40a61b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x40a62f
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
jmp 0x40a73c
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
cmp ebx, edi
je 0x40a66c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0042a4e0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
push 2
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
jge 0x40a6a8
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test eax, eax
je 0x40a68d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x40a6a1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x40a73c
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx]
test ebx, ebx
jne 0x40a6b5
xor edi, edi
jmp 0x40a6e2
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0042a4e0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x14]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x14]
push 0x44e4fc
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [ebp - 0x10]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
test eax, eax
je 0x40a723
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x40a737
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 1
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40af30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, 0x400
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], 1
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x60], 0x210
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov ecx, dword [esi + 0x3c]
mov eax, 0x439e38
cmp dword [eax], ecx
jae 0x40afa7
add eax, 4
cmp eax, 0x439ea8
jne 0x40af92
mov eax, dword [0x439ea4]
jmp 0x40afb7
cmp eax, 0x439ea8
jne 0x40afb5
mov eax, dword [0x439ea4]
jmp 0x40afb7
mov eax, dword [eax]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x40afce
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x34]
shl eax, 2
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esi + 0x34]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x30], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esi + 0x40]
mov dword [esi + 0x38], ebx
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi], 0x439ea8
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x40b4c0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
mov edx, 0x44284c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [esp + 8]
mov edi, 0x104
lea eax, [esp + 8]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x40b502
mov byte [eax], cl
inc eax
dec edi
jne 0x40b4f3
jmp 0x40b506
test edi, edi
jne 0x40b507
dec eax
lea edx, [esp + 8]
push 1
push edx
mov byte [eax], 0
call fcn.00405d80
add esp, 8
mov dword [esi + 0x24], eax
test eax, eax
je 0x40b5b3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x441110
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x24]
push 0x442838
push eax
call edi
mov ecx, dword [esi + 0x24]
push 0x442824
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 0x24]
push 0x442814
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
push 0x442808
push eax
call edi
mov ecx, dword [esi + 0x24]
push 0x4427f8
push ecx
mov dword [esi + 0x1c], eax
call edi
mov edx, dword [esi + 0x24]
push 0x4427e8
push edx
mov dword [esi + 4], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40b5b3
mov eax, dword [esi + 8]
test eax, eax
je 0x40b5b3
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40b5b3
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40b5b3
pop edi
mov eax, 1
pop esi
add esp, 0x104
ret
pop edi
xor eax, eax
pop esi
add esp, 0x104
ret

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

Disassembly:
mov edx, dword [esp + 8]
mov eax, 0x811c9dc5
test edx, edx
jbe 0x40bac2
mov ecx, dword [esp + 4]
push esi
movsx esi, byte [ecx]
imul eax, eax, 0x1000193
xor eax, esi
inc ecx
dec edx
jne 0x40bab2
pop esi
ret
Function at 0x40bad0
Capabilities:
Get file size

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 7
push 0x80
push eax
mov dword [esp + 0x20], esi
call dword [ecx + 4]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
je 0x40bc01
push ebx
push ebp
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
xor edx, edx
mov dword [ebp], eax
div edi
mov esi, eax
add esi, 2
shl esi, 4
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov ebx, eax
xor eax, eax
lea ecx, [esp + 0x18]
push eax
push ecx
push esi
push ebx
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
push 8
push edx
push 0x90073
push eax
mov dword [esp + 0x5c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40bbde
mov ecx, dword [ebp]
xor edx, edx
lea eax, [ecx + edi - 1]
div edi
mov edx, dword [esp + 0x38]
mov dword [edx], eax
shl eax, 3
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [ebx + 0xc]
xor ebp, ebp
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
cmp ecx, ebp
mov dword [esp + 0x30], ebp
jbe 0x40bbde
lea edi, [ebx + 0x10]
mov esi, dword [edi]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
sub esi, eax
je 0x40bbc3
mov eax, dword [esp + 0x10]
lea eax, [eax + ebp*8]
add ebp, esi
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
add ecx, 1
adc edx, 0
dec esi
jne 0x40bbae
mov ebx, dword [esp + 0x3c]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov edx, dword [ebx]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x30]
add edi, 0x10
inc ecx
cmp ecx, edx
mov dword [esp + 0x30], ecx
jb 0x40bb99
push ebx
call dword [sym.imp.MSVCRT.dll_free]
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x1c
ret 0x10
mov eax, esi
pop esi
add esp, 0x1c
ret 0x10

Function at 0x40be30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x110]
push 0x5c
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
mov esi, eax
test esi, esi
je 0x40bebc
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40bebc
push 0x104
lea eax, [esp + 0xc]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
add esp, 0xc
lea ecx, [esp + 8]
push 0x441e40
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
je 0x40bebc
mov edx, dword [esp + 0x114]
lea eax, [esp + 8]
push edx
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x104
ret 8
pop edi
xor eax, eax
pop esi
add esp, 0x104
ret 8
Function at 0x40c4e0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
push eax
mov edi, ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x40c593
mov eax, dword [edi + 0x108]
test eax, eax
je 0x40c515
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [edi + 0x108], eax
test eax, eax
je 0x40c593
push eax
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40c593
mov eax, dword [edi + 0x108]
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
push edx
push 0x441b4c
push eax
mov dword [esp + 0x28], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40c593
mov eax, dword [esp + 0xc]
xor edx, edx
add edi, 4
mov ecx, dword [eax]
mov dx, word [eax]
shr ecx, 0x10
push ecx
push edx
push 0x442200
push 0x104
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x40c930
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x444
push esi
push edi
mov ecx, 0xa
mov esi, 0x442920
lea edi, [esp + 0x10]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x245]
mov byte [esp + 0x244], 0
mov esi, 0x442904
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
lea edi, [esp + 0x140]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x3a
xor eax, eax
lea edi, [esp + 0x15c]
mov byte [esp + 0x3c], al
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x3d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x349]
mov byte [esp + 0x348], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x3c]
push 0x104
lea ecx, [esp + 0x144]
push eax
push ecx
mov dword [esp + 0x18], 0x104
call fcn.0040c5f0
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 0x244]
lea ecx, [esp + 0x10]
push edx
push eax
push 0
push 0x4428f8
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x40ca45
lea edx, [esp + 0x348]
push 0x104
lea eax, [esp + 0x248]
push edx
push eax
call fcn.0040c5f0
add esp, 0xc
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x348]
push 0x104
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x40ca45
pop edi
mov eax, 1
pop esi
add esp, 0x444
ret
lea eax, [esp + 0x3c]
push eax
call fcn.0040c850
add esp, 4
test eax, eax
jne 0x40ca5f
pop edi
pop esi
add esp, 0x444
ret
lea edi, [esp + 0x140]
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x144]
push ecx
push 2
push 0x4428f8
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 8]
push 4
push eax
push 4
lea ecx, [esp + 0x1c]
push 0x4428e8
mov edi, 1
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edi
call esi
lea edx, [esp + 8]
push 4
push edx
push 4
lea eax, [esp + 0x1c]
push 0x4428e0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 3
call esi
lea ecx, [esp + 8]
push 4
push ecx
push 4
lea edx, [esp + 0x1c]
push 0x4428d8
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], edi
call esi
mov eax, edi
pop edi
pop esi
add esp, 0x444
ret
Function at 0x40d930
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov eax, dword [edi + 0x64]
push esi
push esi
push 0x1004
mov eax, dword [eax + 0x20]
push eax
call ebx
test eax, eax
jle 0x40d97b
mov ecx, dword [edi + 0x64]
push esi
call sub.MFC42.DLL_CListCtrl::GetCheck
mov ebp, eax
test ebp, ebp
jne 0x40d997
mov eax, dword [edi + 0x64]
push ebp
push ebp
push 0x1004
mov ecx, dword [eax + 0x20]
inc esi
push ecx
call ebx
cmp esi, eax
jl 0x40d953
test ebp, ebp
jne 0x40d997
mov edx, dword [edi + 0x20]
push 0
push 0x44114c
push 0x4429e8
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
lea eax, [esp + 0x10]
push eax
push 0
push edi
push 0x40d5f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40d9c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov eax, dword [esi + 0x90]
push eax
call edi
test eax, eax
je case.default.0x40da1b
mov ecx, dword [esi + 0x94]
push ecx
call edi
test eax, eax
je case.default.0x40da1b
mov edx, dword [esi + 0x9c]
push edx
call edi
test eax, eax
je case.default.0x40da1b
mov eax, dword [esi + 0x98]
push eax
call edi
test eax, eax
je case.default.0x40da1b
mov eax, dword [esp + 0xc]
cmp eax, 3
ja case.default.0x40da1b
jmp dword [eax*4 + 0x40dc00]
mov ecx, dword [esi + 0x90]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ecx
call edi
mov edx, dword [esi + 0x94]
push 0
push edx
call edi
mov eax, dword [esi + 0x9c]
push 5
push eax
call edi
mov ecx, dword [esi + 0x98]
push 0
push ecx
call edi
mov edx, dword [esi + 0x98]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edx
call edi
mov eax, dword [esi + 0x9c]
push 0
push eax
call edi
mov ecx, dword [esi + 0x94]
push 0
push ecx
call edi
mov edx, dword [esi + 0x9c]
push 0x442a18
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
ret 8
mov eax, dword [esi + 0x90]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x94]
push 5
push ecx
call edi
mov edx, dword [esi + 0x9c]
push 5
push edx
call edi
mov eax, dword [esi + 0x98]
push 5
push eax
call edi
mov ecx, dword [esi + 0x98]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ecx
call edi
mov edx, dword [esi + 0x9c]
push 1
push edx
call edi
mov eax, dword [esi + 0x94]
push 1
push eax
call edi
mov ecx, dword [esi + 0x94]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x4429dc
push ecx
call edi
mov edx, dword [esi + 0x9c]
push 0x442a0c
push edx
call edi
mov eax, dword [esi + 0x98]
push 0x442a04
push eax
call edi
pop edi
pop esi
ret 8
mov ecx, dword [esi + 0x90]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call edi
mov edx, dword [esi + 0x94]
push 0
push edx
call edi
mov eax, dword [esi + 0x9c]
push 5
push eax
call edi
mov ecx, dword [esi + 0x98]
push 0
push ecx
call edi
mov edx, dword [esi + 0x9c]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x94]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x4429fc
push eax
call edi
push 0x442a18
jmp 0x40dbe3
mov eax, dword [esi + 0x94]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov ecx, dword [esi + 0x9c]
push 5
push ecx
call edi
mov edx, dword [esi + 0x98]
push 5
push edx
call edi
mov eax, dword [esi + 0x98]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x9c]
push 0
push ecx
call edi
mov edx, dword [esi + 0x94]
push 0
push edx
call edi
mov eax, dword [esi + 0x94]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x4429fc
push eax
call edi
push 0x442a0c
mov ecx, dword [esi + 0x9c]
push ecx
call edi
mov edx, dword [esi + 0x98]
push 0x442a04
push edx
call edi
pop edi
pop esi
ret 8
Function at 0x40dc70
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x104
mov eax, dword [0x442ab8]
mov dx, word [0x442ac0]
push esi
mov esi, ecx
mov ecx, dword [0x442abc]
mov dword [esp + 4], eax
mov al, byte [0x442ac2]
push edi
mov dword [esp + 0xc], ecx
mov byte [esp + 0x12], al
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x13]
mov word [esp + 0x10], dx
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push 1
push ecx
stosb byte es:[edi], al
call fcn.00405d80
add esp, 8
mov dword [esi + 0x20], eax
test eax, eax
je 0x40dd7e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x442aa8
push eax
call edi
mov edx, dword [esi + 0x20]
push 0x442a9c
push edx
mov dword [esi], eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
push 0x442a88
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0x442a74
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 0x20]
push 0x442a5c
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
push 0x442a4c
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0x442a38
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 0x20]
push 0x442a24
push edx
mov dword [esi + 0x18], eax
call edi
mov ecx, dword [esi]
mov dword [esi + 0x1c], eax
test ecx, ecx
je 0x40dd7e
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40dd7e
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x40dd7e
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40dd7e
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x40dd7e
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x40dd7e
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x40dd7e
test eax, eax
je 0x40dd7e
pop edi
mov eax, 1
pop esi
add esp, 0x104
ret
pop edi
xor eax, eax
pop esi
add esp, 0x104
ret

Function at 0x40f230
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x3e8
lea eax, [esp]
push esi
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [esp + 0x3f0]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ecx
call esi
test eax, eax
jne 0x40f26e
lea edx, [esp + 4]
push edx
call esi
xor eax, eax
pop esi
add esp, 0x3e8
ret 4
lea eax, [esp + 4]
push eax
call esi
mov eax, 1
pop esi
add esp, 0x3e8
ret 4