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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov esi, esp
mov dword [esi + 0x10], ebp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], ecx
mov eax, esp
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], 0xffffffff
lea eax, [esi + 0x58]
mov dword [esi + 0x5c], 0x50bda0
mov edi, dword fs:[0]
mov dword [esi + 0x58], edi
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [esi + 0x50], eax
mov byte [esi + 0x4f], 1
add ecx, 0xc
mov dword [esi + 0x60], 0
mov eax, esp
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
lea ecx, [esi + 0x30]
mov dword [eax], ecx
call fcn.004413a0
jmp 0x502e2b
mov ecx, dword [esi + 0x14]
mov byte [esi + 0x4f], 0
movsd xmm0, qword [esi + 0x40]
movsd qword [esi + 0x28], xmm0
movsd xmm0, qword [esi + 0x30]
movsd xmm1, qword [esi + 0x38]
movsd qword [esi + 0x20], xmm1
movsd qword [esi + 0x18], xmm0
mov eax, esp
lea edx, [esi + 0x18]
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.004e87c0
jmp 0x502e61
mov eax, dword [esi + 0x58]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x505180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov esi, esp
mov dword [esi + 0xc], ebp
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x20], eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x24], ecx
mov eax, esp
mov dword [esi + 0x4c], eax
mov dword [esi + 0x58], 0xffffffff
lea eax, [esi + 0x50]
mov dword [esi + 0x54], 0x50bf60
mov ebx, dword fs:[0]
mov dword [esi + 0x50], ebx
mov dword fs:[0], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edx
mov byte [esi + 0x37], 0
mov byte [esi + 0x37], 1
mov dword [esi + 0x58], 0
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.00509f80
mov byte [esi + 0x2b], dl
mov dword [esi + 0x2c], eax
jmp 0x5051f5
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x2c]
mov al, byte [esi + 0x2b]
mov ah, al
mov byte [esi + 0x1b], ah
mov dword [esi + 0x44], edx
mov byte [esi + 0x4b], al
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.0050a9c0
mov dword [esi + 0x1c], eax
jmp 0x50521a
mov al, byte [esi + 0x1b]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x30], ecx
movzx ecx, al
mov eax, esp
mov dword [eax], ecx
call fcn.00504db0
mov byte [esi + 0x1a], al
jmp 0x505234
mov eax, dword [esi + 0x24]
mov cl, byte [esi + 0x1a]
and cl, 1
movzx ecx, cl
mov eax, dword [eax + 8]
mov edx, eax
sub edx, ecx
mov dword [esi + 0x14], edx
cmp eax, ecx
jb 0x50526f
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x14]
mov dword [eax + 8], edx
mov byte [esi + 0x37], 0
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [esi + 0x30]
mov dword [eax], ecx
call fcn.00504cf0
jmp 0x505280
mov eax, esp
mov dword [eax], 0x602458
call fcn.005f7090
jmp 0x50527e
ud2
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0xc]
add eax, 1
mov dword [esi + 0x10], eax
setb al
jb 0x5052af
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x50]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, esp
mov dword [eax], 0x602468
call fcn.005f7050
jmp 0x50527e
Function at 0x508a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x40], ecx
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x38], eax
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x3c], edx
mov edi, dword [ebp + 8]
mov dword [esp + 0x44], edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov eax, esp
mov dword [eax + 4], esi
mov dword [eax], ecx
call fcn.0050ace0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x4b], al
mov byte [esp + 0x7f], al
mov eax, esp
mov dword [eax + 8], esi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.0050ac00
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0050a780
lea ecx, [esp + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0041d340
mov al, byte [esp + 0x4b]
movdqa xmm0, xmmword [esp + 0x80]
movaps xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0xa0], xmm0
lea ecx, [esp + 0xa0]
mov dword [esp], ecx
movzx eax, al
mov dword [esp + 4], eax
call fcn.0041cfa0
movzx eax, ax
mov dword [esp], eax
call fcn.00495eb0
mov word [esp + 0x5e], ax
lea eax, [esp + 0x5e]
mov dword [esp], eax
call fcn.00495ec0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
cmp dword [esp + 0x60], 0
jne 0x508b39
movaps xmm0, xmmword [esp + 0x20]
movdqa xmmword [esp + 0xb0], xmm0
lea eax, [esp + 0xb0]
mov dword [esp], eax
call fcn.0041d030
movzx eax, ax
mov dword [esp], eax
call fcn.0049f340
movzx ecx, al
and ecx, 1
mov eax, esp
mov dword [eax], ecx
call fcn.0050adf0
test al, 1
jne 0x508b6f
jmp 0x508b53
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc8], eax
add eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
setb al
jb 0x508bc6
jmp 0x508b86
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0050ae30
jmp 0x508a70
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
and ecx, dword [esi + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xcc], ecx
mov dword [esp], edx
mov dword [esp + 4], ecx
call dword [eax + 0x10]
movzx ecx, al
and ecx, 1
mov eax, esp
mov dword [eax], ecx
call fcn.0050adf0
test al, 1
jne 0x508bd3
jmp 0x508ae1
mov eax, esp
mov dword [eax], 0x6025e4
call fcn.005f7050
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], 1
jmp 0x508b77
Function at 0x50af10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 4], ebp
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, esp
mov dword [esi + 0x34], ecx
mov dword [esi + 0x40], 0xffffffff
lea ecx, [esi + 0x38]
mov dword [esi + 0x3c], 0x50c200
mov edx, dword fs:[0]
mov dword [esi + 0x38], edx
mov dword fs:[0], ecx
movsd xmm0, qword [eax + 0x10]
movsd qword [esi + 0x20], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x18], xmm1
movsd qword [esi + 0x10], xmm0
mov dword [esi + 0x40], 0
mov eax, esp
lea ecx, [esi + 0x28]
mov dword [eax], ecx
call fcn.005421e0
jmp 0x50af86
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
movsd xmm0, qword [esi + 0x20]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [esi + 0x10]
movsd xmm1, qword [esi + 0x18]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov edx, dword [esi + 0x30]
mov dword [ecx + 0x20], edx
movsd xmm0, qword [esi + 0x28]
movsd qword [ecx + 0x18], xmm0
mov ecx, dword [esi + 0x38]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x518390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
sub esp, 0x9c
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
cmp eax, 0x80
jb 0x5183c5
mov eax, dword [esp + 0x1c]
cmp eax, 0x800
jb 0x5183fa
jmp 0x5183ed
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov cl, al
lea eax, [0x602ef8]
mov dword [esp], edx
movzx ecx, cl
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00542cc0
jmp 0x51852a
mov eax, dword [esp + 0x1c]
cmp eax, 0x10000
jb 0x5183fe
jmp 0x5183fc
jmp 0x518400
jmp 0x518400
jmp 0x518400
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], 0
lea edx, [esp + 0x24]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 4
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 4
call fcn.004e62a0
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov ecx, eax
add ecx, edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.004dac40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x98], 1
sub eax, ecx
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x7c]
mov eax, esp
mov dword [eax + 0xc], edx
mov dword [eax], ecx
mov dword [eax + 8], 1
mov dword [eax + 4], 1
call fcn.00414ed0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
lea eax, [0x602ee8]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.005424f0
add esp, 0x9c
pop esi
ret
Function at 0x527480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
sub esp, 0x70
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], 2
mov dword [esp], eax
call fcn.00526560
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x5274cb
mov ecx, dword [0x603820]
mov eax, dword [0x603824]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jmp 0x5274ef
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov al, byte [eax]
mov byte [esp + 0x13], al
mov byte [esp + 0x4b], al
cmp al, 0x80
jb 0x527536
jmp 0x5274fc
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add esp, 0x70
pop esi
ret
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x13]
and cl, 0x1f
movzx ecx, cl
mov dword [esp + 0xc], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp], eax
call fcn.00526560
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x28]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 0
je 0x52754b
jmp 0x527552
mov al, byte [esp + 0x13]
movzx eax, al
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
jmp 0x5274ef
call fcn.00524640
jmp 0x527581
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], edx
mov dl, byte [edx]
mov byte [esp + 0xb], dl
mov byte [esp + 0x57], dl
shl ecx, 6
and dl, 0x3f
movzx edx, dl
or ecx, edx
mov dword [esp + 0x2c], ecx
cmp al, 0xe0
jae 0x527598
jmp 0x527583
ud2
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
jmp 0x5274ef
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00526560
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x30]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x5275c5
call fcn.00524640
jmp 0x527581
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0xc]
mov dl, byte [esp + 0xb]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x58], esi
mov ah, byte [esi]
mov byte [esp + 0x5f], ah
and dl, 0x3f
movzx edx, dl
mov dword [esp + 0x60], edx
shl edx, 6
and ah, 0x3f
movzx esi, ah
or edx, esi
mov dword [esp + 4], edx
mov dword [esp + 0x64], edx
shl ecx, 0xc
or ecx, edx
mov dword [esp + 0x2c], ecx
cmp al, 0xf0
jae 0x52760e
jmp 0x527583
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00526560
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x34]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x52763e
call fcn.00524640
jmp 0x527581
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x68], edx
mov dl, byte [edx]
mov byte [esp + 0x6f], dl
and eax, 7
shl eax, 0x12
shl ecx, 6
and dl, 0x3f
movzx edx, dl
or ecx, edx
or eax, ecx
mov dword [esp + 0x2c], eax
jmp 0x527609
Function at 0x528dc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
sub esp, 0x9c
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
cmp eax, 0x80
jb 0x528df5
mov eax, dword [esp + 0x1c]
cmp eax, 0x800
jb 0x528e2a
jmp 0x528e1d
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov cl, al
lea eax, [0x603b64]
mov dword [esp], edx
movzx ecx, cl
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00524fa0
jmp 0x528f5a
mov eax, dword [esp + 0x1c]
cmp eax, 0x10000
jb 0x528e2e
jmp 0x528e2c
jmp 0x528e30
jmp 0x528e30
jmp 0x528e30
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], 0
lea edx, [esp + 0x24]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 4
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 4
call fcn.00524420
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov ecx, eax
add ecx, edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.005241f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x98], 1
sub eax, ecx
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x7c]
mov eax, esp
mov dword [eax + 0xc], edx
mov dword [eax], ecx
mov dword [eax + 8], 1
mov dword [eax + 4], 1
call fcn.00524af0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
lea eax, [0x603b54]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00524ec0
add esp, 0x9c
pop esi
ret
Function at 0x52bec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
sub esp, 0x70
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], 2
mov dword [esp], eax
call fcn.0052ac30
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x52bf0b
mov ecx, dword [0x604184]
mov eax, dword [0x604188]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jmp 0x52bf2f
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov al, byte [eax]
mov byte [esp + 0x13], al
mov byte [esp + 0x4b], al
cmp al, 0x80
jb 0x52bf76
jmp 0x52bf3c
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add esp, 0x70
pop esi
ret
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x13]
and cl, 0x1f
movzx ecx, cl
mov dword [esp + 0xc], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp], eax
call fcn.0052ac30
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x28]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 0
je 0x52bf8b
jmp 0x52bf92
mov al, byte [esp + 0x13]
movzx eax, al
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
jmp 0x52bf2f
call fcn.0052a2e0
jmp 0x52bfc1
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], edx
mov dl, byte [edx]
mov byte [esp + 0xb], dl
mov byte [esp + 0x57], dl
shl ecx, 6
and dl, 0x3f
movzx edx, dl
or ecx, edx
mov dword [esp + 0x2c], ecx
cmp al, 0xe0
jae 0x52bfd8
jmp 0x52bfc3
ud2
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
jmp 0x52bf2f
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0052ac30
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x30]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x52c005
call fcn.0052a2e0
jmp 0x52bfc1
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0xc]
mov dl, byte [esp + 0xb]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x58], esi
mov ah, byte [esi]
mov byte [esp + 0x5f], ah
and dl, 0x3f
movzx edx, dl
mov dword [esp + 0x60], edx
shl edx, 6
and ah, 0x3f
movzx esi, ah
or edx, esi
mov dword [esp + 4], edx
mov dword [esp + 0x64], edx
shl ecx, 0xc
or ecx, edx
mov dword [esp + 0x2c], ecx
cmp al, 0xf0
jae 0x52c04e
jmp 0x52bfc3
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0052ac30
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x34]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x52c07e
call fcn.0052a2e0
jmp 0x52bfc1
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x68], edx
mov dl, byte [edx]
mov byte [esp + 0x6f], dl
and eax, 7
shl eax, 0x12
shl ecx, 6
and dl, 0x3f
movzx edx, dl
or ecx, edx
or eax, ecx
mov dword [esp + 0x2c], eax
jmp 0x52c049
Function at 0x52c740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov esi, esp
mov dword [esi + 0x18], ebp
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x24], eax
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x28], ecx
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x2c], edx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
mov edi, esp
mov dword [esi + 0x54], edi
mov dword [esi + 0x60], 0xffffffff
lea edi, [esi + 0x58]
mov dword [esi + 0x5c], 0x52ccb0
mov ebx, dword fs:[0]
mov dword [esi + 0x58], ebx
mov dword fs:[0], edi
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ecx
mov eax, dword [eax]
cmp eax, 0
jne 0x52c7e4
mov eax, dword [esi + 0x30]
mov edx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ebx
mov ecx, dword [esi + 0x58]
mov dword fs:[0], ecx
mov ecx, dword [esi + 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x20]
mov dword [ecx + 8], ebx
mov dword [ecx + 4], edi
mov dword [ecx], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
mov edi, dword [esi + 0x24]
mov dword [esi + 0x60], 0
mov eax, esp
mov dword [eax + 0x10], edi
lea edi, [esi + 0x37]
mov dword [eax + 8], edi
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0xc], 0x604594
call fcn.005f6d50
jmp 0x52c812
ud2
Function at 0x5316e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa4
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0xb8]
add ecx, 4
mov dword [esp + 0x34], ecx
mov byte [esp + 0x3b], 0xff
mov dword [esp + 0x3c], 0x10
mov byte [esp + 0x43], 1
mov edx, dword [eax]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 1
jne 0x53176c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x44], ecx
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov eax, dword [eax + 4]
add eax, 1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
jmp 0x53178e
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xa0], eax
cmp eax, 8
jb 0x5318c4
jmp 0x5318b1
lea eax, [esp + 0x20]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x20]
add eax, 4
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x24]
jb 0x5317b5
jmp 0x53176c
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 0x60], eax
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0052b4e0
mov ecx, dword [esp + 8]
mov edx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 1
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x64], ecx
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
cmp byte [eax + ecx], 0x80
je 0x531812
jmp 0x5318ac
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov edi, dword [ecx]
mov dword [esp + 0x74], edi
mov ebx, esi
sub ebx, 0x10
and ebx, dword [edi + 4]
mov ebp, ebx
add ebp, 0x10
mov dword [esp + 0x78], ebp
mov ebp, dword [edi]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov byte [ebp + esi], 0xff
mov edi, dword [edi]
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov byte [edi + ebx + 0x10], 0xff
mov ecx, dword [ecx]
mov dword [esp + 0x8c], ecx
mov edx, dword [edx + 4]
mov dword [esp + 0x90], edx
mov ecx, dword [ecx]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
add esi, 1
imul esi, edx
mov dword [esp + 0x9c], esi
xor edx, edx
sub edx, esi
add ecx, edx
mov dword [esp], ecx
call eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
sub ecx, 1
mov dword [eax + 0xc], ecx
jmp 0x53178e
mov eax, dword [esp + 0x10]
add eax, 1
shr eax, 3
imul eax, eax, 7
mov dword [esp + 0x30], eax
jmp 0x5318cc
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x30]
sub ecx, edx
mov dword [eax + 8], ecx
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret