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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x110]
cmp eax, dword [ecx + 8]
jbe 0x5b472f
sub esp, 0x190
mov eax, dword [esp + 0x198]
test eax, eax
je 0x5b3e4f
mov eax, dword [eax + 8]
cmp eax, 0x3147a19a
jne 0x5b3e19
mov eax, dword [esp + 0x198]
lea ecx, [0x5fd5a0]
cmp eax, ecx
jne 0x5b3e47
mov eax, dword [esp + 0x19c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
xor ebx, ebx
jmp 0x5b3e55
cmp eax, 0x742020cf
jne 0x5b3e47
mov eax, dword [esp + 0x198]
lea ecx, [0x5fd320]
cmp eax, ecx
jne 0x5b3e47
mov edx, dword [esp + 0x19c]
mov ebx, dword [edx]
test ebx, ebx
sete bl
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
jmp 0x5b3e55
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5b3e55
xor ebx, ebx
xor ecx, ecx
xor eax, eax
mov byte [esp + 0x27], bl
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x194]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], bl
call fcn.005b2800
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x5b400d
mov dword [esp + 0x148], ebx
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x194]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 8], ecx
movzx ecx, byte [esp + 0x27]
mov byte [esp + 0xc], cl
call fcn.005b2800
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x5b3fd7
test ebx, ebx
jne 0x5b3f3b
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x5b3f47
mov eax, dword [0x825680]
mov ecx, dword [0x825684]
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], ecx
add esp, 0x190
ret
mov eax, edx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x5b3f52
mov ecx, edx
mov eax, ecx
mov edx, dword [esp + 0x148]
jmp 0x5b3f5c
test ebx, ebx
je 0x5b3fa1
mov eax, edx
mov edx, ebp
mov ecx, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14c], edx
mov dword [esp + 0x158], ebp
mov dword [esp + 0x44], ebx
mov esi, dword [esp + 0x194]
xor edi, edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
mov dword [esp + 0x38], edi
lea edi, [0x84c3cc]
mov dword [esp + 0x154], edi
xor edi, edi
jmp 0x5b407c
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
add esp, 0x190
ret
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], edx
add esp, 0x190
ret
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], edx
add esp, 0x190
ret
mov edi, dword [esp + 0x40]
inc edi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x14c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x154], ebp
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x158]
mov esi, dword [esp + 0x194]
cmp edi, ecx
jae 0x5b450d
mov dword [esp + 0x40], edi
lea edi, [esp + 0x168]
xor eax, eax
call fcn.0045ebb6
mov ecx, dword [esp + 0x40]
mov edi, ebp
lea ebp, [ecx + ecx*2]
mov dword [esp + 0x54], ebp
mov ebx, dword [edx + ebp*4]
test ebx, ebx
seta bl
mov edx, dword [edx + ebp*4 + 4]
test edx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
seta cl
and ebp, ebx
or ecx, ebp
test cl, cl
je 0x5b436b
and edx, 0x80000000
test edx, edx
jbe 0x5b41ba
mov byte [esp + 0x172], 1
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14c]
mov ebx, dword [edx + ecx*4]
and ebx, 0xffff
mov dword [esp + 0x174], ebx
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
cmp ebx, ebp
jae 0x5b4139
mov ebp, dword [esp + 0x148]
mov edx, dword [ebp + ecx*4 + 4]
mov eax, dword [ebp + ecx*4]
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], edx
mov eax, dword [ebp + ecx*4 + 8]
mov dword [esp + 0x18c], eax
xor eax, eax
mov edx, dword [esp + 0x14c]
mov ebp, dword [esp + 0x3c]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
jae 0x5b4161
mov ebp, dword [edi + ecx*4 + 4]
mov edx, dword [edi + ecx*4]
mov dword [esp + 0x180], edx
mov dword [esp + 0x184], ebp
mov ecx, dword [edi + ecx*4 + 8]
mov dword [esp + 0x188], ecx
mov eax, dword [esp + 0x174]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.0049e8b0
mov dword [esp], 0
lea eax, [0x63bf15]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.0044b330
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
jmp 0x5b435b
movzx ecx, byte [esp + 0x27]
test cl, cl
je 0x5b4216
mov edx, edi
lea edi, [esp + 0x58]
call fcn.0045eb84
mov ecx, dword [esi + 0x78]
mov ebx, dword [esi + 0x7c]
lea ebp, [0x6353c0]
cmp ecx, ebp
jne 0x5b4718
lea edi, [esp + 0x58]
mov esi, ebx
call fcn.0045ee78
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x14c]
mov ebp, dword [ebx + ecx*4]
mov eax, dword [esp + 0x70]
sub ebp, eax
mov eax, dword [ebx + ecx*4 + 4]
mov esi, edx
mov edx, dword [esp + 0x74]
mov dword [ebx + ecx*4], ebp
sbb eax, edx
mov dword [ebx + ecx*4 + 4], eax
jmp 0x5b4223
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x14c]
mov esi, edi
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
cmp eax, edx
jae 0x5b425f
mov ebp, dword [esp + 0x148]
mov edi, dword [ebp + ecx*4]
mov edx, dword [ebp + ecx*4 + 4]
mov dword [esp + 0x178], edi
and edx, 0x7fffffff
mov dword [esp + 0x17c], edx
mov edx, dword [ebp + ecx*4 + 8]
mov dword [esp + 0x18c], edx
jmp 0x5b4266
mov ebp, dword [esp + 0x148]
mov edx, dword [esp + 0x44]
cmp eax, edx
jae 0x5b4294
mov edi, dword [esi + ecx*4]
mov edx, dword [esi + ecx*4 + 4]
mov dword [esp + 0x180], edi
and edx, 0x7fffffff
mov dword [esp + 0x184], edx
mov edx, dword [esi + ecx*4 + 8]
mov dword [esp + 0x188], edx
mov eax, dword [ebx + ecx*4]
mov edx, dword [esp + 0x194]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005b0530
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x194]
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5b4711
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 1
jbe 0x5b4705
movzx eax, word [ebx + eax]
mov word [esp + 0x170], ax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x14c]
mov eax, dword [edx + eax*4]
add eax, 2
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x200
call fcn.005b0970
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b0000
movzx eax, byte [esp + 8]
test al, al
jne 0x5b435b
lea ecx, [0x640230]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], 9
xor eax, eax
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x174]
test edx, edx
jne 0x5b43bc
test ecx, ecx
jne 0x5b43bc
mov ecx, dword [0x81fad8]
mov dword [esp + 0x15c], ecx
mov edx, dword [0x81fadc]
mov dword [esp + 0x48], edx
mov ebx, dword [esi + 0x274]
mov dword [esp + 0x30], ebx
mov ebp, dword [esi + 0x270]
mov dword [esp + 0x150], ebp
xor eax, eax
mov dword [esp + 0x54], eax
xor eax, eax
jmp 0x5b45c2
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
cmp ecx, 9
jne 0x5b4439
mov dword [esp], edx
lea eax, [0x640230]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004025e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5b4429
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x3e8
jbe 0x5b4407
mov edx, dword [esp + 0x40]
cmp ecx, edx
jne 0x5b440b
jmp 0x5b454e
mov edx, dword [esp + 0x40]
inc ecx
xor eax, eax
mov edx, dword [esp + 0x158]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x154]
jmp 0x5b4043
xor eax, eax
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x38]
cmp ebx, edx
jb 0x5b4451
mov ebp, dword [esp + 0x154]
jmp 0x5b449d
lea eax, [0x62c640]
mov dword [esp], eax
mov ebp, dword [esp + 0x154]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc ecx
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
mov ebp, eax
mov ebx, edx
xor eax, eax
mov edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], edx
mov edx, dword [0x84c5a0]
lea ecx, [ecx + ecx*4]
lea ecx, [ebp + ecx*8]
test edx, edx
jne 0x5b44c4
mov edx, edi
mov edi, ecx
lea esi, [esp + 0x168]
call fcn.0045f06c
jmp 0x5b4500
mov dword [esp + 0x164], ebp
mov dword [esp + 0x50], ebx
lea eax, [0x62c640]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x168]
mov dword [esp + 8], eax
call fcn.00410410
xor eax, eax
mov edx, dword [esp + 0x158]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x164]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
jmp 0x5b4043
mov eax, dword [esp + 0x154]
mov dword [esp + 0x1a4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1a8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
add esp, 0x190
ret
lea eax, [0x615260]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x651412]
mov dword [eax], ecx
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
lea ecx, [0x6a4c44]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
add esp, 0x190
ret
inc ecx
mov ebp, dword [esp + 0x150]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x54]
cmp ecx, ebx
jge 0x5b462f
lea ebp, [ebp + ecx*8]
mov ebx, dword [ebp + 4]
mov ebp, dword [ebp]
cmp ebx, edx
jne 0x5b45ab
mov dword [esp], ebp
mov eax, dword [esp + 0x15c]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004025e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5b4612
xor eax, eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
jmp 0x5b45ab
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
cmp ecx, edx
mov eax, 0
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
jl 0x5b43bc
mov ecx, dword [esi + 0x274]
lea edx, [ecx + 1]
mov ebx, dword [esi + 0x270]
mov ebp, dword [esi + 0x278]
cmp ebp, edx
jae 0x5b46af
lea eax, [0x60c800]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x194]
mov dword [ebx + 0x278], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5b4697
mov dword [ebx + 0x270], eax
jmp 0x5b46a2
lea edi, [ebx + 0x270]
call fcn.0045e940
mov esi, ebx
mov edi, dword [esp + 0x158]
mov ebx, eax
xor eax, eax
lea edx, [ecx + 1]
mov dword [esi + 0x274], edx
mov edx, dword [0x81fad8]
mov dword [esp + 0x160], edx
mov ebp, dword [0x81fadc]
lea edx, [ebx + ecx*8 + 4]
mov dword [edx], ebp
mov edx, dword [0x84c5a0]
lea ecx, [ebx + ecx*8]
test edx, edx
jne 0x5b46ec
mov edx, dword [esp + 0x160]
mov dword [ecx], edx
jmp 0x5b43bc
mov edx, edi
mov edi, ecx
mov eax, dword [esp + 0x160]
call fcn.0045e940
xor eax, eax
mov edi, edx
jmp 0x5b43bc
mov eax, 1
mov ecx, edx
call fcn.0045e9c0
mov ecx, edx
call fcn.0045ea30
mov dword [esp], ecx
mov dword [esp + 4], ebp
lea eax, [0x60c180]
mov dword [esp + 8], eax
call fcn.00408a40
nop
call fcn.0045d530
jmp fcn.005b3dc0