joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6018
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x541280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4483da
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0xc]
call fcn.00478590
push 1
push 0x600000
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004785f0
push dword [ebp + 0x14]
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0x14]
push dword [esp + 0x20]
call dword [eax + 0x34]
push eax
lea ecx, [esp + 0x10]
call fcn.00478810
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.004795f0
mov esi, dword [esp + 0x28]
xor ecx, ecx
add esp, 0x14
mov dword [esp + 0x28], 0xffffffff
test al, al
cmove esi, ecx
lea ecx, [esp + 0xc]
call fcn.004785b0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x448460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6018
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x541280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00478590
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00478680
test al, al
jne 0x4484b4
xor bl, bl
jmp 0x4484c7
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x30]
call eax
mov bl, al
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004785b0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4484f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6018
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x541280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00478590
push 1
push 0x600000
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004785f0
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x20]
call dword [eax + 0x34]
push eax
lea ecx, [esp + 0x10]
call fcn.00478810
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
call fcn.00478770
mov esi, dword [esp + 0x14]
xor ecx, ecx
test al, al
mov dword [esp + 0x28], 0xffffffff
cmove esi, ecx
lea ecx, [esp + 0xc]
call fcn.004785b0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44bf60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44bf79
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov ecx, edi
push ebx
push esi
mov byte [edi + 0x61], 1
call dword [eax + 0xe0]
mov esi, eax
test esi, esi
jne 0x44bf99
mov esi, dword [0x55888c]
test esi, esi
je 0x44bfa7
cmp esi, dword [edi + 8]
je 0x44bfa7
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
test eax, eax
je 0x44bfbd
call ebx
jmp 0x44bfc3
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 8]
call ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x240]
push 0
push dword [edi + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44c039
test esi, esi
je 0x44c039
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call dword [sym.imp.USER32.dll_GetParent]
push esi
test eax, eax
je 0x44c033
call ebx
jmp 0x44c039
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 4]
pop esi
pop ebx
cmp eax, 0x12
jne 0x44c053
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [edi + 0x64]
pop edi
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x44c05f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov eax, dword [edi + 0x64]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x455de0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f5fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x541280]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.00478590
push 1
push 0x9c4000
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.004785f0
push dword [esp + 0x18]
mov esi, dword [esp + 0x24]
push 0
push esi
call fcn.0046a400
push esi
push 2
call fcn.00479300
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov edx, dword [edi]
add eax, esi
shr ecx, 1
push ecx
push eax
mov ecx, edi
call dword [edx + 0xc]
add eax, eax
lea ecx, [esp + 0x14]
push eax
call fcn.00478810
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x1c]
call fcn.00478770
test al, al
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
setne bl
call fcn.004785b0
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x456110
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00471f10
mov eax, dword [0x541280]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x456145
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e339
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
test eax, eax
je 0x456132
push eax
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x80c], 0
push esi
mov dword [ebp - 0x1014], ecx
lea eax, [ebp - 0x1014]
xor ecx, ecx
push str._s_s
push eax
mov word [ebp - 0x1010], cx
call fcn.00443de0
add esp, 0x10
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x4561b5
lea eax, [ebp - 0x1010]
push eax
call fcn.0047aa50
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e339
mov esp, ebp
pop ebp
ret 8
xor eax, eax
push 0x800
push eax
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push eax
call fcn.0046a400
add esp, 0xc
lea eax, [ebp - 0x808]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x456218
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.00460077
add esp, 8
test eax, eax
jne 0x456218
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e339
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.0047b1b0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.0045e339
mov esp, ebp
pop ebp
ret 8
Function at 0x458620
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00471f10
mov eax, dword [0x541280]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test ecx, ecx
je 0x458780
test eax, eax
je 0x458780
push eax
push ecx
lea edx, [ebp - 0x1010]
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x1014], edx
lea eax, [ebp - 0x1014]
xor edx, edx
push str._s_s
push eax
mov word [ebp - 0x1010], dx
call fcn.00443de0
add esp, 0x10
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x4586b2
lea eax, [ebp - 0x1010]
push eax
call fcn.0047aa50
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e339
mov esp, ebp
pop ebp
ret 8
xor eax, eax
push 0x800
push eax
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push eax
call fcn.0046a400
add esp, 0xc
lea eax, [ebp - 0x808]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x458714
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.00460077
add esp, 8
test eax, eax
jne 0x458714
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e339
mov esp, ebp
pop ebp
ret 8
push ebx
push 0
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.0047b1b0
mov bl, al
add esp, 0xc
test bl, bl
je 0x45876d
push 0xffffffffffffffff
lea eax, [ebp - 0x1010]
push 0x5c
push eax
call fcn.00478a80
add esp, 0xc
test eax, eax
je 0x45876d
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x1010]
push eax
call fcn.0047a8d0
add esp, 4
test eax, eax
jne 0x45876d
lea eax, [ebp - 0x1010]
push eax
call fcn.0047aa50
add esp, 4
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045e339
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0045e339
mov esp, ebp
pop ebp
ret 8
Function at 0x458f50
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f69a7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x541280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x53aedc
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00459cf0
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.0045a450
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x55a394]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x45a120
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6a88
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x541280]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x541280]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x45a274
cmp byte [ebx + 0x45], 0
je 0x45a274
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x45a180
xor al, al
jmp 0x45a276
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x45a1c0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x45a201
dec eax
je 0x45a205
sub eax, 2
je 0x45a25b
xor bl, bl
jmp 0x45a25d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x45a23c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00461515
add esp, 0x10
cmp esi, eax
jne 0x45a1fd
cmp byte [ebx + 0x45], 0
je 0x45a25b
test esi, esi
jne 0x45a1c0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00459bb0
jmp 0x45a1c0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x45a270
push dword [esp + 0x18]
call fcn.0045e578
add esp, 4
mov al, bl
jmp 0x45a276
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0045e339
mov esp, ebp
pop ebp
ret

Function at 0x45afb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6018
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x541280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00478590
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00478640
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov bl, al
call fcn.004785b0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45b040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6018
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x541280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00478590
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00478680
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov bl, al
call fcn.004785b0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45b220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6018
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x541280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00478590
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00478640
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov bl, al
call fcn.004785b0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45b2b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6018
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x541280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00478590
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00478680
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov bl, al
call fcn.004785b0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45b3c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6018
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x541280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 8], ecx
lea ecx, [esp + 0xc]
call fcn.00478590
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [esp + 0x30], 0
push ebx
push 0
push 0
call fcn.00479440
add esp, 0x14
test eax, eax
jne 0x45b41d
xor bl, bl
jmp 0x45b460
push 1
inc eax
lea ecx, [esp + 0x10]
push eax
call fcn.004785f0
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push ebx
push dword [esp + 0x1c]
push dword [esp + 0x28]
call fcn.00479440
add esp, 0x14
lea ecx, [esp + 0xc]
push eax
call fcn.00478810
mov ecx, dword [esp + 8]
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov bl, al
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004785b0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45b490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6018
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x541280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00478590
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00478640
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov bl, al
call fcn.004785b0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45b520
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6018
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x541280]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00478590
push 0
push dword [ebp + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00478680
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov bl, al
call fcn.004785b0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45b620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x45b6d6
cmp dword [ebp + 8], 0
je 0x45b6d6
push edi
call fcn.0045b860
mov edi, eax
test edi, edi
jne 0x45b653
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov edx, dword [esi + 4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
push dword [esi + 8]
mov ecx, edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call fcn.0045c790
add esp, 0x10
test al, al
je 0x45b6bb
cmp dword [ebp - 8], 0
je 0x45b6c2
push 0x53afb4
push dword [ebp + 8]
call fcn.0046181d
mov esi, eax
add esp, 8
test esi, esi
je 0x45b6bb
push esi
push dword [ebp - 0xc]
push 1
push dword [ebp - 8]
call fcn.00461515
push esi
call fcn.00461603
add esp, 0x14
mov byte [ebp - 1], 1
mov dword [ebp - 8], 0
push edi
call fcn.0045e578
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x45b6e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x45b796
cmp dword [ebp + 8], 0
je 0x45b796
push edi
call fcn.0045b860
mov edi, eax
test edi, edi
jne 0x45b713
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov edx, dword [esi + 4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
push dword [esi + 8]
mov ecx, edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call fcn.0045c790
add esp, 0x10
test al, al
je 0x45b77b
cmp dword [ebp - 8], 0
je 0x45b782
push 0x53afb8
push dword [ebp + 8]
call fcn.0046167a
mov esi, eax
add esp, 8
test esi, esi
je 0x45b77b
push esi
push dword [ebp - 0xc]
push 1
push dword [ebp - 8]
call fcn.00461515
push esi
call fcn.00461603
add esp, 0x14
mov byte [ebp - 1], 1
mov dword [ebp - 8], 0
push edi
call fcn.0045e578
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x45c1f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push 0
push 0
push 0
push 0
mov dword [esi], vtable.swC60055.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x10], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x45c300
push 0
push 0
call fcn.00461832
add esp, 0x18
mov dword [esi + 0xc], eax
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45c290
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
mov dword [esi], vtable.swC60055.0
je 0x45c2d8
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45c2c8
push 0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45c2ed
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop esi
ret