joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4087b0
Capabilities:
Check if file exists
Enumerate processes
Get file attributes
Get process image filename

Disassembly:
push 0xffffffffffffffff
push 0x45d382
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x477564]
xor eax, esp
mov dword [esp + 0x4b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x4cc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4dc]
mov dword [esp + 0x14], 0
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], 0
mov dword [esp + 0x1c], ebp
mov byte [ebp + 4], 0
push 0
mov dword [esp + 0x4d8], 0
push 2
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
je 0x4089ee
lea eax, [esp + 0x20]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4089e7
jmp 0x408860
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x464]
push 0x463068
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x44]
push 0x46306c
push eax
call fcn.00454f92
add esp, 8
test eax, eax
je 0x4088d7
lea ecx, [esp + 0x44]
push str.pd.exe
push ecx
call fcn.00454f92
add esp, 8
test eax, eax
je 0x4088d7
lea edx, [esp + 0x44]
push str.ltm.exe
push edx
call fcn.00454f92
add esp, 8
test eax, eax
je 0x4088d7
lea eax, [esp + 0x44]
push str.nos.exe
push eax
call fcn.00454f92
add esp, 8
test eax, eax
jne 0x4089d4
mov ecx, dword [esp + 0x28]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4089b3
push 0x104
lea edx, [esp + 0x35d]
push 0
push edx
mov byte [esp + 0x364], 0
call fcn.004423c0
add esp, 0xc
push 0x104
lea eax, [esp + 0x35c]
push eax
push ebx
call sub.PSAPI.DLL_GetProcessImageFileNameA
mov edi, 0x462c9b
lea esi, [esp + 0x358]
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4089a8
push 0x104
push edx
lea eax, [esp + 0x259]
push eax
mov byte [esp + 0x25c], dl
call fcn.004423c0
lea ecx, [esp + 0x25c]
add esp, 0xc
push ecx
lea ecx, [esp + 0x35c]
call fcn.00408440
add esp, 4
lea edx, [esp + 0x250]
push 0x5c
push edx
call fcn.0043c250
add esp, 8
test eax, eax
je 0x4089a8
lea ecx, [esp + 0x250]
sub eax, ecx
mov edx, ecx
push eax
push edx
mov ecx, ebp
call fcn.004054f0
push 7
push 0x4630ac
mov eax, ebp
call fcn.004079f0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x18]
mov eax, ebp
call fcn.004055f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4089e7
push 0
push 0x462c9b
mov ecx, ebp
call fcn.004054f0
lea eax, [esp + 0x20]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x408860
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov ecx, dword [esp + 0x4cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b4]
xor ecx, esp
call fcn.0043c709
add esp, 0x4c4
ret
Function at 0x408a20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45c6bd
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x477564]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x194]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1a4]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov edx, 0xf
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x14], ebx
mov dword [esp + 0x28], ebp
mov byte [ebp + 4], bl
mov eax, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], vtable.CLmMv_struct_ns_config::_tagInterProcessParamEx_.0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
mov dword [esp + 0x1b8], eax
push 0x26
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x14], ebx
push str.897184E9_DF31_4542_A244_3CBBA1334575
mov byte [ecx + 4], bl
call fcn.004054f0
lea esi, [esp + 0x30]
call fcn.0041bd50
cmp al, bl
je 0x408b60
push 0x5b
lea eax, [esp + 0x31]
push ebx
push eax
mov byte [esp + 0x38], bl
call fcn.004423c0
push 0x104
lea ecx, [esp + 0x98]
push ebx
push ecx
call fcn.004423c0
mov esi, dword [esp + 0x34]
add esp, 0x18
cmp esi, ebx
je 0x408b03
mov ecx, 0x58
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x88]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x408b10
sub eax, edx
push eax
lea edx, [esp + 0x8c]
push edx
mov ecx, ebp
call fcn.004054f0
push 6
push str.SERVER
mov eax, ebp
call fcn.004079f0
cmp dword [ebp + 0x18], 0x10
jb 0x408b44
mov eax, dword [ebp + 4]
jmp 0x408b47
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x408b60
push ebx
push 0x462c9b
mov ecx, ebp
call fcn.004054f0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x408b6f
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x408b7e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.0043c709
add esp, 0x18c
ret
Function at 0x408bb0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45d666
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x477564]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push esi
push edi
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor ebx, ebx
call fcn.00408710
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x30]
push eax
call fcn.004087b0
add esp, 4
mov dword [esp + 0xc0], ebx
mov esi, dword [esp + 0x48]
cmp esi, 0x10
mov edi, dword [esp + 0x34]
mov eax, edi
jae 0x408c1f
lea eax, [esp + 0x34]
push eax
xor eax, eax
mov ecx, 0x462c9b
call fcn.00401050
add esp, 4
cmp eax, ebx
jne 0x408c85
xor eax, eax
cmp dword [esp + 0x44], ebx
setne al
cmp eax, ebx
jne 0x408c85
lea ecx, [esp + 0x14]
push ecx
call fcn.00408a20
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xcc], 1
call fcn.00405e10
mov byte [esp + 0xc0], bl
cmp dword [esp + 0x2c], 0x10
jb 0x408c7d
mov edx, dword [esp + 0x18]
push edx
call fcn.0043c477
add esp, 4
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x48]
cmp esi, 0x10
mov eax, edi
jae 0x408c90
lea eax, [esp + 0x34]
push eax
xor eax, eax
mov ecx, 0x462c9b
call fcn.00401050
add esp, 4
cmp eax, ebx
jne 0x408cc0
xor eax, eax
cmp dword [esp + 0x44], ebx
setne al
cmp eax, ebx
jne 0x408cc0
cmp esi, 0x10
jb 0x408d50
push edi
jmp 0x408d48
push 0x63
lea eax, [esp + 0x51]
push ebx
push eax
mov byte [esp + 0x58], bl
call fcn.004423c0
add esp, 0xc
cmp esi, 0x10
mov eax, edi
jae 0x408cdf
lea eax, [esp + 0x34]
push eax
push 0x63
lea ecx, [esp + 0x54]
push ecx
push 0x462c9b
push 0x4630e4
push 0x4630e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x408d03
sub eax, edx
push eax
lea edx, [esp + 0x50]
push edx
mov ecx, 0x478914
call fcn.004054f0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x38]
push eax
mov ecx, 0x478934
mov dword [0x478930], 0x3ef
call fcn.00405e10
cmp dword [esp + 0x48], 0x10
mov bl, 1
jb 0x408d50
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0043c477
add esp, 4
mov al, bl
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0043c709
add esp, 0xb4
ret
Function at 0x4096d0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x254
mov eax, dword [0x477564]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
mov esi, ecx
xor bl, bl
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4097a3
lea eax, [esp + 0x28]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40979c
jmp 0x409720
lea ecx, [esp + 0x4c]
push 0x463104
push ecx
call fcn.00454f92
add esp, 8
test eax, eax
je 0x409747
lea edx, [esp + 0x28]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x409720
jmp 0x40979c
mov eax, dword [esp + 0x30]
push 0xc
push str.explorer.exe
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.004054f0
mov ecx, dword [esp + 0x30]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
je 0x40979c
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
add esi, 0x20
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
cmp eax, 1
jne 0x409795
mov bl, al
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.0043c709
add esp, 0x254
ret

Function at 0x4097c0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x35c
mov eax, dword [0x477564]
xor eax, esp
mov dword [esp + 0x354], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
mov esi, ecx
mov edi, edx
xor bl, bl
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4098d2
lea eax, [esp + 0x28]
push eax
push ebp
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4098cb
lea ecx, [ecx]
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x40982c
lea ecx, [esp + 0x28]
push ecx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x409810
jmp 0x4098cb
push 0x104
lea edx, [esp + 0x25d]
push 0
push edx
mov dword [edi + 0x1c], eax
mov byte [esp + 0x264], 0
call fcn.004423c0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x268]
push 0x463130
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x270]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409870
sub eax, edx
push eax
lea edx, [esp + 0x25c]
push edx
mov ecx, edi
call fcn.004054f0
mov eax, dword [esp + 0x30]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4098cb
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x18]
push eax
add edi, 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
cmp eax, 1
jne 0x4098c4
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.0043c709
add esp, 0x35c
ret
Function at 0x40b6c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edi
xor edi, edi
mov eax, esi
call fcn.004055f0
push eax
call ebp
cmp eax, 0xffffffff
jne 0x40b714
push 0
mov eax, esi
call fcn.004055f0
push eax
call ebx
mov eax, esi
call fcn.004055f0
push eax
call ebp
cmp eax, 0xffffffff
jne 0x40b714
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
add edi, 1
cmp edi, 3
jl 0x40b6d1
pop edi
pop ebp
xor al, al
pop ebx
ret
pop edi
pop ebp
mov al, 1
pop ebx
ret
Function at 0x40b720
Capabilities:
Check if file exists
Get file attributes
Get file size
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45d628
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push edi
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push esi
mov byte [esp + 0x3b], bl
mov byte [ecx + 4], bl
call fcn.00405e10
lea eax, [esp + 0x54]
push eax
call fcn.0040b320
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x68], ebx
call fcn.00405e10
mov ebp, 0x10
mov dword [esp + 0x5c], 0xffffffff
cmp dword [esp + 0x50], ebp
jb 0x40b7a7
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0043c477
add esp, 4
cmp dword [esi + 0x18], ebp
mov edi, dword [esi + 0x14]
mov eax, edi
jb 0x40b7b6
mov eax, dword [esi + 4]
jmp 0x40b7b9
lea eax, [esi + 4]
push eax
xor eax, eax
mov ecx, 0x462c9b
call fcn.00401050
add esp, 4
cmp eax, ebx
jne 0x40b7dc
xor eax, eax
cmp edi, ebx
setne al
cmp eax, ebx
je 0x40b90f
mov dword [esp + 0x14], ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push esi
mov byte [ecx + 4], bl
call fcn.00405e10
mov ecx, dword [esp + 0x80]
call fcn.0040ef00
add esp, 0x1c
cmp al, bl
je 0x40b8f0
xor edi, edi
mov eax, esi
call fcn.004055f0
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call ebp
cmp eax, 0xffffffff
je 0x40b84b
test al, 2
je 0x40b84b
and eax, 0xfffffffd
push eax
mov eax, esi
call fcn.004055f0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add edi, 1
cmp edi, 3
jl 0x40b818
mov eax, esi
call fcn.004055f0
push eax
call ebp
cmp eax, 0xffffffff
je 0x40b8f0
test al, 2
jne 0x40b8f0
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00405e10
mov eax, dword [esp + 0x20]
xor ebp, ebp
cmp dword [esp + 0x34], 0x10
jae 0x40b894
lea eax, [esp + 0x20]
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40b8c3
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x34], 0x10
jb 0x40b8d7
mov edx, dword [esp + 0x20]
push edx
call fcn.0043c477
add esp, 4
mov eax, dword [esp + 0x64]
cmp ebp, dword [eax + 0x14]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
je 0x40b926
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 3
mov dword [esp + 0x14], eax
jl 0x40b7e0
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x50
ret
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x40d010
Capabilities:
Write file on windows

