joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58a050
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ecx + 8]
mov ebx, ecx
lea esi, [ebx + 0x2c]
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x6e14a0
mov dword [esp], 0x40
mov ecx, edi
call fcn.0057f500
sub esp, 4
mov byte [ebx + 0x24], 0
mov byte [ebx + 0x25], 1
mov dword [ebx + 0x28], 8
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx], 0x6e230c
mov dword [ebx + 4], 0x6e2344
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.00478890
mov dword [ebx + 0x38], eax
mov dword [esp], 0x10
mov ecx, esi
call fcn.0057ec70
sub esp, 4
lea eax, [ebx + 0x3c]
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x40], 0
mov dword [esp], 1
mov dword [ebp - 0x1c], eax
call fcn.00478890
lea ecx, [ebx + 0x3c]
mov dword [ebx + 0x48], eax
mov dword [esp], 4
call fcn.0057ec70
sub esp, 4
lea esp, [ebp - 0xc]
mov ecx, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0040e640

Function at 0x58cde0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ecx + 8]
mov ebx, ecx
lea esi, [ebx + 0x2c]
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x6e14a0
mov dword [esp], 0x40
mov ecx, edi
call fcn.0057f500
sub esp, 4
mov byte [ebx + 0x24], 1
mov byte [ebx + 0x25], 1
mov dword [ebx + 0x28], 8
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx], 0x6e2cc4
mov dword [ebx + 4], 0x6e2cfc
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.00478890
mov dword [ebx + 0x38], eax
mov dword [esp], 5
mov ecx, esi
call fcn.0057ec70
sub esp, 4
lea eax, [ebx + 0x3c]
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x40], 0
mov dword [esp], 1
mov dword [ebp - 0x1c], eax
call fcn.00478890
lea ecx, [ebx + 0x3c]
mov dword [ebx + 0x48], eax
mov dword [esp], 0x50
call fcn.0057ec70
sub esp, 4
lea esp, [ebp - 0xc]
mov ecx, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0040e820

Function at 0x58d0b0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea esi, [ecx + 8]
mov ebx, ecx
lea edi, [ebx + 0x2c]
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x6e14a0
mov dword [esp], 0x40
mov ecx, esi
call fcn.0057f500
sub esp, 4
mov byte [ebx + 0x24], 1
mov byte [ebx + 0x25], 1
mov dword [ebx + 0x28], 8
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx], 0x6e2d64
mov dword [ebx + 4], 0x6e2d9c
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.00478890
mov dword [ebx + 0x38], eax
mov dword [esp], 8
mov ecx, edi
call fcn.0057ec70
sub esp, 4
lea esp, [ebp - 0xc]
mov ecx, ebx
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0040d930
Function at 0x58d7e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp esi, 7
jbe 0x58d838
lea edx, [esi - 8]
mov ecx, dword [esp + 0x1c]
shr edx, 3
lea ebp, [edx*8 + 8]
mov edx, dword [esp + 0x18]
lea edi, [eax + ebp]
lea esi, [esi]
mov ebx, dword [edx]
xor ebx, dword [ecx]
add eax, 8
add edx, 8
add ecx, 8
mov dword [eax - 8], ebx
mov ebx, dword [edx - 4]
xor ebx, dword [ecx - 4]
mov dword [eax - 4], ebx
cmp eax, edi
jne 0x58d810
add dword [esp + 0x18], ebp
add dword [esp + 0x1c], ebp
and esi, 7
test esi, esi
je 0x58d866
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add esi, edx
lea esi, [esi]
lea edi, [edi]
movzx ecx, byte [edx]
add edx, 1
add ebx, 1
xor cl, byte [ebx - 1]
add eax, 1
mov byte [eax - 1], cl
cmp edx, esi
jne 0x58d850
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x58d870
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
cmp ebx, 7
jbe 0x58d8b9
lea edx, [ebx - 8]
shr edx, 3
lea ebp, [edx*8 + 8]
mov edx, esi
lea edi, [eax + ebp]
mov esi, esi
lea edi, [edi]
mov ecx, dword [edx]
xor dword [eax], ecx
add edx, 8
mov ecx, dword [edx - 4]
xor dword [eax + 4], ecx
add eax, 8
cmp eax, edi
jne 0x58d8a0
add esi, ebp
and ebx, 7
test ebx, ebx
je 0x58d8ce
xor edx, edx
nop
movzx ecx, byte [esi + edx]
xor byte [eax + edx], cl
add edx, 1
cmp edx, ebx
jne 0x58d8c0
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x59b910
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1a
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ebp - 0x80]
mov esi, 0x6d079d
sub esp, 0x9c
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
lea eax, [edx + 1]
mov dword [ebp - 0x8c], eax
mov eax, dword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugs__:_n]
mov dword [ebp - 0x81], eax
mov eax, dword [0x6d0801]
mov dword [ebp - 0x1c], eax
lea eax, [edx + 0x87]
rep movsd dword es:[edi], dword [esi]
and eax, 0xfffffff0
call fcn.00559808
mov ecx, 0x1a
sub esp, eax
lea esi, [ebp - 0x81]
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
lea eax, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x8c]
mov byte [ebx + eax + 0x67], 0
mov dword [esp], ebx
call fcn.0062fcd0
nop
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x662b90], 0
jne 0x59b9fd
mov byte [0x662b90], 1
call fcn.0063e760
test eax, eax
je 0x59ba41
mov ebx, dword [eax + 4]
cmp byte [ebx], 0x2a
je 0x59ba2f
lea eax, [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
call fcn.005595f0
mov dword [esp], 2
mov edi, eax
mov esi, dword [fcn.00564f30]
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sub.msvcrt.dll_fwrite
cmp dword [esp + 0x1c], 0
mov dword [esp], 2
je 0x59b9ed
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x6cf891
call sub.msvcrt.dll_fwrite
cmp dword [esp + 0x1c], 0
je 0x59ba37
call fcn.0063ec40
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x59b9b8
mov dword [esp], 2
call dword [0x661144]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
add ebx, 1
jmp 0x59b943
mov dword [esp], edi
call fcn.00564e28
jmp 0x59b9e8
mov dword [esp], 2
call dword [0x661144]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
sub edx, 1
mov dword [esp], eax
jne 0x59bae7
call fcn.0063e5d0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov dword [esp], 2
mov ebx, eax
call esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str.__what__:
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
call fcn.0063e7c0
jmp 0x59ba6e
call fcn.0063e5d0
call fcn.0063e7c0
jmp 0x59ba6e
Function at 0x642e20
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00564f30
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00564f30
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
sub esp, 0x1c
mov dword [esp + 4], 0
mov dword [esp], 0x6613c4
call sub.libwinpthread_1.dll_pthread_mutex_init
mov dword [esp], 0x4a00
mov dword [0x6613d0], 0x4a00
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [0x6613cc], eax
je 0x642ed8
mov dword [0x6613c8], eax
mov dword [eax], 0x4a00
mov dword [eax + 4], 0
mov dword [esp], 0x63f4a0
call fcn.004014c0
add esp, 0x1c
ret
mov dword [0x6613d0], 0
mov dword [0x6613c8], 0
jmp 0x642ec8

Function at 0x401206
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push edi
push 0x7f00
xor edi, edi
push edi
mov dword [ebp - 0x24], str.construct
mov dword [ebp - 0x44], 0x401000
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x4c], 0x30
call esi
push 0x7f00
push edi
mov dword [ebp - 0x34], eax
call esi
push 0x7f00
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call esi
push edi
mov dword [0x4030b0], eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x401318
push 1
push dword [0x4030b0]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push edi
push edi
call esi
push eax
push edi
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.displayed
push str.construct
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push eax
mov dword [0x4030b8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401318
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x4012fb
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420d01
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00420eb1
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x420dff
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x420da2
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x420de5
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x420db9
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x420dd4
test al, 0x40
je 0x420dcb
mov ecx, dword [edi + 0x20]
jmp 0x420dd2
test al, 0x80
je 0x420de5
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x420de5
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x420d71
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x40abf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x437cb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0xc], edi
lea eax, [esp + 0xc]
push 4
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], edi
call fcn.0040d7c0
mov eax, dword [eax]
push str..lnk
push eax
call fcn.0042a61f
mov edx, dword [0x4400a4]
add esp, 8
test eax, eax
mov eax, dword [esp + 0xc]
setne bl
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ac67
add eax, 0xfffffff4
push eax
call dword [0x43a228]
test eax, eax
jg 0x40ac67
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.004296a4
add esp, 4
test bl, bl
je 0x40ace9
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, edi
jl 0x40ac88
push ecx
mov dword [esi], eax
call dword [0x43a21c]
jmp 0x40aca6
mov ecx, dword [0x4400a0]
mov edi, eax
test eax, eax
mov dword [esi], ecx
je 0x40ac9d
push eax
call dword [0x43a224]
push edi
push eax
mov ecx, esi
call fcn.0040da40
mov eax, dword [esp + 0x28]
mov ecx, dword [0x4400a4]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x40acd5
add eax, 0xfffffff4
push eax
call dword [0x43a228]
test eax, eax
jg 0x40acd5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call fcn.004296a4
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ebp
push ecx
push edx
push eax
call fcn.0040aa30
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, edi
jl 0x40ad1f
push ecx
mov dword [ebp], eax
call dword [0x43a21c]
jmp 0x40ad74
mov ecx, dword [0x4400a0]
cmp eax, edi
mov dword [ebp], ecx
mov esi, eax
jne 0x40ad32
xor ebx, ebx
jmp 0x40ad3b
push eax
call dword [0x43a224]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040a6b0
test eax, eax
je 0x40ad74
lea eax, [ebx + ebx]
lea edx, [ebx + ebx + 2]
cmp edx, eax
jb 0x40ad65
mov edi, dword [ebp]
mov ecx, eax
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 ecx, dword [ebp]
mov dword [ecx - 8], ebx
mov edx, dword [ebp]
mov word [edx + eax], 0
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4400a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40ada3
add eax, 0xfffffff4
push eax
call dword [0x43a228]
test eax, eax
jg 0x40ada3
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.004296a4
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40b300
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
xor eax, eax
lea ecx, [esp]
mov dword [esp + 0x10], eax
push esi
xor esi, esi
mov dword [esp + 0x18], eax
push ecx
push 0x28
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
call dword [0x43a230]
push eax
call dword [0x43a004]
test eax, eax
je 0x40b397
cmp dword [esp + 4], esi
je 0x40b397
lea edx, [esp + 8]
push edx
push str.SeDebugPrivilege
push esi
call dword [0x43a008]
test eax, eax
je 0x40b38c
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push esi
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
push 0x10
push edx
push esi
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 2
call dword [section..rdata]
mov ecx, dword [esp + 4]
push ecx
call dword [0x43a210]
pop esi
add esp, 0x1c
ret

