joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401400
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
add ebp, 4
cmp dword [0x471e14], 0
jne 0x4014a5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0xc]
push str.ptmalloc__lu
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
test eax, eax
mov dword [0x471e14], eax
jne 0x40148a
push edi
lea edx, [esp + 0xc]
push edx
push ebp
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
push 0x471e14
mov ebx, eax
mov dword [esi], 1
call edi
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
pop edi
jmp 0x401494
mov ebx, dword [esp + 0x4c]
mov dword [esi], 0
cmp dword [0x471e14], 0
jne 0x4014af
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
mov ebx, dword [esp + 0x4c]
mov dword [esi], 0
mov eax, dword [0x471e14]
push ebp
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp dword [esi], 0
je 0x4014c9
mov dword [eax], ebx
pop ebp
add eax, 4
pop ebx
add esp, 0x40
ret

Function at 0x4014e0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x40
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 8]
push str.ptmalloc__lu
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov edi, eax
test edi, edi
je 0x401544
push ebx
push esi
push 4
push 0
push 0
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x40153f
mov edx, dword [esi]
push edx
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call ebx
pop esi
pop ebx
mov dword [0x471e14], 0
pop edi
add esp, 0x40
ret
Function at 0x4018e0
Capabilities:
Set thread local storage value

Disassembly:
test eax, eax
push esi
push edi
jne 0x40193d
mov eax, dword [0x471e1c]
mov esi, eax
lea ecx, [ecx]
mov ecx, 1
mov edx, esi
xchg dword [edx], ecx
test ecx, ecx
je 0x401957
mov esi, dword [esi + 0x18]
cmp esi, eax
jne 0x4018f0
mov ecx, dword [0x471e1c]
add ecx, 0x230
mov edx, 1
xchg dword [ecx], edx
test edx, edx
jne 0x4018eb
mov edx, dword [0x471e1c]
mov eax, dword [esp + 0xc]
mov dword [edx + 0x230], 0
call fcn.00401560
mov esi, eax
test esi, esi
jne 0x40196f
pop edi
pop esi
ret
mov esi, dword [eax + 0x18]
test esi, esi
jne 0x4018f0
mov edi, dword [0x471e1c]
call fcn.004013c0
mov eax, dword [0x471e1c]
pop edi
pop esi
ret
mov eax, dword [0x471e1c]
mov ecx, dword [eax + 0x22c]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
mov eax, esi
pop esi
ret
mov eax, dword [0x471e1c]
mov ecx, dword [eax + 0x22c]
push ebx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0
mov edi, esi
call fcn.004013c0
mov edi, dword [0x471e1c]
add edi, 0x230
mov ebx, eax
call fcn.004013c0
mov eax, dword [0x471e1c]
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
mov dword [eax + 0x18], esi
mov dword [eax + 0x230], 0
mov eax, ebx
neg eax
sbb eax, eax
pop ebx
not eax
pop edi
and eax, esi
pop esi
ret
Function at 0x4019d0
Capabilities:
Allocate thread local storage
Query environment variable
Set thread local storage value

Disassembly:
push ecx
cmp dword [0x471e1c], 0
mov dword [esp], 0
jne 0x401be2
push esi
push 4
lea esi, [esp + 8]
call fcn.00401400
push 0x401740
mov esi, eax
call fcn.00415fb0
add esp, 8
cmp dword [esp + 4], 0
je 0x401a57
push 4
push 0x3000
push 0x238
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x401a22
or eax, 0xffffffff
mov dword [esi], eax
push esi
mov dword [0x471e1c], eax
mov dword [eax + 0x224], 1
mov dword [eax + 0x228], 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [0x471e14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x471e1c]
jmp 0x401aa3
mov ecx, dword [esi]
push esi
mov dword [0x471e1c], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [0x471e14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x471e1c]
add dword [eax + 0x224], 1
push 0xf00
push 0xdeadbeef
call fcn.00407360
mov eax, dword [0x471e1c]
add esp, 8
cmp dword [eax + 0x228], 0
jge 0x401be1
mov ecx, dword [0x46faf8]
mov edx, dword [0x46fb00]
mov dword [0x471e18], ecx
mov ecx, dword [0x471e2c]
push edi
mov dword [0x46faf8], 0x401630
mov dword [0x46fb00], 0x401650
mov dword [0x471e2c], 0x401680
mov dword [0x471e24], edx
mov dword [0x471e20], ecx
mov dword [eax], 0
push 0
mov dword [eax + 0x18], eax
add eax, 0x20
push 0x204
push eax
call fcn.00406b00
mov edx, dword [0x471e1c]
add esp, 0xc
mov dword [edx + 0x230], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [0x471e1c]
push ecx
push eax
mov dword [ecx + 0x22c], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x471e18]
mov ecx, dword [0x471e24]
mov edx, dword [0x471e20]
mov esi, dword [sym.imp.MSVCR80.dll_getenv]
push str.MALLOC_TRIM_THRESHOLD_
mov dword [0x46faf8], eax
mov dword [0x46fb00], ecx
mov dword [0x471e2c], edx
call esi
mov edi, dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
test eax, eax
je 0x401b76
push eax
call edi
push eax
push 0xffffffffffffffff
call fcn.00407360
add esp, 0xc
push str.MALLOC_TOP_PAD_
call esi
add esp, 4
test eax, eax
jne 0x401b92
push str.MALLOC_GRANULARITY_
call esi
add esp, 4
test eax, eax
je 0x401ba0
push eax
call edi
push eax
push 0xfffffffffffffffe
call fcn.00407360
add esp, 0xc
push str.MALLOC_MMAP_THRESHOLD_
call esi
add esp, 4
test eax, eax
je 0x401bbc
push eax
call edi
push eax
push 0xfffffffffffffffd
call fcn.00407360
add esp, 0xc
push str.MALLOC_CHECK_
call esi
mov eax, dword [0x471e28]
add esp, 4
test eax, eax
pop edi
je 0x401bd2
call eax
mov eax, dword [0x471e1c]
mov dword [eax + 0x228], 1
pop esi
pop ecx
ret
Function at 0x401dc0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x46fb00]
test eax, eax
je 0x401ddb
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push ecx
push edx
call eax
add esp, 0xc
ret
push ebx
mov ebx, dword [esp + 8]
cmp ebx, 8
ja 0x401df4
mov eax, dword [esp + 0xc]
push eax
call fcn.00401c10
add esp, 4
pop ebx
ret
cmp ebx, 0x10
jae 0x401dfe
mov ebx, 0x10
mov ecx, dword [0x471e1c]
mov edx, dword [ecx + 0x22c]
push esi
push edi
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [esp + 0x14]
mov esi, eax
test esi, esi
je 0x401e2a
mov eax, 1
mov ecx, esi
xchg dword [ecx], eax
test eax, eax
je 0x401e3b
lea edx, [ebx + edi + 0x14]
push edx
mov eax, esi
call fcn.004018e0
add esp, 4
mov esi, eax
test esi, esi
jne 0x401e45
pop edi
pop esi
xor eax, eax
pop ebx
ret
cmp esi, dword [0x471e1c]
je 0x401e50
add edi, 4
push edi
lea eax, [esi + 0x28]
push ebx
push eax
call fcn.00407710
add esp, 0xc
test eax, eax
je 0x401e8e
cmp esi, dword [0x471e1c]
je 0x401e8e
mov ecx, dword [eax - 4]
test cl, 1
jne 0x401e7f
test byte [eax - 8], 1
je 0x401e7f
mov edx, 4
jmp 0x401e81
xor edx, edx
and ecx, 0xfffffff8
sub ecx, edx
mov dword [ecx + eax - 8], esi
or dword [eax - 4], 4
pop edi
mov dword [esi], 0
pop esi
pop ebx
ret

Function at 0x4055a0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
cmp dword [0x471ee0], 0
jne 0x40560e
cmp dword [0x471edc], 0
mov dword [0x471ee8], 0x40000
mov dword [0x471eec], 0x200000
mov dword [0x471ef0], 5
jne 0x4055dd
mov dword [0x471edc], 0x58585858
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
lea edx, [eax - 1]
test eax, edx
mov dword [0x471ee0], ecx
mov dword [0x471ee4], eax
jne 0x405608
lea eax, [ecx - 1]
test ecx, eax
je 0x40560e
call dword [sym.imp.MSVCR80.dll_abort]
xor eax, eax
add esp, 0x24
ret

Function at 0x409cc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x454118
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov ecx, esi
call fcn.0041c460
xor edi, edi
lea ebx, [esi + 8]
mov ecx, ebx
mov dword [esp + 0x14], edi
call fcn.00423980
fld dword [0x461f08]
mov dword [esi], 0x461e70
mov dword [ebx], 0x461e8c
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
fstp dword [esi + 0x78]
fld1
mov ecx, dword [esp + 0xc]
fstp dword [esi + 0x7c]
mov dword [esi + 0x6c], edi
fldz
mov eax, esi
fst dword [esi + 0x80]
mov dword [0x471e00], 0x461418
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
fst dword [esi + 0xa8]
mov dword [esi + 0x98], edi
fst dword [esi + 0xac]
mov dword [esi + 0x9c], edi
fstp dword [esi + 0xb0]
mov dword [esi + 0xb4], edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x420d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45116e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
mov eax, edi
cmp eax, edi
mov dword [esi], edi
mov dword [esp + 8], esi
mov dword [esi + 4], 0x10
mov dword [esi + 8], edi
je 0x420d44
mov eax, eax
add eax, eax
push eax
call fcn.00415f80
add esp, 4
mov dword [esi + 0xc], eax
jmp 0x420d47
mov dword [esi + 0xc], edi
mov eax, edi
cmp eax, edi
mov dword [esi + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x14], 0x10
mov dword [esi + 0x18], edi
je 0x420d75
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
call fcn.00415f80
add esp, 4
mov dword [esi + 0x1c], eax
jmp 0x420d78
mov dword [esi + 0x1c], edi
mov eax, edi
cmp eax, edi
mov dword [esi + 0x20], edi
mov byte [esp + 0x14], 1
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x28], edi
je 0x420da4
add eax, eax
add eax, eax
add eax, eax
push eax
call fcn.00415f80
add esp, 4
mov dword [esi + 0x2c], eax
jmp 0x420da7
mov dword [esi + 0x2c], edi
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov byte [esp + 0x14], 2
mov dword [esi + 0x30], eax
call fcn.0041f2a0
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00420380
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x42106e
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4511bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
xor eax, eax
cmp dword [esp + 0x1c], eax
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
je 0x42109c
mov dword [esi + 8], 0x456788
mov dword [esi + 4], 0x457084
mov dword [esi + 0x54], 0x455454
mov dword [esp + 0x14], eax
mov dword [esp + 4], 1
push eax
mov ecx, esi
call fcn.00441820
mov eax, dword [esi + 8]
mov dword [esi], 0x456764
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 8], 0x456744
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
lea ecx, [eax - 0x4c]
mov dword [eax + esi + 4], ecx
mov eax, dword [esp + 0x1c]
fld dword [eax]
mov ecx, dword [esp + 0xc]
fstp dword [esi + 0x20]
fld dword [eax + 4]
fstp dword [esi + 0x24]
fld dword [eax + 8]
fstp dword [esi + 0x28]
fld dword [eax + 0xc]
mov eax, esi
fstp dword [esi + 0x2c]
fld dword [esi + 0x24]
fstp dword [esp + 0x20]
fld dword [esi + 0x20]
fstp dword [esi + 0x30]
fld dword [esp + 0x20]
fstp dword [esi + 0x34]
fld dword [esi + 0x2c]
fstp dword [esp + 0x20]
fld dword [esi + 0x20]
fstp dword [esi + 0x38]
fld dword [esp + 0x20]
fstp dword [esi + 0x3c]
fld dword [esi + 0x2c]
fstp dword [esp + 0x20]
fld dword [esi + 0x28]
fstp dword [esi + 0x40]
fld dword [esp + 0x20]
fstp dword [esi + 0x44]
fld dword [esi + 0x24]
fstp dword [esp + 0x20]
fld dword [esi + 0x28]
fstp dword [esi + 0x48]
fld dword [esp + 0x20]
fstp dword [esi + 0x4c]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x42123e
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4511bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
xor eax, eax
cmp dword [esp + 0x28], eax
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
je 0x42126c
mov dword [esi + 8], 0x456788
mov dword [esi + 4], 0x457084
mov dword [esi + 0x54], 0x455454
mov dword [esp + 0x14], eax
mov dword [esp + 4], 1
push eax
mov ecx, esi
call fcn.00441820
fld dword [esp + 0x1c]
mov eax, dword [esi + 8]
mov dword [esi], 0x456764
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 8], 0x456744
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
lea ecx, [eax - 0x4c]
mov dword [eax + esi + 4], ecx
fstp dword [esi + 0x20]
fld dword [esp + 0x20]
fstp dword [esi + 0x24]
fld dword [esp + 0x24]
fstp dword [esi + 0x28]
fld dword [esp + 0x28]
fstp dword [esi + 0x2c]
fld dword [esi + 0x20]
fld dword [esi + 0x28]
fcompp
fnstsw ax
test ah, 5
jnp 0x4212cf
fld dword [esi + 0x24]
fld dword [esi + 0x2c]
fcompp
fnstsw ax
test ah, 5
jp 0x4212e7
fld dword [str._knN]
fst dword [esi + 0x20]
fstp dword [esi + 0x24]
fld dword [0x461f0c]
fst dword [esi + 0x28]
fstp dword [esi + 0x2c]
fld dword [esi + 0x24]
mov ecx, dword [esp + 0xc]
fstp dword [esp + 0x2c]
mov eax, esi
fld dword [esi + 0x20]
fstp dword [esi + 0x30]
fld dword [esp + 0x2c]
fstp dword [esi + 0x34]
fld dword [esi + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esi + 0x20]
fstp dword [esi + 0x38]
fld dword [esp + 0x2c]
fstp dword [esi + 0x3c]
fld dword [esi + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esi + 0x28]
fstp dword [esi + 0x40]
fld dword [esp + 0x2c]
fstp dword [esi + 0x44]
fld dword [esi + 0x24]
fstp dword [esp + 0x2c]
fld dword [esi + 0x28]
fstp dword [esi + 0x48]
fld dword [esp + 0x2c]
fstp dword [esi + 0x4c]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14
Function at 0x426fd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4515d8
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
mov eax, dword [esp + 0x1c]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
mov dword [esi], 0x4571a0
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
call fcn.0041ccc0
mov ecx, dword [esp + 0x30]
push ecx
mov dword [esi + 0x10], eax
call fcn.0041ccc0
mov edx, dword [esp + 0x38]
push edx
mov dword [esi + 0x14], eax
call fcn.0041ccc0
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x30]
push eax
call fcn.0041ccc0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp eax, edi
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
je 0x42705e
mov ecx, dword [0x471e40]
push eax
call fcn.0043c570
jmp 0x427061
or eax, 0xffffffff
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x42dcc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x451cf2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x30]
mov dword [esi], 0x4581a0
mov dword [esi + 0x20], 0x458184
mov dword [esi + 0x28], 0x458164
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x30], 0x458144
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 4]
lea ecx, [eax - 0x60]
mov dword [esp + 8], esi
mov dword [eax + esi + 0x2c], ecx
lea ecx, [esi + 0x44]
mov dword [esp + 0x14], 1
call fcn.0044a070
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 0
call fcn.0042d520
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0042d070
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x433720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x452438
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
mov ebp, dword [esp + 0x64]
mov eax, dword [ebp]
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x1c], edi
call fcn.0044cd20
add esp, 8
mov ebx, eax
lea esi, [edi + 0x3c]
push 0
mov ecx, esi
mov dword [esp + 0x64], 0
call fcn.0041dfa0
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0041ec70
lea ecx, [esp + 0x1c]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x1c], 0x45569c
call fcn.0041e9c0
mov edx, dword [ebp]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0044cca0
add esp, 8
mov ebx, eax
lea esi, [edi + 0x78]
push 0
mov ecx, esi
mov dword [esp + 0x64], 1
call fcn.0041dfa0
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0041ec70
lea ecx, [esp + 0x1c]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x1c], 0x45569c
call fcn.0041e9c0
mov ecx, dword [ebp]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0044cc20
add esp, 8
mov ebx, eax
lea esi, [edi + 0xb4]
push 0
mov ecx, esi
mov dword [esp + 0x64], 2
call fcn.0041dfa0
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0041ec70
lea ecx, [esp + 0x1c]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x1c], 0x45569c
call fcn.0041e9c0
mov ebx, 1
cmp dword [esp + 0x68], ebx
mov dword [esp + 0x10], ebx
jle 0x4338fa
lea ebx, [ebx]
mov esi, dword [ebp + ebx*4]
cmp byte [esi], 0x2d
mov dword [esp + 0x18], esi
jne 0x4338dc
add esi, 1
cmp byte [esi], 0x2d
je 0x433851
push 0x3d
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4338a3
mov edi, ebx
sub edi, esi
lea eax, [edi + 1]
push eax
call fcn.004079bb
push edi
mov ebp, eax
push esi
push ebp
call sub.MSVCR80.dll_memcpy
add ebx, 1
push ebx
mov esi, ebp
mov byte [edi + ebp], 0
call fcn.0041ccc0
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x80]
add esp, 0x14
mov ebx, eax
jmp 0x4338ae
push esi
call fcn.0041ccc0
add esp, 4
mov esi, eax
push 8
call fcn.00407a16
add esp, 4
test eax, eax
je 0x4338c3
mov dword [eax], esi
mov dword [eax + 4], ebx
jmp 0x4338c5
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [edi + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.00438720
mov ebx, dword [esp + 0x10]
jmp 0x4338e9
lea edx, [esp + 0x18]
push edx
lea ecx, [edi + 0x2c]
call fcn.00429a30
add ebx, 1
cmp ebx, dword [esp + 0x68]
mov dword [esp + 0x10], ebx
jl 0x433840
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 8
Function at 0x444990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x453144
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x10]
xor ebx, ebx
push edi
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
call fcn.00443fd0
mov ecx, dword [eax]
mov esi, dword [esp + 0x30]
mov dword [esi], ecx
add esp, 8
mov dword [eax], 0xffffffff
cmp dword [esi], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], 1
jne 0x444a52
push 0x144
call fcn.00407a16
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x20], 1
je 0x444a0e
push 1
push edi
mov ecx, eax
call fcn.00444800
jmp 0x444a10
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
mov byte [esp + 0x20], bl
mov dword [esi], eax
je 0x444a2f
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
mov edx, dword [eax + ecx + 4]
lea ecx, [eax + ecx + 4]
mov eax, dword [edx + 8]
call eax
mov eax, dword [esi]
cmp eax, ebx
jne 0x444a39
xor eax, eax
jmp 0x444a43
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea eax, [edx + eax + 4]
mov edx, dword [edi]
push str.iEventHandlerRegistry
push eax
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x445700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x453274
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x10]
xor ebx, ebx
push edi
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
call fcn.00414f60
mov ecx, dword [eax]
mov esi, dword [esp + 0x30]
mov dword [esi], ecx
add esp, 8
mov dword [eax], 0xffffffff
cmp dword [esi], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], 1
jne 0x4457c2
push 0xb0
call fcn.00407a16
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x20], 1
je 0x44577e
push 1
push edi
mov ecx, eax
call fcn.004455e0
jmp 0x445780
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
mov byte [esp + 0x20], bl
mov dword [esi], eax
je 0x44579f
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
mov edx, dword [eax + ecx + 4]
lea ecx, [eax + ecx + 4]
mov eax, dword [edx + 8]
call eax
mov eax, dword [esi]
cmp eax, ebx
jne 0x4457a9
xor eax, eax
jmp 0x4457b3
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea eax, [edx + eax + 4]
mov edx, dword [edi]
push str.iEventNameRegistry
push eax
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4461c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x453327
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x64]
push edi
mov dword [esi], 0
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x10], 1
je 0x44621e
mov dword [ecx], 0
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esp + 0x6c]
push 0xa
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x4463ab
push 0xa
push 0x444d
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4463a4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4463a4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4463a4
push 0x24
call fcn.00407a16
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x60], 1
je 0x44629b
push 1
push 0
mov ecx, eax
call fcn.0041ad90
mov esi, eax
jmp 0x44629d
xor esi, esi
mov dword [esp + 0x18], esi
mov edx, dword [esi]
mov edx, dword [edx]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x64], 2
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
push edi
mov byte [esp + 0x68], 3
call edx
mov edi, eax
test edi, edi
jne 0x4462e2
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0xc]
push eax
call fcn.00445bb0
jmp 0x44636a
lea ecx, [esp + 0x1c]
call fcn.00409460
mov ecx, dword [esp + 0x6c]
push edi
push ecx
lea edx, [esp + 0x24]
push str.Error_parsing_metadata_from__s:__s
mov bl, 4
push edx
mov byte [esp + 0x70], bl
call fcn.00420ee0
push 0x60
call fcn.00407a16
mov edi, eax
add esp, 0x14
mov dword [esp + 0x70], edi
test edi, edi
mov byte [esp + 0x60], 5
je 0x446338
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x1c]
call edx
push 1
push eax
mov ecx, edi
call fcn.00409970
jmp 0x44633a
xor eax, eax
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0x64], bl
mov dword [esp + 0x74], esp
call fcn.0042bdf0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 3
mov dword [esp + 0x1c], 0x45569c
call fcn.0041e9c0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
test eax, eax
mov byte [esp + 0x60], 2
je 0x446388
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi + 4]
mov eax, dword [edx + 8]
lea ecx, [ecx + esi + 4]
mov byte [esp + 0x60], 0
call eax
mov esi, dword [esp + 0x68]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x58]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret