joyce8/EMBER2024-capa huggingface dataset:
Function at 0x592710
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
movdqu xmm2, xmmword [eax]
mov eax, dword [esp + 8]
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [eax], xmm2
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 1
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movdqa xmm1, xmm3
movdqa xmmword [eax + 0x10], xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm2, xmm1
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmmword [eax + 0x20], xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm3, xmm1
pxor xmm3, xmm0
pslldq xmm1, 4
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movdqa xmm1, xmm3
movdqa xmmword [eax + 0x30], xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm2, xmm1
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 8
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmmword [eax + 0x40], xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm3, xmm1
pxor xmm3, xmm0
pslldq xmm1, 4
aeskeygenassist xmm0, xmm2, 0x10
pxor xmm3, xmm1
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movdqa xmm1, xmm3
movdqa xmmword [eax + 0x50], xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm2, xmm1
pxor xmm2, xmm0
pslldq xmm1, 4
aeskeygenassist xmm0, xmm3, 0x20
pxor xmm2, xmm1
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmmword [eax + 0x60], xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm3, xmm1
pxor xmm3, xmm0
pslldq xmm1, 4
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movdqa xmm1, xmm3
movdqa xmmword [eax + 0x70], xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm2, xmm1
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmmword [eax + 0x80], xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm3, xmm1
pxor xmm3, xmm0
pslldq xmm1, 4
aeskeygenassist xmm0, xmm2, 0x1b
pxor xmm3, xmm1
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movdqa xmm2, xmm3
movdqa xmmword [eax + 0x90], xmm3
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm3
movdqa xmm1, xmm2
pxor xmm1, xmm0
pslldq xmm2, 4
aeskeygenassist xmm0, xmm3, 0x36
pxor xmm1, xmm2
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm0
movdqa xmmword [eax + 0xa0], xmm1
ret
Function at 0x592980
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
lea eax, [esp + 0x10]
movdqa xmmword [esp], xmm0
push eax
lea eax, [esp + 0x24]
movdqa xmmword [edx], xmm0
push eax
lea eax, [esp + 8]
movdqa xmmword [esp + 0x18], xmm1
aeskeygenassist xmm0, xmm1, 1
push eax
movdqa xmmword [edx + 0x10], xmm1
movdqa xmmword [esp + 0x2c], xmm0
call fcn.00592ed0
movaps xmm0, xmmword [edx + 0x10]
lea eax, [esp + 0x1c]
movdqa xmm1, xmmword [esp + 0xc]
push eax
shufpd xmm0, xmm1, 0
lea eax, [esp + 0x30]
shufpd xmm1, xmmword [esp + 0x20], 1
push eax
movaps xmmword [edx + 0x10], xmm0
lea eax, [esp + 0x14]
aeskeygenassist xmm0, xmmword [esp + 0x24], 2
push eax
movdqa xmmword [edx + 0x20], xmm1
movdqa xmmword [esp + 0x38], xmm0
call fcn.00592ed0
movdqa xmm0, xmmword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
movdqa xmmword [edx + 0x30], xmm0
lea eax, [esp + 0x3c]
movdqa xmm0, xmmword [esp + 0x2c]
push eax
movdqa xmmword [edx + 0x40], xmm0
lea eax, [esp + 0x20]
aeskeygenassist xmm0, xmm0, 4
push eax
movdqa xmmword [esp + 0x44], xmm0
call fcn.00592ed0
movaps xmm0, xmmword [edx + 0x40]
lea eax, [esp + 0x34]
movdqa xmm1, xmmword [esp + 0x24]
push eax
shufpd xmm0, xmm1, 0
lea eax, [esp + 0x48]
shufpd xmm1, xmmword [esp + 0x38], 1
push eax
movaps xmmword [edx + 0x40], xmm0
lea eax, [esp + 0x2c]
aeskeygenassist xmm0, xmmword [esp + 0x3c], 8
push eax
movdqa xmmword [edx + 0x50], xmm1
movdqa xmmword [esp + 0x50], xmm0
call fcn.00592ed0
movdqa xmm0, xmmword [esp + 0x30]
lea eax, [esp + 0x40]
push eax
movdqa xmmword [edx + 0x60], xmm0
lea eax, [esp + 0x54]
movdqa xmm0, xmmword [esp + 0x44]
push eax
movdqa xmmword [edx + 0x70], xmm0
lea eax, [esp + 0x38]
aeskeygenassist xmm0, xmm0, 0x10
push eax
movdqa xmmword [esp + 0x5c], xmm0
call fcn.00592ed0
movaps xmm0, xmmword [edx + 0x70]
movdqa xmm1, xmmword [esp + 0x3c]
shufpd xmm0, xmm1, 0
shufpd xmm1, xmmword [esp + 0x4c], 1
movaps xmmword [edx + 0x70], xmm0
aeskeygenassist xmm0, xmmword [esp + 0x4c], 0x20
movdqa xmmword [edx + 0x80], xmm1
movdqa xmmword [esp + 0x5c], xmm0
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00592ed0
movdqa xmm0, xmmword [esp + 0x48]
lea eax, [esp + 0x58]
add esp, 0x48
movdqa xmmword [edx + 0x90], xmm0
movdqa xmm0, xmmword [esp + 0x10]
movdqa xmmword [edx + 0xa0], xmm0
aeskeygenassist xmm0, xmm0, 0x40
push eax
lea eax, [esp + 0x24]
movdqa xmmword [esp + 0x24], xmm0
push eax
lea eax, [esp + 8]
push eax
call fcn.00592ed0
movaps xmm0, xmmword [edx + 0xa0]
lea eax, [esp + 0x1c]
movdqa xmm1, xmmword [esp + 0xc]
push eax
shufpd xmm0, xmm1, 0
lea eax, [esp + 0x30]
shufpd xmm1, xmmword [esp + 0x20], 1
push eax
movaps xmmword [edx + 0xa0], xmm0
lea eax, [esp + 0x14]
aeskeygenassist xmm0, xmmword [esp + 0x24], 0x80
push eax
movdqa xmmword [edx + 0xb0], xmm1
movdqa xmmword [esp + 0x38], xmm0
call fcn.00592ed0
movdqa xmm0, xmmword [esp + 0x18]
add esp, 0x18
movdqa xmmword [edx + 0xc0], xmm0
mov esp, ebp
pop ebp
ret
Function at 0x595a10
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
xor eax, eax
mov edx, 0x5a4d
cmp dx, word [ecx]
cmove eax, ecx
mov eax, dword [eax + 0x3c]
add eax, ecx
xor ecx, ecx
cmp dword [eax], 0x4550
cmove ecx, eax
mov eax, dword [esp + 4]
cmp eax, dword [ecx + 0x74]
jbe 0x595a49
mov ecx, dword [esp + 8]
xor eax, eax
mov edx, dword [eax + 4]
mov dword [ecx], edx
mov eax, dword [eax]
ret 8
add eax, 0xf
mov edx, dword [ecx + eax*8 + 4]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 8]
mov dword [ecx], edx
mov eax, dword [eax]
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x5e9c86
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 0x1c], 0xf
mov dword [esi + 0x18], 0
mov byte [esi + 8], 0
mov dword [esi + 4], 0x52f2f8
mov dword [esp + 0x1c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov edi, dword [esp + 0x28]
mov ecx, eax
mov byte [esp + 0x1c], 1
cmp byte [ecx + 0xc], 0
mov edx, dword [edi + 0xc]
mov ebx, dword [ecx + 4]
jne 0x596af5
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov edx, eax
add edx, ebx
mov ecx, edx
lea ebx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x596b00
sub ecx, ebx
push ecx
push edx
lea ecx, [esi + 8]
call fcn.00548640
mov eax, dword [edi + 4]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x24], eax
mov eax, dword [edi]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x598d90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
add ecx, 4
cmp dword [ecx + 0x14], 0x10
jb 0x598d9b
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x598dae
test al, 0x10
jne 0x598dae
mov al, 1
ret
xor al, al
ret
Function at 0x599290
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5ea1a6
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x248], eax
push esi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x59936a
lea eax, [esp + 0x148]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp byte [esp + 0x148], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x59930a
xor ecx, ecx
jmp 0x59931d
lea ecx, [esp + 0x148]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x599314
sub ecx, edx
push ecx
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x30]
call fcn.00548640
mov dword [esp + 0x24], 0x530ac4
lea eax, [esp + 0x24]
mov dword [esp + 0x25c], 0
push eax
mov ecx, esi
call fcn.00597560
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x24], 0x52f2f8
jb 0x599412
push dword [esp + 0x28]
jmp 0x59940a
cmp dword [esi + 0x18], 0x10
lea eax, [esi + 4]
mov dword [esp + 0x40], 0
jb 0x59937d
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x48]
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
cmp byte [esp + 0x44], 0
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
jne 0x5993b3
xor ecx, ecx
jmp 0x5993c9
lea ecx, [esp + 0x44]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5993c0
sub ecx, edx
push ecx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x14]
call fcn.00548640
mov dword [esp + 8], 0x530ac4
lea eax, [esp + 8]
mov dword [esp + 0x25c], 1
push eax
mov ecx, esi
call fcn.00597560
cmp dword [esp + 0x20], 0x10
mov dword [esp + 8], 0x52f2f8
jb 0x599412
push dword [esp + 0xc]
call fcn.005c40d3
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.005c4b26
add esp, 0x258
ret

