joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e70
Capabilities:
Create directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414800
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x41b024]
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 edi, ecx
mov esi, edx
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x190], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x98]
cmp eax, ebx
je 0x402ece
mov ecx, dword [ebp + 8]
push ebx
push ecx
push 0x52c
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [ebp + 8], ebx
jle 0x403057
jmp 0x402ee6
mov esi, dword [ebp - 0x190]
push 0x12c
lea edx, [ebp - 0x188]
push 0
push edx
call fcn.0040c720
add esp, 0xc
test esi, esi
jne 0x402f0c
mov dword [0x41cf2c], 0x10000
jmp 0x402f31
cmp dword [esi], 1
je 0x402f1d
mov dword [0x41cf2c], 0x80000
jmp 0x402f31
mov ecx, dword [esi + 4]
push ebx
lea edx, [ebp - 0x188]
call fcn.004079c0
mov dword [0x41cf2c], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
test edi, edi
jne 0x402f47
mov edi, 0x417378
mov ecx, edi
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x402f50
sub ecx, esi
mov esi, ecx
cmp esi, 0x3f
jl 0x402f78
lea eax, [esi + 1]
push eax
push 0
mov dword [ebp - 0x58], 0
call fcn.00408f11
add esp, 8
mov dword [ebp - 0x58], eax
push esi
push edi
push eax
call fcn.00408c27
mov ecx, dword [ebp - 0x58]
add esp, 0xc
mov byte [esi + ecx], 0
push 0x417368
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00402120
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x58]
call fcn.00402120
test byte [ebp - 0x80], 0x10
je 0x402fbc
mov eax, dword [ebp - 0x58]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 0x190]
test eax, eax
jne 0x402fd2
mov dword [0x41cf2c], 0x10000
jmp 0x402ff5
cmp dword [eax], 1
je 0x402fe3
mov dword [0x41cf2c], 0x80000
jmp 0x402ff5
mov edx, dword [ebp - 0x58]
mov ecx, dword [eax + 4]
push edx
push ebx
call fcn.004080b0
mov dword [0x41cf2c], eax
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x403011
mov ecx, dword [ebp - 0x58]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x98]
test eax, eax
je 0x403030
push 0
push ebx
push 0x52d
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
cmp eax, ecx
je 0x403047
push eax
call fcn.00408c41
add esp, 4
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x402ee0
mov edi, dword [ebp - 0x18c]
mov eax, dword [edi + 0x98]
test eax, eax
je 0x403071
push 0
push 0
push 0x52e
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
cmp eax, edx
je 0x403084
push eax
call fcn.00408c41
add esp, 4
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.004084de
mov esp, ebp
pop ebp
ret 0x48
Function at 0x403a00
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x41b024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x90]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403b00
mov edx, dword [0x41cf30]
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x88], al
mov eax, dword [edx + 4]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [esi]
push eax
push ecx
push str.__s_s___mini
lea edi, [ebp - 0x8c]
call fcn.00402790
lea edx, [ebp - 0x44]
push 0xa
mov eax, edx
push str.WujiPlayer
push eax
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x44], 0
call fcn.00408c27
mov ecx, dword [ebp - 0x48]
mov byte [ecx + 0xa], 0
mov edx, dword [esi + 0x54]
add esp, 0x18
push edx
lea eax, [ebp - 0x48]
call fcn.00402120
mov edx, dword [ebp - 0x8c]
mov eax, edx
lea esi, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403aa7
mov ecx, dword [ebp - 0x90]
sub eax, esi
push eax
mov eax, dword [ebp - 0x48]
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
cmp eax, ecx
je 0x403ae7
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
cmp eax, edx
je 0x403b00
push eax
call fcn.00408c41
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004084de
mov esp, ebp
pop ebp
ret
Function at 0x403b10
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x41b024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x90]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403c10
mov edx, dword [0x41cf30]
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x88], al
mov eax, dword [edx + 8]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [esi]
push eax
push ecx
push str.__s_s___mini
lea edi, [ebp - 0x8c]
call fcn.00402790
lea edx, [ebp - 0x44]
push 6
mov eax, edx
push str.WJNews
push eax
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x44], 0
call fcn.00408c27
mov ecx, dword [ebp - 0x48]
mov byte [ecx + 6], 0
mov edx, dword [esi + 0x54]
add esp, 0x18
push edx
lea eax, [ebp - 0x48]
call fcn.00402120
mov edx, dword [ebp - 0x8c]
mov eax, edx
lea esi, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403bb7
mov ecx, dword [ebp - 0x90]
sub eax, esi
push eax
mov eax, dword [ebp - 0x48]
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
cmp eax, ecx
je 0x403bf7
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
cmp eax, edx
je 0x403c10
push eax
call fcn.00408c41
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004084de
mov esp, ebp
pop ebp
ret
Function at 0x4060c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x4060c7
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x40619d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x418bb0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x418bb0]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x418bb0]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x418bb0]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x418bb0]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x418bb0]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x418bb0]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x418bb0]
add ecx, 8
sub edx, 8
dec esi
jne 0x4060e0
pop edi
test edx, edx
je 0x4061ba
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x418bb0]
inc ecx
dec edx
jne 0x4061a1
not eax
pop esi
ret

