Function at 0x5ba227
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [ebp - 0x10], 0x6147f4
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0x100]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xac], 0x30
mov eax, dword [ebp - 0xac]
mov eax, dword fs:[eax]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
add eax, 0xc
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
cmp dword [ebp - 0xc0], eax
je 0x5ba3ad
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xa8], 0
je 0x5ba2f8
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0xa8]
mov dword [eax], edx
cmp dword [ebp - 0xa4], 0
jne 0x5ba30f
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x18]
jmp 0x5ba3b2
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
lea edx, [eax + eax]
mov eax, dword [ebp - 0xc8]
add eax, edx
movzx eax, word [eax]
test ax, ax
je 0x5ba37c
mov eax, dword [ebp - 0xd0]
lea edx, [eax + eax]
mov eax, dword [ebp - 0xc8]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
mov dword [esp], eax
call fcn.005ba1b3
movzx eax, ax
add dword [ebp - 0xcc], eax
add dword [ebp - 0xd0], 1
jmp 0x5ba332
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0xa4], eax
sete al
test al, al
je 0x5ba39a
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x18]
jmp 0x5ba3b2
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
mov dword [ebp - 0x110], eax
jmp 0x5ba2c0
mov eax, 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0x30
mov eax, dword [ebp - 0x7c]
mov eax, dword fs:[eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
add eax, 0xc
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x114]
mov eax, dword [eax]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x90], eax
je 0x5ba503
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x78], 0
je 0x5ba454
mov eax, dword [ebp - 0x94]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x78]
mov dword [eax], edx
cmp dword [ebp - 0x74], 0
jne 0x5ba468
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0x18]
jmp 0x5ba508
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x98]
add eax, edx
movzx eax, word [eax]
test ax, ax
je 0x5ba4d5
mov eax, dword [ebp - 0xa0]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x98]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
mov dword [esp], eax
call fcn.005ba1b3
movzx eax, ax
add dword [ebp - 0x9c], eax
add dword [ebp - 0xa0], 1
jmp 0x5ba48b
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x74], eax
sete al
test al, al
je 0x5ba4f0
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0x18]
jmp 0x5ba508
mov eax, dword [ebp - 0x114]
mov eax, dword [eax]
mov dword [ebp - 0x114], eax
jmp 0x5ba422
mov eax, 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x5ba531
mov eax, 0
jmp 0x5ba653
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 0x3c]
add eax, edx
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x78]
add eax, edx
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x20]
add eax, edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x58]
jbe 0x5ba64e
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x58]
lea ecx, [eax*4]
mov eax, dword [ebp - 0x54]
add eax, ecx
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x68]
add eax, edx
movzx edx, byte [eax]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
add eax, ecx
movzx eax, byte [eax]
cmp dl, al
jne 0x5ba5f1
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x68]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x5ba5e4
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
add eax, edx
movzx eax, byte [eax]
test al, al
jne 0x5ba5eb
mov eax, 1
jmp 0x5ba5f6
add dword [ebp - 0x68], 1
jmp 0x5ba5ac
mov eax, 0
test al, al
je 0x5ba645
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x1c]
add eax, edx
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x24]
add eax, edx
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x58]
lea ecx, [eax + eax]
mov eax, dword [ebp - 0x70]
add eax, ecx
movzx eax, word [eax]
movzx eax, ax
lea ecx, [eax*4]
mov eax, dword [ebp - 0x6c]
add eax, ecx
mov eax, dword [eax]
add eax, edx
jmp 0x5ba653
add dword [ebp - 0x58], 1
jmp 0x5ba56e
mov eax, 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
test eax, eax
je 0x5ba6e9
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.005ba188
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
cmp byte [ebp - 0x25], al
je 0x5ba6ac
mov eax, dword [ebp - 0x24]
add eax, 1
movzx eax, byte [eax]
cmp byte [ebp - 0x25], al
je 0x5ba6ac
mov dword [esp], 1
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 4
jmp 0x5baa57
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.005ba1e1
mov dword [ebp - 0x2c], eax
add dword [ebp - 0x24], 4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
je 0x5ba6e9
mov eax, dword [ebp - 0x24]
add eax, 4
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
je 0x5ba6e9
mov dword [esp], 1
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 4
jmp 0x5baa57
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.kernel32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0xc]
cmp edx, eax
seta al
test al, al
je 0x5ba77c
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0xc]
add edx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
add eax, ecx
mov edx, dword [edx]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0xc], eax
jmp 0x5ba743
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x10c]
test eax, eax
jne 0x5ba7a2
mov eax, 0
jmp 0x5ba927
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 0x3c]
add eax, edx
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x78]
add eax, edx
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 0x20]
add eax, edx
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0xe4]
jbe 0x5ba922
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xe4]
lea ecx, [eax*4]
mov eax, dword [ebp - 0xe0]
add eax, ecx
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xf4], 0
mov edx, dword [ebp - 0xec]
mov eax, dword [ebp - 0xf4]
add eax, edx
movzx edx, byte [eax]
mov ecx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf4]
add eax, ecx
movzx eax, byte [eax]
cmp dl, al
jne 0x5ba8ad
mov edx, dword [ebp - 0xec]
mov eax, dword [ebp - 0xf4]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x5ba89d
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf4]
add eax, edx
movzx eax, byte [eax]
test al, al
jne 0x5ba8a4
mov eax, 1
jmp 0x5ba8b2
add dword [ebp - 0xf4], 1
jmp 0x5ba84d
mov eax, 0
test al, al
je 0x5ba916
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 0x1c]
add eax, edx
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 0x24]
add eax, edx
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0xe4]
lea ecx, [eax + eax]
mov eax, dword [ebp - 0xfc]
add eax, ecx
movzx eax, word [eax]
movzx eax, ax
lea ecx, [eax*4]
mov eax, dword [ebp - 0xf8]
add eax, ecx
mov eax, dword [eax]
add eax, edx
jmp 0x5ba927
add dword [ebp - 0xe4], 1
jmp 0x5ba7f1
mov eax, 0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x5baa46
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x108]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
sub esp, 0x10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov edx, eax
mov eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
cmp edx, eax
seta al
test al, al
je 0x5ba9c6
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
add eax, edx
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
add eax, edx
mov edx, dword [ebp - 0x40]
add edx, ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0xc], eax
jmp 0x5ba98b
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x48]
lea ecx, [eax*4]
mov eax, dword [ebp - 0x34]
add eax, ecx
mov dword [eax], edx
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
lea eax, [ebp - 0x108]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
sub esp, 0x10
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x34]
add eax, 0xc
mov eax, dword [eax]
add edx, eax
mov eax, dword [ebp - 0x34]
add eax, edx
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
add dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
jmp 0x5baa47
nop
mov dword [esp], 1
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 4
nop
leave
ret