Function at 0x599540
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5ea21b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x24]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp byte [esp + 0x24], 0
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
jne 0x5995aa
xor ecx, ecx
jmp 0x5995ba
lea ecx, [esp + 0x24]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5995b1
sub ecx, edx
push ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.00548640
mov dword [esp + 8], 0x530ac4
lea eax, [esp + 8]
mov dword [esp + 0x138], 0
push eax
mov ecx, esi
call fcn.00597560
cmp dword [esp + 0x20], 0x10
mov dword [esp + 8], 0x52f2f8
jb 0x599603
push dword [esp + 0xc]
call fcn.005c40d3
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.005c4b26
add esp, 0x134
ret
Function at 0x59c210
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5ea5dd
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x14c]
mov ecx, esi
mov dword [esp + 0x144], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0xc], 0
call fcn.00598470
cmp dword [esi + 0x18], 0x10
mov dword [esp + 0x144], 0
mov dword [esp + 0xc], 1
mov dword [esi + 0x14], 0
jb 0x59c293
mov eax, dword [esi + 4]
jmp 0x59c296
lea eax, [esi + 4]
mov byte [eax], 0
lea eax, [esp + 0x30]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp byte [esp + 0x30], 0
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jne 0x59c2c9
xor ecx, ecx
jmp 0x59c2d9
lea ecx, [esp + 0x30]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x59c2d0
sub ecx, edx
push ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.00548640
mov dword [esp + 0x10], 0x52f2f8
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x14c], 1
push eax
lea ecx, [esi + 4]
call fcn.00548250
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x10], 0x52f2f8
jb 0x59c327
push dword [esp + 0x14]
call fcn.005c40d3
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.005c4b26
add esp, 0x13c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5ea664
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 8], edi
push dword [esp + 0x1c]
call fcn.005c495d
mov dword [edi], 0x530b7c
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x2c], 0xf
mov dword [edi + 0x28], 0
mov byte [edi + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [edi + 0x14], 0x52f2f8
mov dword [edi + 0x48], 0xf
mov dword [edi + 0x44], 0
mov byte [edi + 0x34], 0
mov dword [edi + 0x30], 0x52f2f8
mov dword [edi + 0x64], 0xf
mov dword [edi + 0x60], 0
mov byte [edi + 0x50], 0
mov dword [edi + 0x4c], 0x52f2f8
mov dword [edi + 0x80], 0xf
mov dword [edi + 0x7c], 0
mov byte [edi + 0x6c], 0
mov dword [edi + 0x68], 0x52f2f8
push dword [esp + 0x1c]
mov ecx, edi
mov byte [esp + 0x18], 4
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
call fcn.0059d2c0
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 4
Function at 0x59d2c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ea716
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0x20]
lea ecx, [ebx + 0x14]
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
lea eax, [edi + 0x14]
push eax
call fcn.00597560
lea eax, [edi + 0x30]
push eax
lea ecx, [ebx + 0x30]
call fcn.00597560
lea eax, [edi + 0x4c]
push eax
lea ecx, [ebx + 0x4c]
call fcn.00597560
lea eax, [edi + 0x68]
push eax
lea ecx, [ebx + 0x68]
call fcn.00597560
mov al, byte [edi + 0xc]
mov byte [ebx + 0xc], al
test al, al
je 0x59d3eb
push 0x1c
call fcn.005c4082
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], 0
test esi, esi
je 0x59d380
mov eax, dword [edi + 0x84]
test eax, eax
je 0x59d358
add eax, 4
jmp 0x59d35a
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 4]
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00548460
mov dword [esi], 0x52f2f8
jmp 0x59d382
xor esi, esi
push 0x1c
mov dword [esp + 0x1c], 0xffffffff
mov dword [ebx + 0x84], esi
call fcn.005c4082
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], 1
test esi, esi
je 0x59d3e3
mov eax, dword [edi + 0x88]
test eax, eax
je 0x59d3bb
add eax, 4
jmp 0x59d3bd
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 4]
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00548460
mov dword [esi], 0x52f2f8
jmp 0x59d3e5
xor esi, esi
mov dword [ebx + 0x88], esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x5a6430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3cc
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
mov ebx, dword [esp + 0x3d4]
lea eax, [esp + 4]
push ebp
mov ebp, dword [esp + 0x3e0]
push esi
push edi
mov edi, dword [esp + 0x3e4]
mov esi, ecx
push 0x90
push eax
push 1
mov eax, dword [esi + 0x24]
push ebx
call eax
add esp, 0x10
cmp eax, 0x90
je 0x5a6488
push ebx
mov ecx, esi
call fcn.005a6e10
jmp 0x5a658d
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
or ecx, dword [esp + 0x38]
or eax, dword [esp + 0x1c]
jne 0x5a64a4
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x20]
or ecx, eax
mov dword [esi + 0x54], ecx
cmp dword [ebp], 0
jne 0x5a64c3
movzx eax, byte [esp + 0x10]
shl ax, 8
movzx ecx, ax
movzx eax, byte [esp + 0x11]
or ecx, eax
mov dword [ebp], ecx
mov ax, word [esp + 0x12]
mov ecx, dword [esp + 0x98]
or ecx, dword [esp + 0x78]
mov word [edi + 4], ax
mov eax, dword [esp + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x7c]
or eax, dword [esp + 0x5c]
jne 0x5a64f5
mov eax, dword [esp + 0x80]
or eax, dword [esp + 0x60]
or ecx, eax
or dword [esi + 0x54], ecx
cmp dword [edi + 0x40], 0
jne 0x5a658b
push 0x220
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esi + 0x24]
push 0x37
push ebx
call eax
add esp, 0x10
cmp eax, 0x220
jne 0x5a6558
mov cx, word [esp + 0xa4]
mov al, cl
shr al, 3
test al, 1
je 0x5a653b
lea eax, [esp + 0x140]
jmp 0x5a6582
shr cl, 2
test cl, 1
lea ecx, [edi + 0x2c]
je 0x5a654f
lea eax, [esp + 0x120]
jmp 0x5a6585
lea eax, [esp + 0x1c0]
jmp 0x5a6585
push 0x118
lea eax, [esp + 0x2c4]
push eax
mov eax, dword [esi + 0x24]
push 0xa
push ebx
call eax
add esp, 0x10
cmp eax, 0x118
jne 0x5a647b
lea eax, [esp + 0x2d8]
lea ecx, [edi + 0x2c]
push eax
call fcn.005975c0
xor eax, eax
mov ecx, dword [esp + 0x3d8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c4b26
add esp, 0x3cc
ret 0xc
Function at 0x5a9250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov ebp, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
test edi, edi
jle 0x5a92d1
mov ebp, dword [ebp + 0x2d8]
xor esi, esi
mov eax, dword [esi + ebp + 0x24]
mov edx, dword [esi + ebp + 0x78]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x2c4]
mov edx, dword [eax + ecx*4 + 4]
sub edx, dword [eax + ecx*4]
mov eax, 0x2aaaaaab
imul edx
mov ecx, dword [esi + ebp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, dword [esi + ebp + 0x1c]
lea eax, [eax + eax*4]
shl eax, 2
cmp ecx, dword [esi + ebp + 0x18]
je 0x5a92c2
add eax, eax
add ebx, eax
add esi, 0x90
dec edi
jne 0x5a9282
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x2e4]
mov ecx, ebp
mov edi, dword [esp + 0x40]
add eax, ebx
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
add esi, eax
push edi
push ebx
push esi
call fcn.005a91f0
mov eax, dword [ebp + 0x74]
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
lea eax, [ebp + 0x190]
push edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
movdqu xmm0, xmmword [esp + 0x24]
push ebx
push eax
movdqu xmmword [ebp + 0x1b8], xmm0
call fcn.005906f0
mov ecx, dword [esp + 0x3c]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c4b26
add esp, 0x20
ret 0x10
Function at 0x5abed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e9a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x13c], eax
push esi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov edx, dword [esp + 0x158]
mov esi, dword [esp + 0x15c]
push pe_nt_image_headers32
push 0
movzx eax, word [edx + 8]
mov word [esp + 0x13c], ax
movzx eax, word [edx + 0xa]
mov word [esp + 0x13e], ax
mov eax, dword [edx + 4]
xor eax, dword [ecx]
mov dword [esp + 0x140], eax
mov eax, dword [edx]
mov dword [esp + 0x144], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x148], eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x14], 0
call fcn.005c55e0
xor eax, eax
cmp byte [esp + 0x14], al
setne al
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00590580
lea eax, [esp + 0x48]
mov dword [esp + 0x164], 0
push eax
xor eax, eax
cmp byte [esp + 0x20], al
setne al
push eax
push 0x10
lea eax, [esp + 0x154]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00590bf0
lea eax, [esp + 0x15c]
push eax
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00590940
add esp, 0x34
lea eax, [esp + 0x134]
mov ecx, esi
push eax
call fcn.005e1d80
lea eax, [esp + 0xc]
mov dword [esp + 0x150], 0xffffffff
push eax
call fcn.00590920
add esp, 4
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.005c4b26
add esp, 0x14c
ret 8
Function at 0x5b1d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5eb4e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, ecx
xorps xmm0, xmm0
lea ecx, [esp + 0x18]
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.00546710
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov dword [esp + 0x30], 0
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x5b1e92
mov eax, dword [ebp]
lea esi, [ebp + 0x18]
push esi
mov ecx, ebp
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x5b1e92
push esi
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.005b1ee0
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
add ebp, 0xc
mov ecx, dword [esp + 0x1c]
sub eax, dword [ebp]
sar eax, 4
cmp eax, ecx
jae 0x5b1dd7
cmp ecx, 0xfffffff
jbe 0x5b1dcf
push 0x52f4f0
call fcn.005c36d7
push ecx
mov ecx, ebp
call fcn.005b22c0
mov edi, dword [esp + 0x18]
mov esi, dword [edi]
cmp esi, edi
je 0x5b1e8e
mov eax, dword [ebp + 4]
lea ebx, [esi + 0x10]
cmp ebx, eax
jae 0x5b1e0e
mov ecx, dword [ebp]
cmp ecx, ebx
ja 0x5b1e0e
sub ebx, ecx
cmp eax, dword [ebp + 8]
jne 0x5b1e06
push 1
mov ecx, ebp
call fcn.005b2440
and ebx, 0xfffffff0
add ebx, dword [ebp]
jmp 0x5b1e1c
cmp eax, dword [ebp + 8]
jne 0x5b1e1c
push 1
mov ecx, ebp
call fcn.005b2440
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x5b1e3b
mov dword [ecx], 0x52f300
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 0xc], eax
add dword [ebp + 4], 0x10
cmp byte [esi + 0xd], 0
jne 0x5b1e82
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x5b1e64
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x5b1e82
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x5b1e58
jmp 0x5b1e82
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x5b1e80
lea ecx, [ecx]
cmp esi, dword [eax + 8]
jne 0x5b1e80
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x5b1e70
mov esi, eax
cmp esi, edi
jne 0x5b1de5
mov edi, dword [esp + 0x18]
mov bl, 1
jmp 0x5b1e98
mov edi, dword [esp + 0x18]
xor bl, bl
push edi
push dword [edi]
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], 0xffffffff
push eax
lea ecx, [esp + 0x24]
call fcn.00549ac0
push dword [esp + 0x18]
call fcn.005c40d3
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.005c4b26
add esp, 0x1c
ret