joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438047
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x60bc32
call fcn.00609528
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x43814b
cmp byte [ebx + 0x3d], 0
je 0x43814b
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x438085
xor al, al
jmp 0x43814d
xor eax, eax
mov dword [ebp - 0x18], 0xf
push eax
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.00413f53
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
lea eax, [ebp - 0x14]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4380e3
sub eax, 1
je 0x4380e7
dec eax
sub eax, 1
je 0x438139
xor bl, bl
jmp 0x43813b
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x14]
cmovae eax, edx
sub esi, eax
je 0x43811f
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00558d61
add esp, 0x10
cmp esi, eax
jne 0x4380df
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3d], 0
je 0x438139
test esi, esi
jne 0x4380a9
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00408eb4
jmp 0x4380a3
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040637e
mov al, bl
jmp 0x43814d
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43aa3f
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x60be37
call fcn.00609528
sub esp, 0x38
push ebx
push esi
mov esi, edx
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x14], ebx
push edi
lea eax, [esi + 4]
mov edx, str.bounds
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
lea eax, [esi + 8]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0x10]
mov dword [ebp - 0x18], eax
call fcn.0043a8cc
lea ecx, [ebp - 0x28]
mov dword [esp], 0x695838
call fcn.004064e2
lea eax, [esi + 0x18]
mov dword [ebp - 4], ebx
push eax
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0043c198
or dword [ebp - 4], 0xffffffff
pop ecx
push ebx
inc ebx
lea ecx, [ebp - 0x28]
push ebx
call fcn.0040637e
push str.action
lea ecx, [ebp - 0x28]
call fcn.004064e2
lea eax, [esi + 0x30]
mov dword [ebp - 4], ebx
push eax
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0043c198
or dword [ebp - 4], 0xffffffff
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040637e
push str.visible
lea ecx, [ebp - 0x40]
call fcn.004064e2
lea ecx, [esi + 0x14]
mov dword [ebp - 4], 2
push ecx
lea edx, [ebp - 0x40]
mov ecx, edi
call fcn.0043c37c
pop ecx
push 0
push ebx
lea ecx, [ebp - 0x40]
call fcn.0040637e
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d19a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x260
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov esi, edx
lea ecx, [esp + 0xc]
call fcn.00467617
push dword [eax + 4]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
lea eax, [esp + 0x10]
cmp dword [esp + 0xc], eax
je 0x43d1d9
push dword [esp + 0xc]
call fcn.0052c08b
pop ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43e9f8
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 4], 0
and dword [ecx], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
ret

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

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, 0x811c9dc5
call fcn.00467469
test eax, eax
je 0x43ebac
movzx ecx, byte [edi]
xor esi, ecx
inc edi
imul esi, esi, 0x1000193
sub eax, 1
jne 0x43eb9b
pop edi
mov eax, esi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
mov ecx, edi
call fcn.00467469
test eax, eax
je 0x43ebda
movzx ecx, byte [edi]
xor esi, ecx
inc edi
imul esi, esi, 0x1000193
sub eax, 1
jne 0x43ebc9
pop edi
mov eax, esi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, edx
mov esi, 0x84222325
push edi
mov edi, 0xcbf29ce4
test ebx, ebx
je 0x43ec20
movzx eax, byte [ecx]
push 0x100
cdq
xor edi, edx
xor esi, eax
push 0x1b3
push edi
inc ecx
push esi
mov dword [ebp - 4], ecx
call fcn.0052c590
mov ecx, dword [ebp - 4]
mov esi, eax
mov edi, edx
sub ebx, 1
jne 0x43ebf7
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, edx
mov ebx, 0xcbf29ce4
push edi
mov edi, 0x84222325
test esi, esi
je 0x43ec78
movzx eax, byte [ecx]
inc ecx
push eax
mov dword [esp + 0x10], ecx
call fcn.00555528
cdq
mov dword [esp], 0x100
xor edx, ebx
push 0x1b3
xor eax, edi
push edx
push eax
call fcn.0052c590
mov ecx, dword [esp + 0xc]
mov edi, eax
mov ebx, edx
sub esi, 1
jne 0x43ec45
mov eax, edi
mov edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44067a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
shr edx, 2
mov esi, 0xeeeeeeee
push edi
mov edi, ecx
test edx, edx
je 0x4406c4
push ebx
mov ebx, dword [ebp + 8]
movzx eax, bl
add esi, dword [eax*4 + 0x685950]
mov eax, ebx
not eax
shl eax, 0x15
add eax, 0x11111111
lea ecx, [esi + ebx]
imul esi, esi, 0x21
xor ecx, dword [edi]
shr ebx, 0xb
or ebx, eax
mov dword [edi], ecx
lea edi, [edi + 4]
add esi, 3
add esi, ecx
sub edx, 1
jne 0x440691
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x4406c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
shr edx, 2
mov esi, 0xeeeeeeee
push edi
mov edi, ecx
test edx, edx
je 0x440714
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [edi]
movzx eax, bl
add esi, dword [eax*4 + 0x685950]
lea eax, [esi + ebx]
imul esi, esi, 0x21
xor eax, ecx
mov dword [edi], eax
lea edi, [edi + 4]
mov eax, ebx
shr ebx, 0xb
not eax
shl eax, 0x15
add esi, 3
add eax, 0x11111111
add esi, ecx
or ebx, eax
sub edx, 1
jne 0x4406df
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x440718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edi, 0x7fed7fed
mov ecx, 0xeeeeeeee
mov al, byte [esi]
inc esi
test al, al
je 0x44075c
shl ebx, 8
movzx eax, al
add edi, ecx
imul ecx, ecx, 0x21
mov al, byte [eax + 0x684650]
movzx edx, al
add ecx, 3
add ecx, edx
lea eax, [ebx + edx]
xor edi, dword [eax*4 + 0x684950]
mov al, byte [esi]
add ecx, edi
inc esi
test al, al
jne 0x440733
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x459941
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x764
push ebx
push esi
push edi
mov edi, ecx
call fcn.00467469
inc eax
mov dword [esp + 0x368], eax
cmp eax, 0x400
ja 0x45996f
lea esi, [esp + 0x370]
jmp 0x459978
push eax
call fcn.0052c2c8
pop ecx
mov esi, eax
push 7
push str.file:__
push edi
mov dword [esp + 0x378], esi
call fcn.00544eba
add esp, 0xc
test eax, eax
sete al
mov byte [esp + 0x13], al
test al, al
je 0x4599e4
mov al, byte [edi]
lea edx, [edi + 1]
jmp 0x4599d6
cmp al, 0x25
je 0x4599ab
mov byte [esi], al
jmp 0x4599d2
mov al, byte [edx]
test al, al
je 0x4599da
mov bl, byte [edx + 1]
add edx, 2
test bl, bl
je 0x4599da
movsx eax, al
mov cl, byte [eax + 0x699350]
movsx eax, bl
shl cl, 4
or cl, byte [eax + 0x699350]
mov byte [esi], cl
mov al, byte [edx]
inc edx
inc esi
test al, al
jne 0x4599a3
mov byte [esi], 0
mov edi, dword [esp + 0x36c]
push 0x38
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00544d60
add esp, 0xc
mov dword [esp + 0x14], 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], 1
mov dword [esp + 0x20], str.open
push eax
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
add bl, 1
je 0x459a38
xor ebx, ebx
inc ebx
jmp 0x459af4
cmp byte [esp + 0x13], 0
jne 0x459af4
lea eax, [esp + 0x158]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x459af4
call fcn.00468b04
push eax
lea eax, [esp + 0x15c]
push eax
push str._sTempHTMLFile_x.html
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.00467575
add esp, 0x14
lea eax, [esp + 0x50]
push 0x6978dc
push eax
call fcn.0055a7e0
pop ecx
pop ecx
test eax, eax
je 0x459af4
push eax
call fcn.005584f2
pop ecx
lea eax, [esp + 0x260]
push eax
push 0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableA]
mov esi, eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, 0x20
seta bl
test bl, bl
je 0x459af4
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x260]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
dec eax
neg eax
sbb al, al
lea ebx, [eax + 1]
lea eax, [esp + 0x370]
cmp dword [esp + 0x36c], eax
je 0x459b11
push dword [esp + 0x36c]
call fcn.0052c08b
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459fa4
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push edi
push esi
push 3
push esi
push esi
push dword [ebp + 8]
mov dword [edi + 0x1c], esi
push edx
push dword [edi]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
jne 0x459fe2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x45a00b
push 0xffffffffffffffff
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 2
push ebx
call esi
push 4
lea eax, [ebp - 4]
push eax
push 6
push ebx
call esi
mov esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
Function at 0x45a6bb
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
mov eax, 0x61021e
call fcn.00609528
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [edi], vtable.Blizzard::URL::MultiServerCallback.0
mov dword [edi + 4], esi
call fcn.00464079
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x18]
mov byte [edi + 0xc], 1
mov dword [edi + 0x10], 2
mov dword [edi + 0x14], ebx
call fcn.004064e2
push dword [ebp + 0x10]
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.004064e2
mov byte [ebp - 4], 3
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.004064e2
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 4
mov dword [edi + 0x60], eax
call fcn.00468a59
lea esi, [edi + 0x78]
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], edx
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov dword [ebp + 8], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00414a0f
mov dword [esi], eax
mov ecx, dword [edi + 0x60]
add ecx, 4
call fcn.00464063
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x45b0a2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 0x714774
mov edi, edx
mov dword [ebp - 4], ecx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x45b12d
push ebx
push str.psapi.dll
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], 1
push eax
push 0x45af60
push esi
push esi
mov dword [ebp - 0xc], 0x7623cc
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x45b121
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
test ebx, ebx
je 0x45b12c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
push 0x714774
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45b418
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, ecx
push edi
push str.Errors
mov edi, 0x104
mov ecx, dword [esi + 0x24]
mov edx, edi
lea eax, [ecx + 0xa04]
add ecx, 0xb88
push eax
call fcn.00466c8b
mov eax, dword [esi + 0x24]
mov edx, edi
push ecx
add eax, 0xb88
lea ecx, [ebp - 0x208]
push eax
call fcn.00467835
add esp, 0x10
lea eax, [ebp - 0x208]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x45b4b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x45b485
cmp eax, 5
jne 0x45b49b
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45b49b
test al, 0x10
jne 0x45b4b3
mov ecx, dword [esi + 0x24]
push edi
lea edx, [ecx + 0xa04]
add ecx, 0xb88
call fcn.00467299
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45b507
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov eax, edx
mov dword [ebp - 8], ecx
push esi
push edi
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.00467469
mov edi, eax
lea eax, [edi*2 + 4]
call fcn.0052c640
mov esi, esp
xor bl, bl
push 2
xor edx, edx
pop ecx
mov word [esi], 0xa0d
test edi, edi
je 0x45b561
mov eax, dword [ebp - 4]
mov al, byte [edx + eax]
cmp al, 0xa
jne 0x45b552
cmp bl, 0xd
je 0x45b552
mov byte [ecx + esi], 0xd
inc ecx
mov byte [ecx + esi], al
mov bl, al
inc ecx
inc edx
cmp edx, edi
jb 0x45b53e
cmp al, 0xa
je 0x45b56a
mov word [ecx + esi], 0xa0d
add ecx, 2
push 0
lea eax, [ebp - 4]
mov byte [ecx + esi], 0
push eax
push ecx
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c4e6
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x718fb0]
sub esp, 0x14
push edi
mov edi, ecx
test eax, eax
je 0x45c507
push edi
call eax
pop ecx
test al, al
je 0x45c507
mov al, 1
jmp 0x45c686
mov eax, dword [0x718fbc]
test eax, eax
je 0x45c514
push edi
call eax
pop ecx
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x45c53f
push ecx
lea eax, [ecx + 0xa04]
mov edx, 0x104
push eax
lea eax, [ecx + 0xb08]
add ecx, 0x900
push 0x40
push eax
call fcn.0045e06c
add esp, 0x10
cmp dword [edi + 8], 1
jne 0x45c54c
mov ecx, edi
call fcn.0045c353
push esi
mov esi, dword [edi + 0x24]
lea eax, [ebp - 0x14]
push eax
add esi, 0xb48
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push str._04d__02d__02d__02d._02d._02d
push 0x40
push esi
call fcn.0045e03b
add esp, 0x24
mov ecx, edi
call fcn.0045b418
mov edx, dword [edi + 0x24]
sub edx, 0xffffff80
cmp byte [edx], 0
jne 0x45c5dd
mov ecx, dword [edi + 0x10]
mov eax, ecx
sub eax, 0x13370001
je 0x45c5bf
sub eax, 1
je 0x45c5b8
mov eax, str.Unknown_Error
jmp 0x45c5c4
mov eax, str.Assertion_Failure
jmp 0x45c5c4
mov eax, str.Fatal_Exception
push eax
push ecx
movzx eax, cx
push eax
push str.ERROR__u__0x_08x___s
push 0x80
push edx
call fcn.0045e03b
add esp, 0x18
mov eax, dword [0x718fb4]
test eax, eax
je 0x45c5ea
push edi
call eax
pop ecx
mov ecx, edi
call fcn.0045b386
push dword [edi + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call esi
push 0x6938c4
call esi
mov eax, dword [0x718fb8]
test eax, eax
je 0x45c610
push edi
call eax
pop ecx
mov ecx, edi
call fcn.0045b290
xor esi, esi
cmp dword [0x714298], esi
jle 0x45c64c
mov eax, dword [esi*8 + 0x7143b4]
test eax, eax
je 0x45c643
push edi
call eax
pop ecx
test al, al
je 0x45c643
mov eax, dword [esi*8 + 0x7143b0]
test eax, eax
je 0x45c643
push edi
call eax
pop ecx
inc esi
cmp esi, dword [0x714298]
jl 0x45c621
mov edi, dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jns 0x45c679
lea eax, [ebp - 4]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x45c679
cmp dword [ebp - 4], 0x103
jne 0x45c683
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor al, al
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x45c7d4
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
push 0x104
mov eax, edx
mov edi, ecx
push str._unknown_
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push 0x1c
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x45c8b7
push esi
mov esi, dword [ebp - 0x1c]
test esi, esi
jne 0x45c826
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push 0x104
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45c84e
push 0x104
push str._unknown_
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x45c8b6
test esi, esi
je 0x45c8b6
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x45c8b6
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45c8b6
lea edx, [eax + esi]
cmp dword [edx], 0x4550
jne 0x45c8b6
movzx eax, word [edx + 0x14]
lea ecx, [edx + 0x18]
sub edi, esi
add ecx, eax
movzx esi, word [edx + 6]
test esi, esi
je 0x45c8b6
mov edx, dword [ecx + 0xc]
cmp edi, edx
jb 0x45c89d
mov eax, dword [ecx + 0x10]
cmp eax, dword [ecx + 8]
sbb eax, eax
and eax, 0xfffffff8
mov eax, dword [eax + ecx + 0x10]
add eax, edx
cmp edi, eax
jbe 0x45c8a7
inc ebx
add ecx, 0x28
cmp ebx, esi
jb 0x45c881
jmp 0x45c8b6
mov ecx, dword [ebp + 0xc]
lea eax, [ebx + 1]
sub edi, edx
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45cb6e
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push ebx
push esi
lea eax, [ebp - 4]
mov esi, 0x101
push eax
lea eax, [ebp - 0x30c]
mov dword [ebp - 4], esi
push eax
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x45cbb6
push ecx
push 0
lea eax, [ebp - 0x30c]
mov edx, esi
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x108]
call fcn.004676ba
add esp, 0x10
jmp 0x45cbc7
push edi
mov esi, str._unknown_
lea edi, [ebp - 0x108]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
mov eax, dword [ebx]
lea ecx, [ebp - 0x108]
push ecx
push str.User:
push str.__10s_s
push ebx
call dword [eax + 4]
add esp, 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cbe7
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x34]
mov ebx, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x45cc22
push ecx
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push eax
push 0x10
pop edx
lea ecx, [ebp - 0x14]
call fcn.004676ba
add esp, 0x10
jmp 0x45cc32
push esi
push edi
mov esi, str._unknown_
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push str.Computer:
push str.__10s_s
push ebx
call dword [eax + 4]
add esp, 0x10
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45cfd6
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
push eax
push 4
mov dword [ebp - 4], ecx
mov dword [esi], eax
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x45d058
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x45d051
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp + 8], eax
jmp 0x45d042
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x45d042
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x14], eax
jne 0x45d042
mov eax, dword [esi]
cmp eax, 0x80
jae 0x45d040
mov edx, dword [ebp - 4]
mov dword [edx + eax*4], ecx
inc eax
mov dword [esi], eax
inc dword [ebx]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x45d01f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
jne 0x45d06f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
xor eax, eax
inc eax
mov dword [esi], eax
mov dword [ebx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e17c
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x45e188
mov al, 1
pop esi
ret
cmp byte [esi + 4], 0
je 0x45e192
xor al, al
pop esi
ret
push ebx
push edi
mov ebx, 0x714778
mov byte [esi + 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45e2b6
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.StackWalk64
push edi
call ebx
mov dword [esi + 8], eax
test eax, eax
je 0x45e2aa
push str.SymFunctionTableAccess64
push edi
call ebx
mov dword [esi + 0xc], eax
test eax, eax
je 0x45e2aa
push str.SymGetLineFromAddr64
push edi
call ebx
mov dword [esi + 0x10], eax
test eax, eax
je 0x45e2aa
push str.SymGetModuleBase64
push edi
call ebx
mov dword [esi + 0x14], eax
test eax, eax
je 0x45e2aa
push str.SymGetModuleInfo64
push edi
call ebx
mov dword [esi + 0x18], eax
test eax, eax
je 0x45e2aa
push str.SymGetOptions
push edi
call ebx
mov dword [esi + 0x1c], eax
test eax, eax
je 0x45e2aa
push str.SymGetSymFromAddr64
push edi
call ebx
mov dword [esi + 0x20], eax
test eax, eax
je 0x45e2aa
push str.SymInitialize
push edi
call ebx
mov dword [esi + 0x24], eax
test eax, eax
je 0x45e2aa
push str.SymCleanup
push edi
call ebx
mov dword [esi + 0x28], eax
test eax, eax
je 0x45e2aa
push str.SymSetOptions
push edi
call ebx
mov dword [esi + 0x2c], eax
test eax, eax
je 0x45e2aa
push str.SymEnumerateModules64
push edi
call ebx
mov dword [esi + 0x30], eax
test eax, eax
je 0x45e2aa
push str.SymEnumerateSymbols64
push edi
call ebx
mov dword [esi + 0x34], eax
test eax, eax
je 0x45e2aa
push str.MiniDumpWriteDump
push edi
call ebx
push 0x714778
mov dword [esi + 0x38], eax
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x45e2cd
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, 0x714778
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and dword [0x714778], 0
xor al, al
pop edi
pop ebx
pop esi
ret