Function at 0x406880
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ebx
imul esi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x4068b6
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4068ac
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
div ebx
pop esi
pop ebp
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x4068c7
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.0040e3b0
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret

Function at 0x4068f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x406923
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 1]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40691e
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x40694e
mov eax, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x406935
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x10]
push edi
add edx, ebx
push edx
lea eax, [ebp - 1]
push eax
call fcn.0040e3b0
add esp, 0xc
add ebx, edi
mov dword [esi + 0x18], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x406963
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x40695d
cmp byte [esi + 8], 0
je 0x40695d
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x406a00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x406a47
cmp byte [esi + 1], 0
je 0x406a4f
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebx
je 0x406a61
cmp byte [esi + 1], 0
je 0x406a55
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
sub ebx, dword [esi + 0xc]
mov dword [ebp - 4], ebx
jmp 0x406a69
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], ecx
jmp 0x406a21
xor eax, eax
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x406a69
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
mov ebx, eax
push edi
mov edi, 0xffff
mov dword [ebp - 8], edi
cmp ebx, edi
jae 0x406a7b
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.00408c7b
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x406a95
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0
cmp edi, eax
jbe 0x406ba9
jmp 0x406ab9
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
add eax, 0x400
mov dword [ebp - 0xc], edi
cmp eax, edi
ja 0x406ac8
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, dword [ebp - 0xc]
sub ebx, eax
mov dword [ebp - 0x1c], eax
cmp ebx, 0x404
jbe 0x406adf
mov ebx, 0x404
cmp byte [esi], 0
je 0x406b04
cmp byte [esi + 1], 0
je 0x406ba9
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x406b07
mov dword [esi + 0x18], eax
cmp byte [esi], 0
mov edi, ebx
je 0x406b30
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x406b2b
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x406b59
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x406b41
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp - 0x10]
push edi
add ecx, eax
push ecx
push edx
call fcn.0040e3b0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x406ba9
lea eax, [ebx - 3]
test eax, eax
jle 0x406b9d
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x406b8f
cmp byte [eax + ecx + 1], 0x4b
jne 0x406b8f
cmp byte [eax + ecx + 2], 5
jne 0x406b8f
cmp byte [eax + ecx + 3], 6
je 0x406b95
test eax, eax
jg 0x406b70
jmp 0x406b9d
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jne 0x406ba9
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x406ab0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00408c41
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4084de
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b024]
jne 0x4084e8
repz ret
jmp fcn.004095ee

