joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471da0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4f9dcf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x24]
push edi
mov dword [esp + 0x10], 0
call fcn.00471430
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x471df8
mov esi, dword [esp + 0x20]
push 0x536e9c
mov ecx, esi
call fcn.004dfafb
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea eax, [ebx + 1]
push ebp
push eax
call fcn.004e3833
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
jle 0x471e36
mov cl, byte [eax + ebp]
xor cl, 0xc8
mov byte [eax + ebp], cl
inc eax
cmp eax, ebx
jl 0x471e28
push ebp
lea ecx, [esp + 0x2c]
mov byte [eax + ebp], 0
call fcn.004dfafb
mov edi, 1
push ebp
mov dword [esp + 0x20], edi
call fcn.004e385c
mov esi, dword [esp + 0x28]
add esp, 4
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.004df802
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], edi
mov byte [esp + 0x1c], 0
call fcn.004dfa8d
mov ecx, dword [esp + 0x14]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4fa188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
push 0xffffffffffffffff
mov esi, ecx
push 0xffffffffffffffff
push 1
push ecx
mov dword [esp + 0x18], esi
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004dcd0c
mov ecx, esi
call fcn.00474610
mov eax, dword [0x52ef38]
mov edx, dword [esp + 0x28]
xor edi, edi
mov ecx, eax
inc eax
mov dword [esp + 0x18], edi
mov dword [0x52ef38], eax
mov eax, dword [esp + 0x2c]
mov dword [esi], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xc], edx
lea edx, [esp + 0x24]
push edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call fcn.004dcd0c
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], eax
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x14
Function at 0x475300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fa2d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
lea ebx, [esi + 8]
push ebx
call dword [0x5042e0]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0xc]
lea edi, [esi + 0x2c]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x14], eax
call fcn.00475930
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x47540b
lea eax, [ecx + 0x10]
mov dword [esp + 0x1c], eax
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x47540b
mov ecx, 1
mov dword [eax + 0x24], ecx
mov dword [esi + 0x3c], ecx
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x4753e3
push ebp
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
push 0x32
mov ecx, esi
call fcn.00475010
push ebx
call dword [0x5042e0]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esi + 0x30]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ecx
push edx
mov ecx, edi
call fcn.00476070
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], eax
cmp eax, ecx
je 0x4753cb
mov edx, dword [esp + 0x10]
cmp edx, dword [eax + 0xc]
jl 0x4753cb
lea eax, [esp + 0x18]
jmp 0x4753d3
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x1c]
cmp dword [eax], ebp
je 0x4753e2
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x28]
test ecx, ecx
jne 0x475383
pop ebp
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call dword [edx + 0x14]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x4a83d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ff708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x78]
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], esi
lea eax, [esi + 8]
push eax
call dword [0x5042e0]
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x30], 1
call fcn.004df802
lea ecx, [edi + 0x2fc]
call fcn.00456e40
test eax, eax
jne 0x4a845d
mov byte [esp + 0x28], al
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.004dfa8d
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 4
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004df802
mov ecx, 0x538ce8
call fcn.00468300
lea eax, [esp + 0x14]
push 0x138
push eax
call fcn.0045e9f0
mov ebp, eax
lea ecx, [esp + 0x18]
push 0x133
push ecx
mov byte [esp + 0x38], 2
call fcn.0045e9f0
add esp, 0x10
push ebp
lea edx, [esp + 0x10]
push eax
push edx
mov byte [esp + 0x34], 3
call fcn.004dfcbc
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 6
call fcn.004dfa8d
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 5
call fcn.004dfa8d
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004df802
push 2
mov ecx, 0x538ce8
call fcn.00465100
mov ecx, dword [edi + 0xc]
push 1
push 2
push 0x350a
push ecx
call dword [0x504600]
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.004dfa8d
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x28], 0
call dword [edx + 0x14]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.004dfa8d
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebp
add esp, 0x20
ret 4

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ffb28
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, ecx
mov ebx, dword [esi + 0x58]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00409480
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x4c]
mov eax, dword [eax]
push ecx
mov ecx, dword [esi + 0x74]
push edx
push ecx
push ebx
push eax
push 0x52f900
push edi
mov dword [esp + 0x30], 0
call fcn.004dc9ee
add esp, 0x1c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.004dfa8d
mov ecx, edi
call fcn.004dffa1
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x4ab790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ffb8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 0xc], esi
lea ebp, [esi + 0xc]
push edi
mov ecx, ebp
call fcn.004c227c
lea eax, [ebp + 8]
mov dword [ebp], 0x5092c8
push eax
call dword [0x5042e8]
lea ecx, [esi + 0x30]
mov dword [esp + 0x1c], edi
call fcn.00405b20
lea ecx, [esi + 0x208]
mov byte [esp + 0x1c], 1
call fcn.004066b0
lea ecx, [esi + 0x238]
call fcn.004066b0
lea ecx, [esi + 0x268]
call fcn.00406b00
lea ecx, [esi + 0x284]
mov byte [esp + 0x1c], 2
call fcn.00406cf0
push edi
lea ecx, [esi + 0x2a0]
mov byte [esp + 0x20], 3
call fcn.0044b900
lea ecx, [esi + 0x2c8]
mov byte [esp + 0x1c], 4
call fcn.004558b0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 5
push ecx
mov dword [esi], 0x5071e4
mov dword [esi + 8], edi
mov dword [esi + 0x304], edi
mov dword [esi + 0x298], edi
mov dword [esi + 0x2dc], edi
mov dword [esi + 0x2e0], edi
mov dword [esi + 0x2f4], edi
mov dword [esi + 0x29c], edi
mov dword [esi + 0x2d8], 4
mov dword [esi + 0x2e4], 2
mov dword [esi + 0x2ec], edi
call fcn.004dcd0c
mov edx, dword [eax]
lea eax, [esp + 0x10]
push eax
mov dword [esi + 0x2e8], edx
call fcn.004dcd0c
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
mov dword [esi + 0x2f0], ecx
call fcn.004dcd0c
mov eax, dword [eax]
mov ecx, esi
mov dword [esi + 0x2fc], eax
or eax, 0xffffffff
mov dword [esi + 0x2f8], edi
mov dword [esi + 0x300], edi
mov dword [esi + 0x308], edi
mov dword [esi + 0x314], edi
mov dword [esi + 0x318], edi
mov dword [esi + 0x31c], edi
mov dword [esi + 0x320], eax
mov dword [esi + 0x324], eax
mov dword [esi + 8], 0x1234567
call fcn.004aed80
lea ecx, [ebp + 8]
push ecx
call dword [0x5042e0]
mov eax, dword [esi + 0x304]
mov ecx, ebp
or ah, 2
mov dword [esi + 0x304], eax
mov edx, dword [ebp]
call dword [edx + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x310], edi
mov dword [esi + 0x30c], 1
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4ab960
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ffca9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], 0x5071e4
mov dword [esp + 0x28], 0
lea ebp, [esi + 0xc]
mov edi, ebp
mov dword [esp + 0x10], edi
lea eax, [edi + 8]
push eax
call dword [0x5042e0]
lea ebx, [esi + 0x2a0]
mov byte [esp + 0x28], 6
mov ecx, ebx
call fcn.0044b920
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x10], eax
mov byte [esp + 0x28], 5
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
push eax
call fcn.0044d0c0
mov eax, dword [esi + 0x2f8]
push eax
call fcn.004e385c
mov eax, dword [esi + 0x300]
add esp, 8
test eax, eax
je 0x4aba05
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x4de28d
push ecx
push 4
push eax
call fcn.004cacf8
push edi
call fcn.004e385c
add esp, 4
mov ecx, ebx
mov dword [esi + 8], 0xffffffff
mov byte [esp + 0x28], 3
call fcn.004564b0
lea ecx, [esi + 0x284]
mov byte [esp + 0x28], 2
call fcn.004ddf54
lea ecx, [esi + 0x270]
mov byte [esp + 0x28], 1
call fcn.0040ac80
add esi, 0x30
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x1b4]
mov byte [esp + 0x28], 0xc
call fcn.004dfa8d
lea ecx, [esi + 0x1b0]
mov byte [esp + 0x28], 0xb
call fcn.004dfa8d
lea ecx, [esi + 0x1ac]
mov byte [esp + 0x28], 0xa
call fcn.004dfa8d
lea ecx, [esi + 0x1a8]
mov byte [esp + 0x28], 9
call fcn.004dfa8d
lea eax, [esi + 0x120]
mov dword [esp + 0x18], eax
lea edi, [eax + 4]
mov dword [esp + 0x1c], edi
lea ecx, [edi + 0x24]
mov byte [esp + 0x28], 0x10
call fcn.004dd838
lea ecx, [edi + 8]
mov byte [esp + 0x28], 0xf
call fcn.004dd838
lea ecx, [edi + 4]
mov byte [esp + 0x28], 0xe
call fcn.004dfa8d
lea edi, [esi + 0x90]
mov dword [esp + 0x1c], edi
lea ecx, [edi + 0x64]
mov byte [esp + 0x28], 0x16
call fcn.004dfa8d
lea ecx, [edi + 0x60]
mov byte [esp + 0x28], 0x15
call fcn.004dfa8d
lea ecx, [edi + 0x5c]
mov byte [esp + 0x28], 0x14
call fcn.004dfa8d
lea ecx, [edi + 0x58]
mov byte [esp + 0x28], 0x13
call fcn.004dfa8d
lea ecx, [edi + 0x3c]
mov byte [esp + 0x28], 0x12
call fcn.00405dd0
lea ecx, [edi + 4]
mov byte [esp + 0x28], 0x11
call fcn.00405d50
mov ecx, esi
mov byte [esp + 0x28], 0
call fcn.00405c70
lea edx, [ebp + 8]
mov dword [esp + 0x28], 0xffffffff
push edx
mov dword [ebp], 0x5092c8
call dword [0x5042e4]
mov ecx, ebp
call fcn.004c22a7
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4abbf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ffce8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0xc]
mov dword [esp + 0xc], ebx
lea eax, [ebx + 8]
push eax
call dword [0x5042e0]
mov edi, dword [esp + 0x20]
lea ecx, [esi + 0x30]
push ecx
mov dword [esp + 0x1c], 0
lea ecx, [edi + 8]
call fcn.00405f90
lea edx, [esi + 0x208]
lea ecx, [edi + 0x1e0]
push edx
call fcn.00406730
lea eax, [esi + 0x268]
lea ecx, [edi + 0x210]
push eax
call fcn.00406b20
lea ecx, [esi + 0x284]
push ecx
lea ecx, [edi + 0x22c]
call fcn.00406d00
lea ecx, [esi + 0x2a0]
call fcn.0044b920
push eax
mov ecx, edi
call fcn.00407de0
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x18], 0xffffffff
call dword [edx + 0x14]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4aeaa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x500328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x28], 0
mov ebp, dword [0x5042e0]
lea edi, [esi + 0xc]
mov dword [esp + 0x1c], edi
lea eax, [edi + 8]
push eax
call ebp
mov eax, dword [0x532a80]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x1e8]
xor edx, edx
and ecx, 0xffff0000
lea eax, [edi + 8]
cmp ecx, 0x10000
push eax
sete dl
mov byte [esp + 0x2c], 4
mov dword [esp + 0x1c], edx
call ebp
mov edx, dword [edi]
mov ebx, dword [esi + 0x2dc]
mov ecx, edi
call dword [edx + 0x14]
cmp dword [esp + 0x30], ebx
jne 0x4aeb68
lea ebx, [esi + 0x30]
lea ecx, [esp + 0x14]
push ebx
call fcn.004ab2d0
lea eax, [esp + 0x34]
lea ecx, [esi + 0x90]
push eax
call fcn.004dfbc6
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 0x8c]
call fcn.004dfbc6
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x4aeb5d
push eax
mov ecx, ebx
call fcn.00453ac0
mov eax, dword [esp + 0x40]
cmp eax, 0xffffffff
je 0x4aebd7
jmp 0x4aebcf
lea eax, [edi + 8]
push eax
call ebp
mov edx, dword [edi]
mov ebx, dword [esi + 0x2e0]
mov ecx, edi
call dword [edx + 0x14]
cmp dword [esp + 0x30], ebx
jne 0x4aec33
lea ebx, [esi + 0xc0]
lea ecx, [esp + 0x14]
push ebx
call fcn.004ab2d0
lea eax, [esp + 0x34]
lea ecx, [esi + 0x120]
push eax
call fcn.004dfbc6
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 0x11c]
call fcn.004dfbc6
mov eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
je 0x4aebc6
push eax
mov ecx, ebx
call fcn.00453ac0
mov eax, dword [esp + 0x40]
cmp eax, 0xffffffff
je 0x4aebd7
push eax
mov ecx, ebx
call fcn.00453b00
push ebx
lea ecx, [esp + 0x14]
call fcn.004ab2d0
mov edx, dword [esp + 0x18]
push 1
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, 0x539318
call fcn.00483200
push 0
push 0
push 4
mov ecx, esi
call fcn.004abeb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.004dfa8d
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.004dfa8d
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x28], 1
call dword [edx + 0x14]
jmp 0x4aec5b
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.004dfa8d
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.004dfa8d
mov eax, dword [edi]
mov ecx, edi
mov byte [esp + 0x28], 1
call dword [eax + 0x14]
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call fcn.004dfa8d
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], 0xffffffff
call fcn.004dfa8d
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14
Function at 0x4bd9c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x501b88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 4]
mov dword [esp + 0x14], ebx
lea eax, [ebx + 8]
push eax
call dword [0x5042e0]
mov eax, dword [esi + 0x30]
xor edi, edi
neg eax
sbb eax, eax
mov dword [esp + 0x20], edi
cmp eax, edi
mov dword [esp + 0xc], eax
je 0x4bda3e
push ebp
mov ebp, dword [esp + 0x2c]
add esi, 0x24
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], edi
call fcn.004de7ec
mov ecx, dword [esp + 0x2c]
cmp ecx, edi
je 0x4bda37
push ebp
call fcn.004bbad0
cmp dword [esp + 0x10], edi
jne 0x4bda0b
pop ebp
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x20], 0xffffffff
call dword [edx + 0x14]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x4bea40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x501cd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
xor esi, esi
push edi
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], esi
call fcn.004be710
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], esi
call fcn.004be3c0
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x10]
mov byte [esp + 0x28], 1
mov ecx, dword [esi]
mov edx, dword [edi]
push eax
push ecx
mov ecx, dword [esp + 0x10]
push edx
call fcn.004be420
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x30]
xor eax, ecx
lea ecx, [esp + 8]
mov dword [esp + 0xc], eax
push ecx
mov ecx, esi
call fcn.004be750
lea ecx, [esp + 0x10]
call fcn.004bddd0
lea ecx, [esp + 8]
call fcn.004be7c0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x4beae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x501cf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
xor esi, esi
push esi
lea ecx, [esp + 8]
mov dword [esp + 8], esi
call fcn.004be710
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], esi
call fcn.004be3c0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x30]
push eax
mov edx, dword [ecx]
lea ecx, [esp + 0x10]
mov eax, dword [esi]
push edx
push eax
mov byte [esp + 0x30], 1
call fcn.004be420
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x2c]
lea edx, [esp + 4]
mov dword [esp + 8], ecx
push edx
mov ecx, esi
call fcn.004be750
lea ecx, [esp + 0xc]
call fcn.004bddd0
lea ecx, [esp + 4]
call fcn.004be7c0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4beb80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x501d50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], 0
call fcn.004be710
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], 0
call fcn.004be710
mov ebp, dword [esp + 0x84]
lea ecx, [esp + 0x2c]
push ebp
call fcn.004be750
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0xc]
push eax
call fcn.004be750
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 3
call fcn.004be710
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 4
call fcn.004be710
mov bl, 5
mov byte [esp + 0x74], bl
push 0
lea ecx, [esp + 0x40]
call fcn.004be710
sub esp, 8
mov byte [esp + 0x7c], 6
mov ecx, esp
mov dword [esp + 0x8c], esp
push eax
call fcn.004be750
lea ecx, [esp + 0x14]
call fcn.004be630
xor ecx, ecx
mov byte [esp + 0x74], bl
test eax, eax
setne cl
mov esi, ecx
lea ecx, [esp + 0x3c]
call fcn.004be7c0
test esi, esi
je 0x4bed57
lea edx, [esp + 0xc]
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.004bea40
add esp, 0xc
lea ecx, [esp + 0x24]
push eax
call fcn.004be770
lea ecx, [esp + 0x44]
call fcn.004be7c0
lea edx, [esp + 0xc]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x58]
push eax
push ecx
call fcn.004be9c0
push eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x5c]
push edx
push eax
mov byte [esp + 0x8c], 7
call fcn.004be950
add esp, 0x18
lea ecx, [esp + 0x1c]
push eax
call fcn.004be770
lea ecx, [esp + 0x4c]
call fcn.004be7c0
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], bl
call fcn.004be7c0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x30]
call fcn.004be770
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.004be770
lea eax, [esp + 0x34]
lea ecx, [esp + 0x1c]
push eax
call fcn.004be770
lea ecx, [esp + 0x24]
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x68]
push edx
push eax
call fcn.004be9c0
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
mov byte [esp + 0x8c], 8
call fcn.004be950
add esp, 0x18
lea ecx, [esp + 0x34]
push eax
call fcn.004be770
lea ecx, [esp + 0x5c]
call fcn.004be7c0
lea ecx, [esp + 0x64]
mov byte [esp + 0x74], bl
call fcn.004be7c0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
call fcn.004be770
jmp 0x4bec09
push 0
lea ecx, [esp + 0x68]
call fcn.004be710
sub esp, 8
mov byte [esp + 0x7c], 9
mov ecx, esp
mov dword [esp + 0x8c], esp
push eax
call fcn.004be750
lea ecx, [esp + 0x1c]
call fcn.004be630
xor ecx, ecx
mov byte [esp + 0x74], bl
test eax, eax
setl cl
mov esi, ecx
lea ecx, [esp + 0x64]
call fcn.004be7c0
test esi, esi
je 0x4beda6
push ebp
lea ecx, [esp + 0x18]
call fcn.004be7f0
mov esi, dword [esp + 0x7c]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.004be750
lea ecx, [esp + 0x1c]
call fcn.004be7c0
lea ecx, [esp + 0x24]
call fcn.004be7c0
lea ecx, [esp + 0xc]
call fcn.004be7c0
lea ecx, [esp + 0x2c]
call fcn.004be7c0
lea ecx, [esp + 0x14]
call fcn.004be7c0
lea ecx, [esp + 0x34]
call fcn.004be7c0
mov ecx, dword [esp + 0x6c]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret
Function at 0x4bee00
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x501daf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
mov dword [esp + 0x14], esi
call fcn.004be710
lea ebp, [esi + 8]
push 0
mov ecx, ebp
mov dword [esp + 0x30], 0
call fcn.004be710
lea edi, [esi + 0x10]
push 0
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.004be710
lea ebx, [esi + 0x18]
push 0
mov ecx, ebx
mov byte [esp + 0x30], 2
call fcn.004be710
push 0
lea ecx, [esi + 0x20]
mov byte [esp + 0x30], 3
call fcn.004be710
push 0
lea ecx, [esi + 0x28]
mov byte [esp + 0x30], 4
call fcn.004be710
mov eax, dword [esp + 0x34]
mov ecx, edi
push eax
mov byte [esp + 0x30], 5
call fcn.004be770
push 1
lea ecx, [esp + 0x18]
mov dword [esi + 0x30], 0
call fcn.004be710
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004be770
lea ecx, [esp + 0x14]
call fcn.004be7c0
mov edx, dword [esp + 0x34]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004be750
mov ecx, esi
call fcn.004be630
test eax, eax
jge 0x4beee0
push esi
mov ecx, esi
call fcn.004be7f0
inc dword [esi + 0x30]
jmp 0x4beeb5
push edi
lea eax, [esp + 0x20]
push esi
push eax
call fcn.004be950
push edi
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x44], 6
call fcn.004beb80
add esp, 0x18
mov ecx, ebp
push eax
call fcn.004be770
lea ecx, [esp + 0x14]
call fcn.004be7c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 5
call fcn.004be7c0
push esi
lea edx, [esp + 0x18]
push edi
push edx
call fcn.004beb80
push eax
lea eax, [esp + 0x2c]
push esi
push eax
mov byte [esp + 0x44], 7
call fcn.004be950
add esp, 0x18
mov ecx, ebx
push eax
call fcn.004be770
lea ecx, [esp + 0x1c]
call fcn.004be7c0
lea ecx, [esp + 0x14]
call fcn.004be7c0
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4

Function at 0x4bf130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x501df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [esp + 0x54]
push esi
xor esi, esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], esi
call fcn.004bee00
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x4c]
push ecx
push edx
push esi
lea ecx, [esp + 0x14]
call fcn.004bf020
lea ecx, [esp + 0x30]
call fcn.004be7c0
lea ecx, [esp + 0x28]
call fcn.004be7c0
lea ecx, [esp + 0x20]
call fcn.004be7c0
lea ecx, [esp + 0x18]
call fcn.004be7c0
lea ecx, [esp + 0x10]
call fcn.004be7c0
lea ecx, [esp + 8]
call fcn.004be7c0
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret