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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2e8]
cmp eax, dword [ecx + 8]
jbe 0x5d276c
sub esp, 0x368
lea edi, [esp + 0x300]
xor eax, eax
call fcn.00462939
lea edi, [esp + 0x31c]
call fcn.0046292d
lea ecx, [esp + 0x31c]
mov dword [esp + 0x30c], ecx
call fcn.0044fd90
mov ecx, dword [esp]
mov dword [esp + 0x308], ecx
lea edi, [esp + 0x2e4]
xor eax, eax
call fcn.00462939
lea edi, [esp + 0x84]
call fcn.0046292b
lea ecx, [esp + 0x84]
mov dword [esp + 0x2f0], ecx
call fcn.0044fd90
mov ecx, dword [esp]
mov dword [esp + 0x2ec], ecx
mov ecx, dword [esp + 0x370]
test ecx, ecx
je 0x5d1c41
mov edx, dword [esp + 0x374]
mov ebx, dword [esp + 0x36c]
mov eax, ecx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x40], eax
mov ecx, 0xffffffff
mov dword [esp + 0x38], ecx
mov eax, 0xffffffff
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x28], eax
lea eax, [0x87ba98]
mov dword [esp + 0x2b8], eax
mov eax, dword [esp + 0x370]
mov ecx, eax
jmp 0x5d1ccd
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
lea ebx, [ebx + ebx*2]
mov dword [esi + ebx*4], edx
mov dword [esi + ebx*4 + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + ebx*4 + 8], eax
add eax, 8
mov edx, dword [esp + 0x374]
mov ebx, dword [esp + 0x36c]
mov edi, dword [esp + 0x370]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2b8], esi
mov ecx, eax
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x370]
add edx, eax
cmp ecx, edx
jae 0x5d214d
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], ecx
cmp esi, 0xf
setae dl
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
seta cl
and ebp, edx
or ecx, ebp
test cl, cl
je 0x5d1d42
mov ecx, dword [0x84f198]
mov dword [esp + 0x2d0], ecx
mov edx, dword [0x84f19c]
mov dword [esp + 0x5c], edx
mov ebp, dword [ebx + 0x274]
mov dword [esp + 0x50], ebp
mov ebx, dword [ebx + 0x270]
mov dword [esp + 0x2c4], ebx
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
jmp 0x5d2615
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
sub ecx, edx
mov edx, dword [esp + 0x3c]
sbb edi, edx
cmp ecx, 0x8000000
seta cl
test edi, edi
mov edi, edx
sete dl
xchg ebp, ebx
seta bl
xchg ebp, ebx
and edx, ecx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5d1db4
mov ecx, dword [0x84f190]
mov dword [esp + 0x2cc], ecx
mov edx, dword [0x84f194]
mov dword [esp + 0x58], edx
mov ebp, dword [ebx + 0x274]
mov dword [esp + 0x4c], ebp
mov ebx, dword [ebx + 0x270]
mov dword [esp + 0x2c0], ebx
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
jmp 0x5d24a7
movzx ecx, byte [esp + 0x378]
test cl, cl
je 0x5d1e2a
lea edi, [esp + 0x1c8]
xor eax, eax
call fcn.00462904
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x7c]
lea ebp, [0x6524c0]
cmp ecx, ebp
jne 0x5d247a
lea edi, [esp + 0x1c8]
mov esi, edx
call fcn.00462bf8
lea edi, [esp + 0xd8]
lea esi, [esp + 0x1c8]
call fcn.00462bf8
mov eax, dword [esp + 0xf0]
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 0x5d1e47
jmp 0x5d21c6
mov dword [esp], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.005cf880
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x5d22bf
mov dword [esp + 0x34], eax
lea ecx, [0x6316e0]
mov dword [esp], ecx
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0x2d8], eax
mov ecx, dword [esp + 0x36c]
mov dword [esp], ecx
lea edx, [0x618c80]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 8
call fcn.005d05a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5d2281
mov ecx, dword [esp + 0x2d8]
mov edx, dword [ecx + 4]
test edx, edx
sete bl
mov ebp, dword [ecx]
test ebp, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5d2185
mov esi, dword [esp + 0x370]
cmp esi, ebp
mov eax, esi
xchg esi, ebx
setbe bl
xchg esi, ebx
test edx, edx
mov edi, ecx
seta cl
and esi, ebx
or esi, ecx
xchg esi, eax
test al, al
xchg esi, eax
je 0x5d1f00
mov ecx, dword [esp + 0x20]
cmp ecx, ebp
xchg esi, ebx
setae bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x5d1f04
jmp 0x5d2204
mov ecx, dword [esp + 0x20]
mov ebx, edx
and edx, 0x80000000
test edx, edx
jbe 0x5d1f72
and ebp, 0x7fffffff
cmp ebp, 0xffff
seta dl
and edx, 1
test dl, dl
je 0x5d22fd
mov edx, dword [0x84f168]
mov dword [esp + 0x2c8], edx
mov ebx, dword [0x84f16c]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x36c]
mov esi, dword [ebp + 0x274]
mov dword [esp + 0x48], esi
mov ecx, dword [ebp + 0x270]
mov dword [esp + 0x2bc], ecx
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x7c]
jmp 0x5d233d
lea eax, [0x62ac80]
mov dword [esp], eax
lea ecx, [esp + 0x2e4]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebp
call fcn.0040ef00
movzx eax, byte [esp + 0x14]
test al, al
je 0x5d1fac
mov esi, dword [esp + 0x2c]
add esi, 1
mov ebp, dword [esp + 0x30]
adc ebp, 0
jmp 0x5d1fe8
mov eax, dword [esp + 0x2d8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [0x62ac80]
mov dword [esp], ebx
lea ebp, [esp + 0x2e4]
mov dword [esp + 4], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
call fcn.0040f070
mov eax, dword [esp + 0x10]
mov byte [eax], 1
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x2d8]
mov ecx, dword [eax]
mov edx, dword [esp + 0x40]
cmp edx, ecx
setb bl
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x44]
cmp eax, edi
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setb bl
xchg esi, ebx
and ebp, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5d2029
mov eax, edi
mov edx, ecx
jmp 0x5d2035
mov eax, edi
mov edx, ecx
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 0x38]
cmp ebx, edx
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov esi, dword [esp + 0x3c]
cmp esi, eax
sete cl
xchg edi, ebx
seta bl
xchg edi, ebx
and ebp, ecx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5d2068
mov eax, esi
mov edx, ebx
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
lea edi, [0x62ab00]
mov dword [esp], edi
lea edi, [esp + 0x300]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 8], edi
call fcn.0040e520
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x87bd00]
test eax, eax
jne 0x5d20cc
mov ecx, dword [esp + 0x2d8]
mov dword [edi], ecx
jmp 0x5d20da
mov eax, dword [esp + 0x2d8]
call fcn.004626c0
mov ecx, eax
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, dword [esp + 0x24]
lea ebp, [ebx + 1]
mov eax, ecx
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
jb 0x5d20fc
mov esi, dword [esp + 0x2b8]
jmp 0x5d1c7f
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
lea eax, [0x6369e0]
mov dword [esp], eax
mov edx, dword [esp + 0x2b8]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0044b2b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ebx, dword [esp + 0x24]
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
jmp 0x5d1c7f
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 + 0x2b8]
mov dword [esp + 0x37c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x380], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
mov dword [esp + 0x2dc], 0
mov dword [esp + 0x2e0], 0
mov dword [esp], ecx
call fcn.00409090
mov eax, dword [esp + 4]
lea ecx, [0x6283e0]
mov dword [esp + 0x2dc], ecx
mov dword [esp + 0x2e0], eax
mov eax, dword [esp + 0x36c]
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 + 0x2dc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00511620
jmp 0x5d2185
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
jmp 0x5d2078
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x2bc]
mov edx, dword [esp + 0x2c8]
mov ebp, dword [esp + 0x36c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2bc]
mov ebp, dword [esp + 0x60]
cmp ebp, esi
jge 0x5d23a5
lea edx, [ecx + ebp*8]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
cmp ecx, ebx
jne 0x5d231a
mov dword [esp], edx
mov eax, dword [esp + 0x2c8]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5d238d
mov eax, dword [esp + 0x370]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x2d8]
jmp 0x5d231a
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
cmp ecx, edx
mov eax, dword [esp + 0x370]
mov edi, dword [esp + 0x2d8]
jl 0x5d2471
mov ecx, dword [esp + 0x36c]
mov edx, dword [ecx + 0x274]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x270]
mov esi, dword [ecx + 0x278]
cmp esi, ebx
jae 0x5d2433
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 + 0x36c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x87bd00]
test edx, edx
jne 0x5d2414
mov dword [ebx + 0x270], eax
jmp 0x5d241f
lea edi, [ebx + 0x270]
call fcn.004626c0
mov edi, dword [esp + 0x2d8]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x370]
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 0x5d2460
mov dword [edx], ebx
jmp 0x5d2471
mov ecx, edi
mov edi, edx
mov ebp, eax
mov eax, ebx
call fcn.004626c0
mov eax, ebp
mov edi, ecx
mov ecx, dword [esp + 0x20]
jmp 0x5d22fd
mov dword [esp], ecx
mov dword [esp + 4], ebp
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
inc ecx
mov ebx, dword [esp + 0x2c0]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2cc]
mov ecx, dword [esp + 0x60]
cmp ecx, ebp
jge 0x5d250d
lea ebx, [ebx + ecx*8]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ebp, edx
jne 0x5d2490
mov dword [esp], ebx
mov eax, dword [esp + 0x2cc]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5d24f4
mov eax, dword [esp + 0x370]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
jmp 0x5d2490
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x4c]
cmp ecx, edx
mov eax, dword [esp + 0x370]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
jl 0x5d25f2
mov ecx, dword [esp + 0x36c]
mov edx, dword [ecx + 0x274]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x270]
mov ecx, dword [ecx + 0x278]
cmp ecx, ebx
jae 0x5d259a
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 + 0x36c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x87bd00]
test edx, edx
jne 0x5d257c
mov dword [ebx + 0x270], eax
jmp 0x5d2587
lea edi, [ebx + 0x270]
call fcn.004626c0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x370]
lea ecx, [edx + 1]
mov ebx, dword [esp + 0x36c]
mov dword [ebx + 0x274], ecx
mov ecx, dword [0x84f190]
mov dword [esp + 0x2d4], 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 0x5d25dc
mov ecx, dword [esp + 0x2d4]
mov dword [edx], ecx
jmp 0x5d25f2
mov ecx, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0x2d4]
call fcn.004626c0
mov eax, ebx
mov edi, ecx
mov ebx, dword [esp + 0x36c]
jmp 0x5d1db4
inc ecx
mov ebx, dword [esp + 0x2c4]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2d0]
mov ecx, dword [esp + 0x60]
cmp ecx, ebp
jge 0x5d267b
lea ebx, [ebx + ecx*8]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ebp, edx
jne 0x5d25fe
mov dword [esp], ebx
mov eax, dword [esp + 0x2d0]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5d2662
mov eax, dword [esp + 0x370]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
jmp 0x5d25fe
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x50]
cmp ecx, edx
mov eax, dword [esp + 0x370]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
jl 0x5d2760
mov ecx, dword [esp + 0x36c]
mov edx, dword [ecx + 0x274]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x270]
mov ecx, dword [ecx + 0x278]
cmp ecx, ebx
jae 0x5d2708
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 + 0x36c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x87bd00]
test edx, edx
jne 0x5d26ea
mov dword [ebx + 0x270], eax
jmp 0x5d26f5
lea edi, [ebx + 0x270]
call fcn.004626c0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x370]
lea ecx, [edx + 1]
mov ebx, dword [esp + 0x36c]
mov dword [ebx + 0x274], ecx
mov ecx, dword [0x84f198]
mov dword [esp + 0x2d4], 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 0x5d274a
mov ecx, dword [esp + 0x2d4]
mov dword [edx], ecx
jmp 0x5d2760
mov ecx, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0x2d4]
call fcn.004626c0
mov eax, ebx
mov edi, ecx
mov ebx, dword [esp + 0x36c]
jmp 0x5d1d42
call fcn.004612b0
jmp fcn.005d1b50