joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a68f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x72bcd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004eee80
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0
call fcn.0047e1e0
xor eax, eax
mov dword [esi], 0x748fa0
mov ecx, 8
lea edi, [esi + 0x68]
rep stosd dword es:[edi], eax
mov ecx, 8
lea edi, [esi + 0x44]
rep stosd dword es:[edi], eax
mov ecx, 8
lea edi, [esi + 0x88]
rep stosd dword es:[edi], eax
mov dword [esi + 0x64], eax
lea ecx, [esi + 0xa8]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
push 1
mov ecx, esi
mov byte [esp + 0x18], 1
mov dword [esi + 4], 0x424f5250
call fcn.004eed40
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x72bd13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004eee80
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0
call fcn.0047e1e0
xor eax, eax
mov dword [esi], 0x7490e8
mov ecx, 8
lea edi, [esi + 0x68]
rep stosd dword es:[edi], eax
mov ecx, 8
lea edi, [esi + 0x44]
rep stosd dword es:[edi], eax
mov ecx, 8
lea edi, [esi + 0x88]
rep stosd dword es:[edi], eax
mov dword [esi + 0x64], eax
lea ecx, [esi + 0xa8]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
push 1
mov ecx, esi
mov byte [esp + 0x18], 1
mov dword [esi + 4], 0x41504552
call fcn.004eed40
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4a7530
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x72bd93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004ee8d0
mov dword [esi], 0x749378
xor eax, eax
mov ecx, 8
lea edi, [esi + 0x10]
rep stosd dword es:[edi], eax
mov ecx, 8
lea edi, [esi + 0x30]
rep stosd dword es:[edi], eax
lea ebp, [esi + 0x50]
mov ecx, 0x23
mov edi, ebp
rep stosd dword es:[edi], eax
push 0x18
mov dword [esp + 0x24], 0
mov dword [0x7c952c], 0x792d58
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
test ebx, ebx
mov byte [esp + 0x20], 1
je 0x4a75c9
lea ecx, [ebx + 4]
call fcn.0047e1e0
mov ecx, 6
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [0x7c952c], 0x792d40
jmp 0x4a75cb
xor ebx, ebx
xor eax, eax
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], eax
mov dword [esi + 0xdc], ebx
mov eax, ebp
mov ecx, 7
mov dword [eax], 0xffffffff
add eax, 8
dec ecx
jne 0x4a75e6
lea eax, [esi + 0x8c]
mov ecx, 8
mov edx, 0x32
mov dword [eax - 4], edx
mov dword [eax], edx
add eax, 8
dec ecx
jne 0x4a7602
mov eax, 0x3f800000
mov dword [esi + 0xd0], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xcc], eax
xor eax, eax
lea edi, [esi + 0xe8]
mov ecx, 0x3c
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
pop edi
mov dword [esi + 4], 0x45434152
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x72be08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004ee8d0
xor edi, edi
mov dword [esi], 0x7493c0
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, 0x3f800000
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov edx, dword [esi]
push edi
mov ecx, esi
mov dword [esp + 0x18], edi
mov dword [esi + 4], 0x4c494b53
call dword [edx + 0x14]
push edi
mov ecx, esi
call fcn.004eec00
push edi
mov ecx, esi
call fcn.004eee50
push 1
mov ecx, esi
call fcn.004eec70
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4aa0e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x72bea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0xc], ebx
mov dword [ebx], 0x749408
lea eax, [ebx + 0x2c]
push 0
push eax
mov dword [esp + 0x40], 0
call fcn.0047b410
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x7c6180
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
lea edx, [esp + 0x18]
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
lea edx, [ebx + 0x28]
push edx
call fcn.0047b410
add esp, 0x10
mov ecx, ebx
mov dword [esp + 0x38], 0xffffffff
call fcn.004f0ca0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x4aaea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x72bee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0xc], ebx
mov dword [ebx], 0x749548
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x7c6180
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
lea edx, [esp + 0x10]
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
lea edx, [ebx + 0x28]
push edx
mov dword [esp + 0x40], 0
call fcn.0047b410
add esp, 8
mov ecx, ebx
mov dword [esp + 0x38], 0xffffffff
call fcn.004f0ca0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x72bf88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004ee8d0
xor ebx, ebx
lea ecx, [esi + 0x280]
mov dword [esp + 0x18], ebx
call fcn.0047e1e0
mov dword [esi], 0x7497cc
xor eax, eax
lea edi, [esi + 0x10]
mov ecx, 8
rep stosd dword es:[edi], eax
lea edi, [esi + 0x30]
mov ecx, 8
rep stosd dword es:[edi], eax
lea edi, [esi + 0x50]
mov ecx, 0x50
rep stosd dword es:[edi], eax
lea edi, [esi + 0x190]
mov ecx, 0x3c
rep stosd dword es:[edi], eax
or eax, 0xffffffff
lea edi, [esi + 0x260]
mov ecx, 7
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x294], ebx
mov dword [esi + 0x298], ebx
mov dword [esi + 0x29c], ebx
pop edi
mov dword [esi + 4], 0x54434146
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4b42d0
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x108
push ebx
push ebp
mov ebp, dword [esp + 0x114]
push esi
push edi
mov edi, dword [esp + 0x120]
push 1
push eax
push edi
mov esi, ecx
push ebp
call fcn.004b4530
test al, al
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
jne 0x4b43c3
cmp dword [esi], 2
jne 0x4b43a0
push ebp
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea edx, [esp + 0x18]
push edx
call ebx
push 0x2800
lea eax, [esp + 0x18]
push 1
push eax
call dword [0x7c29e4]
add esp, 0xc
test eax, eax
mov dword [esi + 8], eax
je 0x4b4346
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4b4356
call fcn.00694100
test al, al
jne 0x4b43bd
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push str.CreateFile__s__in_CreateTES_failed_with_error:_n_s
call fcn.00477400
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi], 0xd
mov ecx, dword [esp + 0x124]
push 1
push ecx
push edi
push ebp
mov ecx, esi
call fcn.004b4530
test al, al
je 0x4b4306
jmp 0x4b43c3
mov dword [esi], 0
mov edx, dword [esi + 8]
push ebp
lea eax, [esp + 0x18]
push eax
mov dword [esi + 4], edx
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x2e
push edi
call dword [sym.imp.MSVCRT.dll_strchr]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4b440c
push edi
lea ecx, [esp + 0x18]
push ecx
mov byte [ebp], 0
call ebx
push str..tes
lea edx, [esp + 0x18]
push edx
call ebx
mov byte [ebp], 0x2e
jmp 0x4b4420
push edi
lea eax, [esp + 0x18]
push eax
call ebx
push str..tes
lea ecx, [esp + 0x18]
push ecx
call ebx
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
call ebx
mov ebp, eax
mov eax, dword [esi + 8]
xor edi, edi
cmp eax, edi
jne 0x4b44be
call ebx
sub eax, ebp
cmp eax, 0x4e20
jae 0x4b44be
lea edx, [esp + 0x14]
push edi
push edx
call fcn.0047a960
add esp, 8
test eax, eax
je 0x4b4468
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
test al, al
je 0x4b44af
push 0x2800
lea ecx, [esp + 0x18]
push 1
push ecx
call dword [0x7c29e4]
mov dword [esi + 8], eax
mov edx, dword [eax]
add esp, 0xc
mov ecx, eax
call dword [edx + 0x14]
mov ecx, dword [esi + 8]
call fcn.00694100
test al, al
jne 0x4b44ab
mov ecx, dword [esi + 8]
cmp ecx, edi
mov dword [esi], 0xd
je 0x4b44a6
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 8], edi
jmp 0x4b44b5
mov dword [esi], edi
jmp 0x4b44b5
mov dword [esi], 0xd
cmp dword [esi + 8], edi
je 0x4b4437
cmp dword [esi], 0xd
jne 0x4b44d9
mov ecx, esi
call fcn.004b47c0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x108
ret 0xc
mov dword [esi], edi
pop edi
mov dword [esi + 0x3ac], 0x3fa66666
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x108
ret 0xc
Function at 0x4b47c0
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x208
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4b47dd
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 8], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x4b48d7
push ebx
push ebp
push esi
lea ebp, [edi + 0x110]
push ebp
lea ecx, [esp + 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea esi, [edi + 0xc]
push esi
lea edx, [esp + 0x118]
push edx
call ebx
push ebp
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x2e
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4b4850
push esi
lea ecx, [esp + 0x14]
push ecx
mov byte [ebp], 0
call ebx
push str..tes
lea edx, [esp + 0x14]
push edx
call ebx
mov byte [ebp], 0x2e
jmp 0x4b4864
push esi
lea eax, [esp + 0x14]
push eax
call ebx
push str..tes
lea ecx, [esp + 0x14]
push ecx
call ebx
mov ecx, dword [edi + 4]
test ecx, ecx
pop esi
pop ebp
pop ebx
je 0x4b4874
mov edx, dword [ecx]
push 1
call dword [edx]
lea eax, [esp + 0x108]
push eax
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4b48aa
push str.Unable_to_complete_operation_due_to_failure_removing_previous_file._r_nTemp_file_remains.
mov dword [edi], 9
call fcn.00477400
add esp, 4
xor al, al
pop edi
add esp, 0x208
ret
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 8]
push edx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
test eax, eax
je 0x4b48d7
push str.Unable_to_complete_operation_due_to_failure_renaming_temp_file._r_nTemp_file_remains.
mov dword [edi], 9
call fcn.00477400
add esp, 4
mov al, 1
pop edi
add esp, 0x208
ret

Function at 0x4b48f0
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
call fcn.004b47c0
lea eax, [esi + 0x110]
push eax
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esi, 0xc
push esi
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
pop esi
add esp, 0x104
ret
Function at 0x4c1570
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x72c7f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
push ebp
push esi
mov dword [esp + 0xc], ecx
push edi
mov ecx, ebx
call dword [eax + 0x30]
test al, al
jne 0x4c15b9
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x20]
push eax
push str.Trying_to_create_reference_for_non_BoundObject__s.
call fcn.00477400
add esp, 8
xor eax, eax
jmp 0x4c170c
mov edi, dword [esp + 0x34]
test edi, edi
jne 0x4c15ec
push 0x50
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1c], edi
je 0x4c15e0
mov ecx, eax
call fcn.004e4510
jmp 0x4c15e2
xor eax, eax
mov dword [esp + 0x1c], 0xffffffff
mov edi, eax
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov ebp, dword [esp + 0x28]
mov dword [edi + 0x2c], ecx
mov edx, dword [eax + 4]
lea esi, [edi + 0x28]
mov dword [esi + 8], edx
mov eax, dword [eax + 8]
mov dword [esi + 0xc], eax
mov ecx, dword [ebp]
mov dword [esi + 0x10], ecx
mov edx, dword [ebp + 4]
mov dword [esi + 0x14], edx
mov eax, dword [ebp + 8]
mov dword [esi + 0x18], eax
push 1
mov ecx, ebx
mov dword [esi], ebx
call fcn.004eede0
push esi
mov ecx, edi
call fcn.004e75b0
cmp ebx, dword [0x7ce20c]
je 0x4c164f
cmp ebx, dword [0x7ce210]
je 0x4c164f
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
jmp 0x4c167f
push 0xb0
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1c], 1
je 0x4c1675
mov ecx, eax
call fcn.006c81e0
jmp 0x4c1677
xor eax, eax
mov dword [esp + 0x1c], 0xffffffff
mov esi, eax
test esi, esi
jne 0x4c16b2
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x48]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x20]
push eax
push str.Object___s__model___s__not_found._r_nThe_reference_will_NOT_be_added._r_n
call fcn.00477400
add esp, 0xc
test edi, edi
je 0x4c16ae
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
xor eax, eax
jmp 0x4c170c
mov al, byte [esp + 0x30]
test al, al
je 0x4c16ef
mov ecx, dword [0x7c67e0]
mov eax, dword [ecx + 0xac]
test eax, eax
jne 0x4c16e7
lea edx, [esp + 0x30]
push edx
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x40], esp
push ebp
call fcn.0040a7e0
mov ecx, dword [esp + 0x20]
call fcn.004c1730
push edi
mov ecx, eax
call fcn.004dc030
mov ecx, esi
call fcn.006eb0e0
mov ecx, esi
call fcn.006eb380
push 1
push 0
push 0
mov ecx, esi
call fcn.006eb000
mov eax, edi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x14
Function at 0x4c3f00
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebp
push 0
push 0x8000001
push 3
push 0
push 1
push DirectSoundCreate
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4c401e
push esi
push edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x4c4015
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
push edi
mov esi, eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0xc], edi
jne 0x4c4015
cmp edi, 0xf
jbe 0x4c4015
lea edx, [edi - 0xf]
xor eax, eax
test edx, edx
jbe 0x4c4015
mov cl, 0x61
cmp byte [eax + esi], 0x4e
jne 0x4c3fd9
cmp byte [eax + esi + 1], 0x69
jne 0x4c3fd9
cmp byte [eax + esi + 2], 0x52
jne 0x4c3fd9
cmp byte [eax + esi + 3], cl
jne 0x4c3fd9
cmp byte [eax + esi + 4], 0x77
jne 0x4c3fd9
cmp byte [eax + esi + 5], 0x49
jne 0x4c3fd9
cmp byte [eax + esi + 6], 0x6d
jne 0x4c3fd9
cmp byte [eax + esi + 7], cl
jne 0x4c3fd9
cmp byte [eax + esi + 8], 0x67
jne 0x4c3fd9
cmp byte [eax + esi + 9], 0x65
jne 0x4c3fd9
cmp byte [eax + esi + 0xa], 0x44
jne 0x4c3fd9
cmp byte [eax + esi + 0xb], cl
jne 0x4c3fd9
cmp byte [eax + esi + 0xc], 0x74
jne 0x4c3fd9
cmp byte [eax + esi + 0xd], cl
je 0x4c3fec
inc eax
cmp eax, edx
jb 0x4c3f7c
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov ecx, 0x7cb478
call fcn.004d51b0
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
push str.Export___s__again_without_textures_embedded._r_n
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push esi
call fcn.00477400
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ecx
ret 4
Function at 0x4db500
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x72d03a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x14], ebx
call fcn.004ee8d0
xor ebp, ebp
mov dword [esp + 0x60], ebp
mov dword [ebx + 0x14], ebp
mov dword [ebx + 0x2c], ebp
push ebp
lea ecx, [ebx + 0x30]
mov byte [esp + 0x64], 2
call fcn.004f1980
push ebp
lea ecx, [ebx + 0x40]
mov byte [esp + 0x64], 3
call fcn.004f1980
push ebp
lea ecx, [ebx + 0x58]
mov byte [esp + 0x64], 4
call fcn.004f1980
lea ecx, [ebx + 0x68]
mov byte [esp + 0x60], 5
call fcn.0047e1e0
mov dword [ebx], 0x74a0f8
xor eax, eax
lea ecx, [ebx + 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x4c], ebx
mov dword [ebx + 0x3c], ebx
mov dword [0x7c952c], 0x7a7c40
mov dword [ebx + 0x64], ebx
mov dword [ebx + 0x7c], ebp
mov dword [ebx + 0x54], ebp
mov dword [ebx + 0x84], ebp
mov dword [ebx + 0x80], ebp
mov dword [ebx + 0x50], ebp
mov dword [ebx + 4], 0x4c4c4543
mov ecx, dword [ebx + 0x2c]
cmp ecx, ebp
mov byte [esp + 0x60], 6
je 0x4db5d0
dec dword [ecx + 4]
jne 0x4db5cd
cmp ecx, ebp
je 0x4db5cd
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [ebx + 0x2c], ebp
or ecx, 0xffffffff
lea edx, [ebx + 0x10]
mov dword [ebx + 0x8c], ebp
mov dword [ebx + 0x90], ebp
mov dword [edx], ebp
xor eax, eax
mov edi, 0x7c6180
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
lea esi, [esp + 0x18]
mov dword [esp + 0x10], esi
shr ecx, 2
mov esi, edi
mov edi, dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.0047b410
mov ecx, dword [esp + 0x60]
add esp, 8
pop edi
mov dword [ebx + 0x88], ebp
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret
Function at 0x4e7b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x72d3b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
push 0xc
mov dword [esp + 0x10], edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [edi + 0x44]
add esp, 4
test ebx, ebx
mov esi, eax
je 0x4e7bc0
cmp dword [ebx], 5
je 0x4e7bda
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4e7bb4
push 0xc
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x4e7bef
push esi
mov ecx, eax
call fcn.004e52b0
mov ebx, eax
jmp 0x4e7bf1
test ebx, ebx
je 0x4e7bc0
mov eax, dword [ebx + 8]
push eax
call fcn.00727530
add esp, 4
mov dword [ebx + 8], esi
jmp 0x4e7bf9
xor ebx, ebx
push ebx
mov ecx, edi
call fcn.004e4be0
mov ecx, dword [ebx + 8]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov eax, dword [0x7ce20c]
test eax, eax
jne 0x4e7c26
mov edx, dword [0x7c67e0]
mov ecx, dword [edx]
push str.DoorMarker
call fcn.004b8b60
mov dword [0x7ce20c], eax
test eax, eax
mov dword [esp + 0x10], eax
je 0x4e7d57
mov eax, dword [ebx + 8]
push ebp
mov ecx, 0x7cb478
mov dword [eax], 0
call fcn.004d51b0
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx]
mov ebp, eax
call dword [edx + 0x20]
push eax
push str.DoorMarker
push str._s_for__s
push ebp
call dword [sym.imp.MSVCRT.dll_sprintf]
push 0x50
mov dword [0x7c952c], ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 0x14
mov dword [esp + 0x18], esi
test esi, esi
mov dword [esp + 0x24], 0
je 0x4e7cd2
mov ecx, esi
call fcn.004f0be0
xor eax, eax
mov dword [esi], 0x74a140
mov ecx, 7
lea edi, [esi + 0x28]
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [esi + 0x44], edi
mov dword [esi + 4], 0x52464552
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov ecx, dword [esi + 0x24]
cmp ecx, edi
mov byte [esp + 0x24], 1
je 0x4e7cc3
call fcn.00404630
mov dword [esi + 0x24], edi
push 1
mov ecx, esi
call fcn.004eed40
mov edi, dword [esp + 0x10]
jmp 0x4e7cd4
xor esi, esi
mov eax, dword [ebx + 8]
mov dword [eax + 8], esi
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov dword [eax + 0x38], edx
mov edx, dword [ecx + 4]
add eax, 0x28
mov dword [eax + 0x14], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
mov dword [eax], edx
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov dword [esp + 0x24], 0xffffffff
call dword [eax + 0x20]
push eax
push str.DoorMarker_for__s
push ebp
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [ebx + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
add esp, 0xc
push ebp
call dword [edx + 0x28]
mov eax, dword [ebx + 8]
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 8
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x4f1fa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x72d673
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 dword [esi], 0x74a7a4
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.MSVCRT.dll_free]
shr eax, 3
test al, 1
mov dword [esp + 0x14], 1
jne 0x4f1fe9
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4f1fe9
push eax
call edi
add esp, 4
lea ecx, [esi + 0x4c]
push 0
push ecx
call fcn.0047b410
lea edx, [esi + 0x44]
push 0
push edx
call fcn.0047b410
lea eax, [esi + 0x50]
push 0
push eax
call fcn.0047b410
mov ecx, dword [esi + 8]
shr ecx, 3
add esp, 0x18
test cl, 1
jne 0x4f2025
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4f2025
push eax
call edi
add esp, 4
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.0047e280
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004eef50
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret