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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x519cc7
sub esp, 0x6c
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x519a3b
mov eax, dword [esp + 0x7c]
test eax, eax
jne 0x51993b
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x84]
test edx, edx
je 0x519900
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0x134]
mov ebp, dword [esp + 0x88]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
test eax, eax
jne 0x5198ee
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
call fcn.0050e140
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x5198dc
mov eax, dword [esp + 0x70]
mov byte [eax + 0x13c], 1
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x38], ebx
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0048c070
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x38]
test edx, edx
je 0x5196ea
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00519420
mov edx, dword [esp + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.00519420
mov edx, dword [esp + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x148], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x5196d5
mov edx, dword [esp + 0x54]
mov dword [ebx + 0x14c], edx
mov dword [ebx + 0x150], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x5196c8
mov dword [ebx + 0x154], eax
lea eax, [0x607da0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x5d7ec0]
mov dword [esp + 8], eax
lea eax, [0x626fc4]
mov dword [esp + 0xc], eax
call fcn.00415170
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x6c
ret
lea edi, [ebx + 0x154]
call fcn.0045de10
jmp 0x519688
lea edi, [ebx + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x54]
call fcn.0045de10
mov eax, edx
jmp 0x519672
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0048c150
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x5197f8
mov dword [esp + 0x64], ecx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00519420
mov edx, dword [esp + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.00519420
mov edx, dword [esp + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x148], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x5197e3
mov edx, dword [esp + 0x50]
mov dword [ebx + 0x14c], edx
mov dword [ebx + 0x150], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x5197d6
mov dword [ebx + 0x154], eax
lea eax, [0x607da0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x5d7ec0]
mov dword [esp + 8], eax
lea eax, [0x626fc4]
mov dword [esp + 0xc], eax
call fcn.00415170
jmp 0x5196ae
lea edi, [ebx + 0x154]
call fcn.0045de10
jmp 0x5197ab
lea edi, [ebx + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x50]
call fcn.0045de10
mov eax, edx
jmp 0x519795
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00519420
mov edx, dword [esp + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
lea edx, [0x5e5940]
mov dword [esp], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 8], edx
call fcn.00409310
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0x148], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x5198c7
mov edx, dword [esp + 0x4c]
mov dword [ebx + 0x14c], edx
mov dword [ebx + 0x150], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x5198ba
mov dword [ebx + 0x154], eax
lea eax, [0x607da0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x5d7ec0]
mov dword [esp + 8], eax
lea eax, [0x626fc4]
mov dword [esp + 0xc], eax
call fcn.00415170
jmp 0x5196ae
lea edi, [ebx + 0x154]
call fcn.0045de10
jmp 0x51988f
lea edi, [ebx + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045de10
mov eax, edx
jmp 0x519879
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x6c
ret
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x6c
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0050e020
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x519929
mov eax, dword [esp + 0x70]
xor ebx, ebx
xor ebp, ebp
jmp 0x5195c3
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x6c
ret
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 8]
test eax, eax
jne 0x519a29
test esi, esi
jne 0x519985
mov eax, esi
mov ecx, ebx
jmp 0x519518
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.0048bf90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5199be
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
jmp 0x51997c
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], edx
lea eax, [0x5eada0]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x60f31d]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x519a17
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
lea ecx, [0x65eb90]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x6c
ret
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0045de10
mov eax, ecx
jmp 0x5199ff
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x6c
ret
nop
lea eax, [0x5e49a0]
mov dword [esp], eax
call fcn.0040b8d0
mov edi, dword [esp + 4]
mov eax, dword [0x7a0970]
test eax, eax
jne 0x519cad
mov ebx, dword [esp + 0x70]
mov dword [edi], ebx
mov dword [esp + 0x60], edi
mov ebp, dword [esp + 0x84]
test ebp, ebp
jne 0x519c7e
mov esi, dword [esp + 0x7c]
test esi, esi
jne 0x519c4f
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], ecx
mov edx, ebp
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
cmp esi, 4
jne 0x519bcb
cmp dword [ebp], 0x78696e75
jne 0x519b07
mov ebp, dword [ebx + 0x140]
mov esi, dword [ebx + 0x144]
mov edx, dword [esp + 0x8c]
mov ebx, dword [edx]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
lea eax, [0x660348]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x519508
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
add esp, 0x6c
ret
mov ebp, dword [ebx + 0x144]
mov esi, dword [ebx + 0x140]
lea edi, [ebp - 1]
cmp ebp, edi
jbe 0x519cbd
movzx edi, byte [ebp + esi - 1]
xchg edi, eax
cmp al, 0x34
xchg edi, eax
jne 0x519b3d
mov edi, dword [esp + 0x60]
mov edi, esi
mov esi, ebp
mov ebp, edi
mov edi, dword [esp + 0x60]
jmp 0x519ab9
xchg edi, eax
cmp al, 0x36
xchg edi, eax
je 0x519b2a
cmp dword [ebx + 0x134], 2
jne 0x519b8c
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea eax, [0x65a1da]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004484b0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
jmp 0x519ab9
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea eax, [0x65bb48]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004484b0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
jmp 0x519ab9
cmp esi, 8
jne 0x519bef
cmp dword [ebp], 0x78696e75
jne 0x519b07
cmp dword [ebp + 4], 0x6d617267
je 0x519aad
jmp 0x519b07
cmp esi, 0xa
jne 0x519b07
mov dword [esp], ebp
lea eax, [0x61085e]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004028b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x519c33
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x60]
jmp 0x519aad
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x60]
jmp 0x519b07
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x60]
jmp 0x519a85
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x60]
jmp 0x519a85
mov eax, dword [esp + 0x70]
call fcn.0045de10
mov ebx, eax
jmp 0x519a62
mov eax, edi
mov ecx, ebp
call fcn.0045de90
nop
call fcn.0045c8b0
jmp fcn.005194e0