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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x298]
cmp eax, dword [ecx + 8]
jbe 0x5d1b39
sub esp, 0x318
lea edi, [esp + 0x2b0]
xor eax, eax
call fcn.00462939
lea edi, [esp + 0x2cc]
call fcn.0046292d
lea ecx, [esp + 0x2cc]
mov dword [esp + 0x2bc], ecx
call fcn.0044fd90
mov ecx, dword [esp]
mov dword [esp + 0x2b8], ecx
lea edi, [esp + 0x294]
xor eax, eax
call fcn.00462939
lea edi, [esp + 0x74]
call fcn.00462933
lea ecx, [esp + 0x74]
mov dword [esp + 0x2a0], ecx
call fcn.0044fd90
mov ecx, dword [esp]
mov dword [esp + 0x29c], ecx
mov ecx, dword [esp + 0x320]
test ecx, ecx
je 0x5d1116
mov edx, dword [esp + 0x324]
mov ebx, dword [esp + 0x31c]
mov eax, ecx
xor ebp, ebp
mov esi, 0xffffffff
xor edi, edi
xor eax, eax
mov dword [esp + 0x24], eax
xor ecx, ecx
mov dword [esp + 0x28], ecx
lea ecx, [0x87ba98]
mov dword [esp + 0x268], ecx
mov eax, dword [esp + 0x320]
mov ecx, eax
jmp 0x5d11a4
mov dword [esp + 0x32c], 0
mov dword [esp + 0x330], 0
mov dword [esp + 0x334], 0
mov dword [esp + 0x338], 0
mov dword [esp + 0x33c], 0
add esp, 0x318
ret
lea esi, [eax + edx*8]
mov dword [esi], ecx
lea ecx, [eax + edx*8 + 4]
mov edx, dword [esp + 0x20]
mov dword [ecx], edx
lea ecx, [edx + 4]
mov edx, dword [esp + 0x324]
mov esi, dword [esp + 0x31c]
mov edi, dword [esp + 0x320]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x268], eax
mov eax, dword [esp + 0x320]
mov ebx, dword [esp + 0x31c]
mov ebp, dword [esp + 0x2c]
add edx, eax
cmp ecx, edx
jae 0x5d150a
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], ecx
cmp ebp, 0xf
jb 0x5d1204
mov edx, dword [0x84f198]
mov dword [esp + 0x280], edx
mov ebp, dword [0x84f19c]
mov dword [esp + 0x50], ebp
mov ecx, dword [ebx + 0x274]
mov dword [esp + 0x44], ecx
mov ebx, dword [ebx + 0x270]
mov dword [esp + 0x274], ebx
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
jmp 0x5d19da
mov edx, edi
sub edi, esi
cmp edi, 0x8000000
jbe 0x5d1253
mov edi, edx
mov edx, dword [0x84f190]
mov dword [esp + 0x27c], edx
mov ebp, dword [0x84f194]
mov dword [esp + 0x4c], ebp
mov ecx, dword [ebx + 0x274]
mov dword [esp + 0x40], ecx
mov ebx, dword [ebx + 0x270]
mov dword [esp + 0x270], ebx
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x64]
jmp 0x5d185c
movzx edx, byte [esp + 0x328]
test dl, dl
je 0x5d12c9
lea edi, [esp + 0x188]
xor eax, eax
call fcn.00462908
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x7c]
lea ebp, [0x652a00]
cmp ecx, ebp
jne 0x5d1829
lea edi, [esp + 0x188]
mov esi, edx
call fcn.00462c20
lea edi, [esp + 0xa8]
lea esi, [esp + 0x188]
call fcn.00462c20
mov eax, dword [esp + 0xc4]
mov dword [esp], ebx
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 4], ecx
call fcn.005cf880
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
jne 0x5d12e2
jmp 0x5d1583
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.005cf880
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x5d167c
mov dword [esp + 0x30], eax
lea ecx, [0x631680]
mov dword [esp], ecx
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x288], eax
mov ecx, dword [esp + 0x31c]
mov dword [esp], ecx
lea edx, [0x618c40]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 4
call fcn.005d05a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5d163e
mov ecx, dword [esp + 0x288]
mov edx, dword [ecx]
test edx, edx
je 0x5d1542
mov ebx, dword [esp + 0x320]
cmp ebx, edx
ja 0x5d1361
mov ebp, dword [esp + 0x20]
cmp ebp, edx
jb 0x5d1365
jmp 0x5d15c1
mov ebp, dword [esp + 0x20]
test edx, 0x80000000
jbe 0x5d13cb
and edx, 0x7fffffff
cmp edx, 0xffff
jbe 0x5d16ba
mov edx, dword [0x84f168]
mov dword [esp + 0x278], edx
mov esi, dword [0x84f16c]
mov dword [esp + 0x48], esi
mov eax, ebx
mov ebx, dword [esp + 0x31c]
mov edi, ecx
mov ecx, dword [ebx + 0x274]
mov dword [esp + 0x3c], ecx
mov ebp, dword [ebx + 0x270]
mov dword [esp + 0x26c], ebp
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x6c]
jmp 0x5d16e7
lea eax, [0x62ab80]
mov dword [esp], eax
lea ecx, [esp + 0x294]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040e3c0
movzx eax, byte [esp + 0x10]
test al, al
je 0x5d13fa
mov eax, dword [esp + 0x2c]
lea ebp, [eax + 1]
jmp 0x5d142b
mov eax, dword [esp + 0x288]
mov ecx, dword [eax]
lea edx, [0x62ab80]
mov dword [esp], edx
lea ebx, [esp + 0x294]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0040e520
mov eax, dword [esp + 0xc]
mov byte [eax], 1
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x288]
mov ecx, dword [eax]
mov edx, dword [esp + 0x38]
cmp edx, ecx
jae 0x5d1440
mov edx, ecx
jmp 0x5d1446
mov edx, ecx
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
cmp ebx, edx
ja 0x5d1450
mov edx, ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], ebp
lea eax, [0x62aac0]
mov dword [esp], eax
lea ebx, [esp + 0x2b0]
mov dword [esp + 4], ebx
mov esi, dword [esp + 0x20]
mov dword [esp + 8], esi
call fcn.0040e520
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x87bd00]
test eax, eax
jne 0x5d1498
mov ecx, dword [esp + 0x288]
mov dword [edi], ecx
jmp 0x5d14a6
mov eax, dword [esp + 0x288]
call fcn.004626c0
mov ecx, eax
mov ecx, dword [ecx]
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jb 0x5d14c3
mov eax, dword [esp + 0x268]
jmp 0x5d1154
mov dword [esp + 0x58], ecx
lea eax, [0x636980]
mov dword [esp], eax
mov ecx, dword [esp + 0x268]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x58]
mov ebp, edx
mov edx, dword [esp + 0x24]
jmp 0x5d1154
mov eax, dword [ebx + 0x2c0]
mov dword [esp], eax
lea eax, [0x66d59e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x39
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.00511620
mov eax, dword [esp + 0x268]
mov dword [esp + 0x32c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x330], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x334], eax
mov dword [esp + 0x338], 0
mov dword [esp + 0x33c], 0
add esp, 0x318
ret
mov dword [esp + 0x32c], 0
mov dword [esp + 0x330], 0
mov dword [esp + 0x334], 0
mov dword [esp + 0x338], 0
mov dword [esp + 0x33c], 0
add esp, 0x318
ret
mov dword [esp + 0x28c], 0
mov dword [esp + 0x290], 0
mov dword [esp], ebp
call fcn.00409090
mov eax, dword [esp + 4]
lea ecx, [0x6283e0]
mov dword [esp + 0x28c], ecx
mov dword [esp + 0x290], eax
mov eax, dword [esp + 0x31c]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [0x66f04a]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x5d
lea eax, [esp + 0x28c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00511620
jmp 0x5d1542
mov dword [esp + 0x32c], 0
mov dword [esp + 0x330], 0
mov dword [esp + 0x334], 0
mov dword [esp + 0x338], 0
mov dword [esp + 0x33c], 0
add esp, 0x318
ret
mov dword [esp + 0x32c], 0
mov dword [esp + 0x330], 0
mov dword [esp + 0x334], 0
mov dword [esp + 0x338], 0
mov dword [esp + 0x33c], 0
add esp, 0x318
ret
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
jmp 0x5d1450
lea edx, [ebx + 1]
mov ebp, dword [esp + 0x26c]
mov ebx, dword [esp + 0x31c]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x278]
mov ebx, dword [esp + 0x54]
cmp ebx, ecx
jge 0x5d1750
lea edx, [ebp + ebx*8]
mov ebp, dword [edx + 4]
mov edx, dword [edx]
cmp ebp, esi
jne 0x5d16cb
mov dword [esp], edx
mov eax, dword [esp + 0x278]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5d1738
mov eax, dword [esp + 0x320]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x288]
jmp 0x5d16cb
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
mov eax, dword [esp + 0x320]
mov edi, dword [esp + 0x288]
jl 0x5d181c
mov ecx, dword [esp + 0x31c]
mov edx, dword [ecx + 0x274]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x270]
mov esi, dword [ecx + 0x278]
cmp esi, ebx
jae 0x5d17de
lea eax, [0x6282a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x31c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x87bd00]
test edx, edx
jne 0x5d17bf
mov dword [ebx + 0x270], eax
jmp 0x5d17ca
lea edi, [ebx + 0x270]
call fcn.004626c0
mov edi, dword [esp + 0x288]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x320]
mov ecx, ebx
lea ebx, [edx + 1]
mov dword [ecx + 0x274], ebx
mov ebx, dword [0x84f168]
mov esi, dword [0x84f16c]
lea ecx, [ebp + edx*8 + 4]
mov dword [ecx], esi
mov ecx, dword [0x87bd00]
lea edx, [ebp + edx*8]
test ecx, ecx
jne 0x5d180b
mov dword [edx], ebx
jmp 0x5d181c
mov ecx, edi
mov edi, edx
mov ebp, eax
mov eax, ebx
call fcn.004626c0
mov eax, ebp
mov edi, ecx
mov ecx, edi
mov ebx, eax
mov ebp, dword [esp + 0x20]
jmp 0x5d16ba
mov dword [esp], ecx
mov dword [esp + 4], ebp
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
lea ecx, [edx + 1]
mov ebx, dword [esp + 0x270]
mov edx, dword [esp + 0x40]
mov edx, dword [esp + 0x27c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
cmp edx, ecx
jge 0x5d18c2
lea ebx, [ebx + edx*8]
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ecx, ebp
jne 0x5d183f
mov dword [esp], ebx
mov eax, dword [esp + 0x27c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5d18a9
mov eax, dword [esp + 0x320]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
jmp 0x5d183f
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
cmp ecx, edx
mov eax, dword [esp + 0x320]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
jl 0x5d19a7
mov ecx, dword [esp + 0x31c]
mov edx, dword [ecx + 0x274]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x270]
mov ecx, dword [ecx + 0x278]
cmp ecx, ebx
jae 0x5d194f
lea eax, [0x6282a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x31c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x87bd00]
test edx, edx
jne 0x5d1931
mov dword [ebx + 0x270], eax
jmp 0x5d193c
lea edi, [ebx + 0x270]
call fcn.004626c0
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x320]
lea ecx, [edx + 1]
mov ebx, dword [esp + 0x31c]
mov dword [ebx + 0x274], ecx
mov ecx, dword [0x84f190]
mov dword [esp + 0x284], ecx
mov ebx, dword [0x84f194]
lea ecx, [ebp + edx*8 + 4]
mov dword [ecx], ebx
mov ecx, dword [0x87bd00]
lea edx, [ebp + edx*8]
test ecx, ecx
jne 0x5d1991
mov ecx, dword [esp + 0x284]
mov dword [edx], ecx
jmp 0x5d19a7
mov ecx, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0x284]
call fcn.004626c0
mov eax, ebx
mov edi, ecx
mov ecx, dword [esp + 0x20]
mov edx, edi
mov ebx, dword [esp + 0x31c]
mov ebp, dword [esp + 0x2c]
jmp 0x5d1253
lea ecx, [edx + 1]
mov ebx, dword [esp + 0x274]
mov edx, dword [esp + 0x44]
mov edx, dword [esp + 0x280]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x54]
cmp edx, ecx
jge 0x5d1a40
lea ebx, [ebx + edx*8]
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ecx, ebp
jne 0x5d19bd
mov dword [esp], ebx
mov eax, dword [esp + 0x280]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5d1a27
mov eax, dword [esp + 0x320]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
jmp 0x5d19bd
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
cmp ecx, edx
mov eax, dword [esp + 0x320]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
jl 0x5d1b25
mov ecx, dword [esp + 0x31c]
mov edx, dword [ecx + 0x274]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x270]
mov ecx, dword [ecx + 0x278]
cmp ecx, ebx
jae 0x5d1acd
lea eax, [0x6282a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x31c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x87bd00]
test edx, edx
jne 0x5d1aaf
mov dword [ebx + 0x270], eax
jmp 0x5d1aba
lea edi, [ebx + 0x270]
call fcn.004626c0
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x320]
lea ecx, [edx + 1]
mov ebx, dword [esp + 0x31c]
mov dword [ebx + 0x274], ecx
mov ecx, dword [0x84f198]
mov dword [esp + 0x284], ecx
mov ebx, dword [0x84f19c]
lea ecx, [ebp + edx*8 + 4]
mov dword [ecx], ebx
mov ecx, dword [0x87bd00]
lea edx, [ebp + edx*8]
test ecx, ecx
jne 0x5d1b0f
mov ecx, dword [esp + 0x284]
mov dword [edx], ecx
jmp 0x5d1b25
mov ecx, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0x284]
call fcn.004626c0
mov eax, ebx
mov edi, ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x31c]
mov ebp, dword [esp + 0x2c]
jmp 0x5d1204
call fcn.004612b0
jmp fcn.005d1040