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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x539148
sub esp, 0x60
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x64]
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x40], ebx
lea ebp, [ecx + ebx]
mov dword [esp + 0x3c], ebp
mov esi, dword [edx + 8]
mov dword [esp + 0x4c], esi
mov edi, dword [eax + 8]
mov edx, dword [eax]
cmp ebp, edi
ja 0x539109
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edx
cmp ebp, edi
ja 0x539102
add ecx, edx
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.0044a7d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 8], eax
mov eax, dword [0x77c810]
test eax, eax
jne 0x5390e9
mov eax, dword [esp + 0x4c]
mov dword [ecx], eax
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0x10]
test edx, 0x20
je 0x5390d4
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], 0
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x58]
xor esi, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], ebp
mov edi, dword [eax + 0x10]
test edi, 7
je 0x53894b
test edi, 1
jne 0x538ebf
mov edi, dword [eax + 0x10]
test edi, 6
jne 0x538bf2
mov eax, dword [eax + 0x10]
test eax, 0x18
je 0x538a9f
test eax, 0x10
je 0x538be2
mov eax, dword [esp + 0x80]
lea edx, [eax - 1]
mov ebx, dword [esp + 0x7c]
test edx, edx
jle 0x538992
cmp edx, eax
jae 0x538bdb
movzx ebp, byte [ebx + edx]
xchg ebp, eax
cmp al, 0x2f
xchg ebp, eax
je 0x538bbb
dec edx
test edx, edx
jg 0x538976
mov edx, ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], edx
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x44], ebp
lea esi, [eax + ebp]
mov dword [esp + 0x40], esi
mov edi, dword [ecx + 8]
cmp esi, edi
ja 0x538b79
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], edi
cmp esi, edi
ja 0x538b72
add ebp, ebx
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0044a7d0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 8], eax
mov eax, dword [0x77c810]
test eax, eax
jne 0x538b59
mov eax, dword [esp + 0x4c]
mov dword [ecx], eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
lea ebp, [edx + 1]
cmp ebp, eax
jg 0x538af3
lea eax, [edx + 1]
mov dword [ecx + 4], eax
mov byte [ebx + edx], 0x3a
mov dword [esp], ecx
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xffffffff
call fcn.005386b0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov ebx, dword [eax + 8]
lea ebp, [edx + 2]
mov dword [esp + 0x40], ebp
cmp ebp, ebx
ja 0x538abc
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], ebx
cmp ebp, ebx
ja 0x538ab5
add edx, ecx
mov dword [esp], edx
lea edx, [0x64acb4]
mov dword [esp + 4], edx
mov dword [esp + 8], 2
call fcn.0044a7d0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 8], eax
mov eax, dword [0x77c810]
test eax, eax
jne 0x538aa3
mov eax, dword [esp + 0x4c]
mov dword [ecx], eax
add esp, 0x60
ret
mov dword [esp], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040d580
jmp 0x538a9f
call fcn.004246c0
ud2
lea esi, [0x60ce40]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00437350
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
jmp 0x538a55
lea esi, [0x60ce40]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 8], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x538b43
mov dword [ebx], eax
mov eax, dword [ebx]
mov ecx, ebx
mov edx, dword [esp + 0x44]
mov ebx, eax
jmp 0x538a15
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
jmp 0x538b34
mov dword [esp], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x68]
jmp 0x538a02
call fcn.004246c0
ud2
lea ecx, [0x60ce40]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
call fcn.00437350
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
jmp 0x5389ba
inc edx
cmp edx, eax
ja 0x538bd4
sub eax, edx
lea ebp, [eax - 1]
sar ebp, 0x1f
xor ebp, 0xffffffff
and edx, ebp
add edx, ebx
jmp 0x538994
call fcn.004246c0
ud2
call fcn.00424660
ud2
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
jmp 0x538994
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call fcn.00472480
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.005386b0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
lea ebp, [ecx + 1]
cmp ebp, ebx
jg 0x538e5f
lea ebx, [ecx + 1]
mov dword [eax + 4], ebx
mov byte [edx + ecx], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.005386b0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
lea ebp, [edx + 1]
cmp ebp, ebx
jg 0x538dfb
lea ebx, [edx + 1]
mov dword [eax + 4], ebx
mov byte [ecx + edx], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.005386b0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x10]
test ecx, 4
jne 0x538d40
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 8]
lea esi, [edx + 1]
cmp esi, ebp
jg 0x538cd9
lea ebp, [edx + 1]
mov dword [ecx + 4], ebp
mov byte [ebx + edx], 0x20
jmp 0x53894b
lea edi, [0x60ce40]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 8], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x538d2a
mov dword [ebx], eax
mov ebp, dword [ebx]
mov eax, dword [esp + 0x64]
mov ecx, ebx
mov edx, dword [esp + 0x44]
mov ebx, ebp
jmp 0x538cca
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
jmp 0x538d1a
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 8]
lea esi, [edx + 1]
cmp esi, ebp
jg 0x538d91
lea ebp, [edx + 1]
mov dword [ecx + 4], ebp
mov byte [ebx + edx], 0x2e
mov dword [esp], ecx
mov eax, dword [esp + 0x28]
mov ebx, 0x10624dd3
imul ebx
sar edx, 6
mov ebx, dword [esp + 0x28]
sar ebx, 0x1f
sub edx, ebx
mov dword [esp + 4], edx
mov dword [esp + 8], 6
call fcn.005386b0
mov eax, dword [esp + 0x64]
jmp 0x538cb7
lea edi, [0x60ce40]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 8], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x538de5
mov dword [ebx], eax
mov ebp, dword [ebx]
mov eax, dword [esp + 0x64]
mov ecx, ebx
mov edx, dword [esp + 0x44]
mov ebx, ebp
jmp 0x538d53
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
jmp 0x538dd2
lea esi, [0x60ce40]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 8], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x538e49
mov dword [ebx], eax
mov ebp, dword [ebx]
mov eax, ebx
mov edx, ecx
mov ecx, ebp
jmp 0x538c82
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
jmp 0x538e3c
lea esi, [0x60ce40]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 8], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x538ea9
mov dword [ebx], eax
mov edx, dword [ebx]
mov eax, ebx
jmp 0x538c49
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
jmp 0x538ea0
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call fcn.00472300
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.005386b0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
lea ebp, [edx + 1]
cmp ebp, ebx
jg 0x539070
lea ebx, [edx + 1]
mov dword [eax + 4], ebx
mov byte [ecx + edx], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.005386b0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
lea ebp, [edx + 1]
cmp ebp, ebx
jg 0x53900c
lea ebx, [edx + 1]
mov dword [eax + 4], ebx
mov byte [ecx + edx], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.005386b0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
lea ebp, [edx + 1]
cmp ebp, ecx
jg 0x538fab
lea edi, [edx + 1]
mov dword [eax + 4], edi
mov byte [ebx + edx], 0x20
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x48]
jmp 0x53893c
lea esi, [0x60ce40]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 8], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x538ff6
mov dword [ebx], eax
mov ebp, dword [ebx]
mov eax, ebx
mov edx, ecx
mov ebx, ebp
jmp 0x538f84
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
jmp 0x538fec
lea esi, [0x60ce40]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 8], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x53905a
mov dword [ebx], eax
mov ebp, dword [ebx]
mov eax, ebx
mov edx, ecx
mov ecx, ebp
jmp 0x538f4f
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
jmp 0x53904d
lea esi, [0x60ce40]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 8], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x5390be
mov dword [ebx], eax
mov ebp, dword [ebx]
mov eax, ebx
mov edx, ecx
mov ecx, ebp
jmp 0x538f16
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
jmp 0x5390b1
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
jmp 0x538915
mov dword [esp], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x68]
jmp 0x5388d4
call fcn.004246c0
ud2
lea eax, [0x60ce40]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.00437350
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x4c]
jmp 0x53888c
call fcn.00448420
jmp fcn.00538830