Function at 0x40b3a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov ax, word [0x444d64]
push esi
push edi
mov word [esp + 0x10], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
xor esi, esi
stosw word es:[edi], ax
push ecx
lea eax, [esp + 0xc]
push edx
push eax
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x24], 0x208
mov dword [esp + 0x20], 1
call dword [0x43a2dc]
cmp word [esp + 0x10], si
jne 0x40b435
mov eax, dword [0x444ccc]
lea ecx, [esp + 0x10]
push 0x104
push ecx
push eax
call dword [0x43a248]
test eax, eax
je 0x40b429
lea edx, [esp + 0x10]
push str.....
push edx
call dword [0x43a2e0]
cmp word [esp + 0x10], 0
je 0x40b4e4
mov esi, dword [esp + 0x224]
test esi, esi
je 0x40b47e
push esi
call fcn.0042a602
add esp, 4
test eax, eax
jbe 0x40b47e
mov ecx, dword [esp + 0x220]
mov edx, dword [esp + 0x21c]
lea eax, [esp + 0x10]
push esi
push eax
push str._s_s
push ecx
push edx
call fcn.0040dbb0
add esp, 0x14
mov eax, 1
pop edi
pop esi
add esp, 0x210
ret
mov ecx, dword [esp + 0x220]
shr ecx, 1
cmp ecx, 0x7fffffff
ja 0x40b4d6
mov eax, dword [esp + 0x21c]
mov edx, ecx
test ecx, ecx
je 0x40b4d6
lea esi, [esp + 0x10]
sub esi, eax
mov cx, word [esi + eax]
test cx, cx
je 0x40b4ca
mov word [eax], cx
add eax, 2
dec edx
jne 0x40b4a2
sub eax, 2
pop edi
pop esi
mov word [eax], 0
mov eax, 1
add esp, 0x210
ret
test edx, edx
jne 0x40b4d1
sub eax, 2
mov word [eax], 0
pop edi
mov eax, 1
pop esi
add esp, 0x210
ret
mov eax, esi
pop edi
pop esi
add esp, 0x210
ret
Function at 0x418260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438cb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 4], ebx
mov dword [esp + 0x1c], esi
mov dword [esi + 0x18], ebx
lea ecx, [esi + 0x28]
mov dword [esp + 0x2c], ebx
mov dword [esi + 0x1c], 0x43a4e8
call fcn.00426b50
mov al, byte [esp + 0x11]
lea edi, [esi + 0x74]
mov dword [esp + 0x20], edi
mov byte [edi], al
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea ecx, [esp + 0x11]
lea ebp, [edi + 0x10]
push ecx
mov ecx, ebp
mov byte [esp + 0x30], 2
call fcn.00420730
lea edx, [esp + 0x12]
lea ecx, [edi + 0x20]
push edx
mov byte [esp + 0x30], 3
mov dword [esp + 0x18], ecx
call fcn.00420860
lea eax, [esp + 0x13]
lea ecx, [edi + 0x30]
push eax
mov byte [esp + 0x30], 4
mov dword [esp + 0x1c], ecx
call fcn.00420990
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x34], 5
mov dword [edi + 0x40], ebx
call fcn.004213d0
mov ecx, ebp
call fcn.00420790
mov ecx, dword [esp + 0x14]
call fcn.004208c0
mov ecx, dword [esp + 0x18]
call fcn.004209f0
mov dl, byte [esp + 0x13]
mov al, byte [esp + 0x13]
lea ecx, [esi + 0xc0]
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov byte [esp + 0x2c], 6
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 0xc], bl
call fcn.00422e40
lea edi, [esi + 0xdc]
mov byte [esp + 0x2c], 7
mov ecx, edi
mov dword [esp + 0x20], edi
call fcn.004206b0
lea ecx, [edi + 0x24]
mov byte [esp + 0x2c], 8
mov dword [edi + 0x20], ebx
call fcn.00401990
lea ecx, [edi + 0x8c]
mov byte [esp + 0x2c], 9
call fcn.00418430
mov dword [edi], 0x43a4dc
lea ecx, [esi + 0x254]
mov byte [esp + 0x2c], 0xa
call fcn.00417350
mov cl, byte [esp + 0x13]
mov dl, byte [esp + 0x13]
mov al, byte [esp + 0x13]
mov byte [esi + 0x3c8], cl
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x3cc], ebx
mov dword [esi + 0x3d0], ebx
mov dword [esi + 0x3d4], ebx
mov byte [esi + 0x3d8], dl
mov dword [esi + 0x3dc], ebx
mov dword [esi + 0x3e0], ebx
mov dword [esi + 0x3e4], ebx
mov byte [esi + 0x3e8], al
mov dword [esi + 0x3ec], ebx
mov dword [esi + 0x3f0], ebx
mov dword [esi + 0x3f4], ebx
mov dword [esi], 0x43a4cc
mov dword [esi + 0x1c], 0x43a4c4
mov dword [esi + 0x70], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0x20], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x418dc0
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x438deb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x444ccc]
push ebx
push esi
push edi
mov edi, ecx
push 0x80
push eax
mov dword [esp + 0x1c], edi
call dword [0x43a340]
mov dword [edi + 0x24], eax
mov eax, dword [edi + 4]
test eax, eax
mov dword [esp + 0x10], 0
je 0x418e17
push 0x7fbc
push eax
call dword [0x43a34c]
mov esi, eax
jmp 0x418e19
xor esi, esi
call fcn.0040a780
test eax, eax
je 0x418e33
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x27d8
push esi
push eax
call dword [ecx + 0x20]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x418e44
mov edx, dword [edi + 0x24]
mov eax, dword [ecx]
push edx
call dword [eax + 0x24]
mov eax, dword [edi + 4]
push 0xfffffffffffffff0
push eax
call dword [0x43a3ac]
mov ecx, eax
or ecx, 0x20000
cmp eax, ecx
je 0x418e69
push ecx
mov ecx, dword [edi + 4]
push 0xfffffffffffffff0
push ecx
call dword [0x43a3f4]
mov edx, dword [0x4400a0]
mov dword [esp + 0xc], edx
mov eax, dword [0x444cb8]
mov ebx, dword [0x43a3b0]
lea ecx, [esp + 0x18]
push 0x100
mov eax, dword [eax + 8]
push ecx
push 0xefdb
push eax
mov dword [esp + 0x230], 0
call ebx
test eax, eax
jne 0x418ea7
mov word [esp + 0x18], ax
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x418ed7
lea eax, [esp + 0x18]
test eax, eax
je 0x418ec6
lea ecx, [esp + 0x18]
push ecx
call dword [0x43a224]
lea edx, [esp + 0x18]
lea ecx, [esp + 0xc]
push edx
push eax
call fcn.0040da40
jmp 0x418f3a
push 0x1ff
lea ecx, [esp + 0x10]
mov edi, 0x200
call fcn.0040a5f0
mov esi, eax
test esi, esi
je 0x418f2b
mov eax, dword [0x444cb8]
push edi
push esi
push 0xefdb
mov eax, dword [eax + 8]
push eax
call ebx
test eax, eax
jne 0x418f09
mov word [esi], ax
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x418f2b
add edi, 0x100
lea ecx, [esp + 0xc]
lea edx, [edi - 1]
push edx
call fcn.0040a5f0
mov esi, eax
test esi, esi
jne 0x418ef0
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.00403e00
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [0x43a344]
mov eax, dword [esp + 0xc]
mov ecx, dword [0x4400a4]
pop edi
pop esi
lea edx, [eax - 0xc]
pop ebx
cmp edx, ecx
je 0x418f7b
add eax, 0xfffffff4
push eax
call dword [0x43a228]
test eax, eax
jg 0x418f7b
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call fcn.004296a4
add esp, 4
mov ecx, dword [esp + 0x20c]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x218
ret
Function at 0x41c780
Capabilities:
Get file system object information

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x4bc
test edx, edx
push esi
mov esi, ecx
jne 0x41c79d
xor eax, eax
pop esi
add esp, 0x4bc
ret 4
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push edx
push eax
call dword [0x43a214]
mov ecx, 0xad
xor eax, eax
lea edi, [esp + 0x210]
push 0x100
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x214]
push 0x2b4
push ecx
lea edx, [esp + 0x14]
push eax
push edx
call dword [0x43a2a4]
mov eax, dword [esp + 0x210]
pop edi
test eax, eax
jne 0x41c809
pop esi
add esp, 0x4bc
ret 4
push eax
lea ecx, [esi + 0xdc]
call fcn.00416ee0
pop esi
add esp, 0x4bc
ret 4
Function at 0x4287e0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov dword [esi + 0x20], 0
push eax
call dword [0x43a3c4]
test eax, eax
je 0x428804
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [0x43a33c]
mov eax, 1
pop esi
ret