Function at 0x40d215
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004096f4
and dword [ebp - 0x14], 0
cmp dword [0x41ce7c], 0
mov dword [ebp - 0x18], eax
jne 0x40d2c8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40d370
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40d370
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41ce7c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41ce80], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41ce84], eax
call edi
push eax
call esi
mov dword [0x41ce8c], eax
test eax, eax
je 0x40d2c8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41ce88], eax
mov eax, dword [0x41ce88]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40d321
cmp dword [0x41ce8c], ecx
je 0x40d321
push eax
call esi
push dword [0x41ce8c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40d321
test ebx, ebx
je 0x40d321
call edi
test eax, eax
je 0x40d318
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40d318
test byte [ebp - 8], 1
jne 0x40d321
or dword [ebp + 0x10], 0x200000
jmp 0x40d354
mov eax, dword [0x41ce80]
cmp eax, dword [ebp - 0x18]
je 0x40d354
push eax
call esi
test eax, eax
je 0x40d354
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40d354
mov eax, dword [0x41ce84]
cmp eax, dword [ebp - 0x18]
je 0x40d354
push eax
call esi
test eax, eax
je 0x40d354
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41ce7c]
call esi
test eax, eax
je 0x40d370
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40d372
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004084de
leave
ret
Function at 0x409fe0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
je 0x409fef
jne 0x409fef
mov ds, word [edx - 0x38f7ba75]
inc eax
adc byte [eax], al
add byte [eax], al
add byte [ebx + 0x41c7084d], cl
adc al, 0
add byte [eax], al
add byte [esp + eax + 0x75], dh
add cl, byte [esi + 0x8558b9a]
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0
je 0x40a009
jne 0x40a009
mov ds, word [edx - 0x38f7aa75]
add al, byte [ecx]
and eax, dword [ebp + 0x67]
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42be20
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4acf88
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x42bef3
call fcn.0042bdd0
mov ecx, dword [esi]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push 0x18
push ecx
call dword [0x5294a8]
test eax, eax
je 0x42bef3
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42bef3
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42bef3
lea ecx, [esp + 8]
call fcn.00425c48
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 1
push 0
push 0x19
push edx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0
call fcn.00425c66
mov esi, dword [esi]
push esi
call fcn.0048e1f6
test eax, eax
je 0x42beb1
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc]
push edi
push eax
push ecx
call dword [0x5293fc]
mov edx, dword [esp + 0xc]
push 0
push 0
push edx
call dword [0x5293e8]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call fcn.00425c54
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x28]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x438110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4adc38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
lea ecx, [esp + 0x14]
call fcn.00425cde
xor ebx, ebx
push ebx
mov dword [esp + 0x30], ebx
call dword [0x529490]
push eax
lea ecx, [esp + 0x18]
call fcn.00425d1a
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
push eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00437fc0
add esp, 0x14
test eax, eax
jne 0x438199
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00425ccc
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
mov ecx, dword [esp + 8]
push ebp
neg eax
sbb eax, eax
push esi
push edi
and eax, edx
push ebx
lea edx, [esp + 0x1c]
push ebx
push edx
push ebx
push ecx
push eax
mov dword [esp + 0x30], ebx
call dword [0x5294fc]
mov edi, dword [esp + 0x18]
mov ebp, eax
cmp edi, ebx
je 0x4381e6
cmp ebp, ebx
je 0x4381e6
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov esi, dword [0x52a168]
cmp eax, ebx
je 0x4381fe
push eax
call esi
add esp, 4
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x438210
push eax
call esi
add esp, 4
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x43821e
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.00425ccc
mov ecx, dword [esp + 0x30]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x43a8d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4adeb9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0048e220
xor edi, edi
mov ecx, 0x11
mov eax, 0xa
mov dword [esp + 0x14], edi
mov dword [esi + 0x28], 0x508b90
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 0x508b7c
mov dword [esi + 0x48], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], 0x508b68
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], eax
mov dword [esi], 0x508b10
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x74], 0x10aaa
mov eax, dword [esi + 0x2c]
cmp eax, edi
mov byte [esp + 0x14], 3
je 0x43a974
push eax
call fcn.004258b2
add esp, 4
mov dword [esi + 0x2c], edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], 0x7f
mov dword [esi + 0x78], 2
mov dword [esi + 0x20], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43b260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4adf68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
test ebx, ebx
push edi
mov dword [esp + 0x1c], ecx
je 0x43b28f
mov eax, dword [ebx + 4]
test eax, eax
jne 0x43b296
xor eax, eax
jmp 0x43b3e5
mov edi, dword [esp + 0x6c]
mov esi, dword [0x5293f4]
test edi, edi
jne 0x43b2b5
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x43b2b5
push eax
call esi
mov dword [esp + 0x6c], eax
mov edi, eax
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x43b306
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x43b306
test edi, edi
jle 0x43b306
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x30]
push eax
push 0
push ecx
call dword [0x5293e4]
lea edx, [esp + 0x40]
lea eax, [esp + 0x20]
push edx
push eax
call dword [0x52a36c]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, ebp
sub ecx, edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov ecx, dword [ebx + 4]
push ecx
call esi
xor edx, edx
cmp eax, edi
sete dl
xor ebx, ebx
mov dword [esp + 0x18], edx
test edi, edi
mov dword [esp + 0x14], ebx
jle 0x43b3e0
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x43b34a
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x43b34a
mov ecx, dword [esp + 0x10]
cmp dword [ecx], 0
je 0x43b3c4
mov edx, dword [esp + 0x64]
push 0
push ebx
mov eax, dword [edx + 4]
push eax
call dword [0x5293e8]
mov esi, eax
test esi, esi
je 0x43b28f
mov eax, dword [esp + 0x68]
test eax, eax
je 0x43b375
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
jmp 0x43b379
mov edi, dword [esp + 0x14]
push 1
push esi
lea ecx, [esp + 0x38]
call fcn.004372b0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push ebp
push edx
push eax
lea ecx, [esp + 0x3c]
push edi
push ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x70], 0
call fcn.0043ae00
lea ecx, [esp + 0x30]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004375a0
push esi
call dword [0x52a444]
mov edi, dword [esp + 0x6c]
inc ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
inc eax
add edx, 4
cmp eax, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x43b331
mov eax, 1
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0x18
Function at 0x43bd80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ae048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x503854
mov ecx, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0x20], 0
call fcn.004353b0
add esp, 8
test eax, eax
jne 0x43bdfe
mov dword [esp + 8], 0x50275c
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
call fcn.00425a7a
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18
push eax
lea ecx, [esp + 0xc]
call fcn.00425a80
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.0043b9c0
mov esi, eax
mov dword [esp + 8], 0x50275c
lea ecx, [esp + 8]
mov dword [esp + 0x18], 2
call fcn.00425a7a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18

Function at 0x43fe20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.0043ef10
mov ecx, eax
jmp fcn.0043feb0