Disassembly:
cmp dword [edi + 0x1c], 0x10
push ebx
mov ebx, dword [esp + 8]
push esi
jb 0x40d021
mov eax, dword [edi + 8]
jmp 0x40d024
lea eax, [edi + 8]
push 0x463218
push eax
call fcn.0043cea8
mov esi, eax
add esp, 8
test esi, esi
je 0x40d05e
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40d040
push esi
sub eax, edx
push 1
push eax
push ebx
call fcn.0043cd62
push esi
call fcn.0043cf2d
add esp, 0x14
pop esi
mov eax, edi
pop ebx
ret 4
Function at 0x40ee10
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45b358
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x40ee55
lea eax, [esp + 0x2c]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40eeca
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.0043ba4c
mov edi, eax
add esp, 4
test edi, edi
je 0x40eec3
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
push edi
push ebx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x40eeba
cmp dword [esp + 0x10], esi
jne 0x40eeba
mov ecx, dword [esp + 0x14]
push esi
push edi
call fcn.004054f0
push edi
call fcn.0043d49c
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x40], 0x10
jb 0x40eede
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043c477
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x40ef00
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov ebx, 0x10
cmp dword [esp + 0x24], ebx
push edi
mov esi, ecx
jae 0x40ef18
lea eax, [esp + 0x14]
push 0x4632b4
push eax
call fcn.0043cea8
mov edi, eax
add esp, 8
test edi, edi
je 0x40ef6f
cmp dword [esi + 0x18], ebx
mov eax, dword [esi + 0x14]
jb 0x40ef39
mov esi, dword [esi + 4]
jmp 0x40ef3c
add esi, 4
push edi
push 1
push eax
push esi
call fcn.0043cd62
push edi
mov esi, eax
call fcn.0043cf2d
add esp, 0x14
cmp esi, 1
jne 0x40ef6f
cmp dword [esp + 0x28], ebx
jb 0x40ef69
mov eax, dword [esp + 0x14]
push eax
call fcn.0043c477
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
cmp dword [esp + 0x28], ebx
jb 0x40ef82
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0043c477
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x410230
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x477564]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
mov ebx, 0x10
cmp eax, ebx
push edi
mov byte [esp + 0x10], 0x37
mov byte [esp + 0x11], 0x58
mov byte [esp + 0x12], 0x81
mov byte [esp + 0x13], 0x77
mov byte [esp + 0x14], 0x5b
mov byte [esp + 0x15], 0xf8
mov byte [esp + 0x16], 0xa
mov byte [esp + 0x17], 0x70
mov byte [esp + 0x18], 0x66
mov byte [esp + 0x19], 0x46
mov byte [esp + 0x1a], 0x9c
mov byte [esp + 0x1b], 0xb4
mov byte [esp + 0x1c], 0xff
mov byte [esp + 0x1d], 0xa0
mov byte [esp + 0x1e], 0x9e
mov byte [esp + 0x1f], 0x97
mov byte [esp + 0x20], 3
mov byte [esp + 0x21], 0x30
mov byte [esp + 0x22], 0xb7
mov byte [esp + 0x23], 0x4e
mov byte [esp + 0x24], 0xa7
mov byte [esp + 0x25], 0x39
mov byte [esp + 0x26], 0x23
mov byte [esp + 0x27], 0x5a
mov byte [esp + 0x28], 0x64
mov byte [esp + 0x29], 0x2b
mov byte [esp + 0x2a], 0x41
mov byte [esp + 0x2b], 0x4f
mov byte [esp + 0x2c], 0x31
mov byte [esp + 0x2d], 0xce
mov byte [esp + 0x2e], 0x90
mov byte [esp + 0x2f], 0x9a
lea edi, [esi + 4]
jb 0x4102fb
mov ecx, dword [edi]
jmp 0x4102fd
mov ecx, edi
lea edx, [esp + 0x10]
cmp edx, ecx
jb 0x410334
cmp eax, ebx
jb 0x41030d
mov ecx, dword [edi]
jmp 0x41030f
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
lea ecx, [esp + 0x10]
cmp edx, ecx
jbe 0x410334
cmp eax, ebx
jb 0x410322
mov edi, dword [edi]
push ebx
lea edx, [esp + 0x14]
sub edx, edi
push edx
push esi
mov ecx, esi
call fcn.00405e10
jmp 0x41036f
cmp eax, ebx
jae 0x410344
mov eax, dword [esi + 0x14]
push eax
push ebx
mov ecx, esi
call fcn.00406530
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jb 0x41034f
mov eax, dword [edi]
jmp 0x410351
mov eax, edi
push ebx
lea edx, [esp + 0x14]
push edx
push ecx
push eax
call fcn.0043c4e6
add esp, 0x10
cmp dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
jb 0x41036b
mov edi, dword [edi]
mov byte [edi + 0x10], 0
mov ecx, dword [ebp + 0x18]
cmp ecx, ebx
lea esi, [ebp + 4]
jb 0x41037d
mov eax, dword [esi]
jmp 0x41037f
mov eax, esi
lea edx, [esp + 0x20]
cmp edx, eax
jb 0x4103c7
cmp ecx, ebx
jb 0x41038f
mov eax, dword [esi]
jmp 0x410391
mov eax, esi
mov edx, dword [ebp + 0x14]
add edx, eax
lea eax, [esp + 0x20]
cmp edx, eax
jbe 0x4103c7
cmp ecx, ebx
jb 0x4103a4
mov esi, dword [esi]
push ebx
lea ecx, [esp + 0x24]
sub ecx, esi
push ecx
push ebp
mov ecx, ebp
call fcn.00405e10
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0043c709
add esp, 0x24
ret
cmp ecx, ebx
jae 0x4103d7
mov edx, dword [ebp + 0x14]
push edx
push ebx
mov ecx, ebp
call fcn.00406530
mov ecx, dword [ebp + 0x18]
cmp ecx, ebx
jb 0x4103e2
mov eax, dword [esi]
jmp 0x4103e4
mov eax, esi
push ebx
lea edx, [esp + 0x24]
push edx
push ecx
push eax
call fcn.0043c4e6
add esp, 0x10
cmp dword [ebp + 0x18], ebx
mov dword [ebp + 0x14], ebx
jb 0x4103fe
mov esi, dword [esi]
mov ecx, dword [esp + 0x30]
pop edi
mov byte [esi + 0x10], 0
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043c709
add esp, 0x24
ret
Function at 0x410420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45e128
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x477564]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0xf
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 1
call fcn.00410230
mov ecx, dword [esp + 0x34]
mov ebp, 0x10
add esp, 4
cmp dword [esp + 0x44], ebp
mov dword [esp + 0xc], 1
jae 0x4104a4
lea ecx, [esp + 0x30]
cmp dword [esp + 0x60], ebp
mov eax, dword [esp + 0x4c]
jae 0x4104b2
lea eax, [esp + 0x4c]
push ebx
lea edx, [esp + 0x10]
push edx
push ecx
push eax
mov ecx, esi
lea edx, [esp + 0x20]
call fcn.00413cf0
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x7c], 2
call fcn.00405e10
cmp dword [esp + 0x28], ebp
jb 0x4104eb
mov eax, dword [esp + 0x14]
push eax
call fcn.0043c477
add esp, 4
cmp dword [esp + 0x44], ebp
jb 0x4104fe
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0043c477
add esp, 4
cmp dword [esp + 0x60], ebp
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x410521
mov edx, dword [esp + 0x4c]
push edx
call fcn.0043c477
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0043c709
add esp, 0x68
ret
Function at 0x410540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45e128
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x477564]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 0xf
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x70], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 1
call fcn.00410230
mov eax, dword [esp + 0x34]
mov ebp, 0x10
add esp, 4
cmp dword [esp + 0x44], ebp
mov dword [esp + 0xc], 1
jae 0x4105c4
lea eax, [esp + 0x30]
cmp dword [esp + 0x60], ebp
mov edx, dword [esp + 0x4c]
jae 0x4105d2
lea edx, [esp + 0x4c]
lea ecx, [esp + 0xc]
push ecx
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00414180
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x7c], 2
call fcn.00405e10
cmp dword [esp + 0x28], ebp
jb 0x410608
mov edx, dword [esp + 0x14]
push edx
call fcn.0043c477
add esp, 4
cmp dword [esp + 0x44], ebp
jb 0x41061b
mov eax, dword [esp + 0x30]
push eax
call fcn.0043c477
add esp, 4
cmp dword [esp + 0x60], ebp
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x41063e
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0043c477
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0043c709
add esp, 0x68
ret