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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2b4]
cmp eax, dword [ecx + 8]
jbe 0x5b7fc0
sub esp, 0x334
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x138]
mov eax, dword [ecx + 0x13c]
test edx, edx
je 0x5b7443
nop
movzx ebx, byte [0x825e48]
test bl, bl
je 0x5b7409
mov dword [0x825e4c], edx
mov ebx, dword [0x84c5a0]
test ebx, ebx
jne 0x5b73fe
mov dword [0x825e50], eax
jmp 0x5b7409
lea edi, [0x825e50]
call fcn.0045e940
mov dword [esp + 0x278], edx
mov dword [esp + 0x27c], eax
mov edx, dword [esp + 0x278]
test edx, edx
je 0x5b743b
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5b7449
or ebx, 0x80
jmp 0x5b7449
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x5b7449
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x1f
call fcn.004aebd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x64], eax
cmp eax, 9
ja 0x5b749c
cmp eax, 7
jne 0x5b7480
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5b74c2
cmp eax, 8
jne 0x5b748c
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x5b74c2
cmp eax, 9
jne 0x5b7f85
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x5b74c2
cmp eax, 0xa
jne 0x5b74a7
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5b74c2
cmp eax, 0xb
jne 0x5b74b5
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x5b74c2
cmp eax, 0xc
jne 0x5b7f85
mov ecx, dword [ecx]
xor ebx, ebx
test ebx, ebx
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x5b7a64
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x338]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x5b7529
lea edi, [esp + 0x98]
xor eax, eax
call fcn.0045eb88
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x635900]
cmp ecx, ebx
jne 0x5b7f6f
lea edi, [esp + 0x98]
call fcn.0045eea0
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x24]
sub ebx, ecx
jmp 0x5b7566
lea edi, [esp + 0x178]
xor eax, eax
call fcn.0045eb84
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x6353c0]
cmp ecx, ebx
jne 0x5b7f59
lea edi, [esp + 0x178]
call fcn.0045ee78
mov ecx, dword [esp + 0x190]
mov ebp, dword [esp + 0x24]
sub ebp, ecx
mov ebx, ebp
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.005b0530
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5b7594
mov edx, dword [0x8256f8]
xor ebx, ebx
jmp 0x5b75cc
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5b7f52
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp edx, 3
jbe 0x5b7f46
mov ebx, dword [ebp + ebx]
xor edx, edx
test edx, edx
jne 0x5b7a52
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ebx
lea eax, [0x630560]
mov dword [esp], eax
call fcn.0040b380
mov esi, dword [esp + 4]
mov dword [esp + 0x270], esi
mov eax, dword [esp + 0x30]
cmp eax, 1
je 0x5b76c3
cmp eax, 2
je 0x5b7685
cmp eax, 3
jne 0x5b764a
lea edi, [esp + 0x68]
call fcn.0045f058
lea eax, [0x630560]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x630560]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
jmp 0x5b76ff
lea edi, [esp + 0x68]
call fcn.0045f058
lea eax, [0x630560]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x630560]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
jmp 0x5b76ff
lea edi, [esp + 0x68]
call fcn.0045f058
lea eax, [0x630560]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x630560]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
add eax, 0xfffffffc
jmp 0x5b76ff
lea edi, [esp + 0x68]
call fcn.0045f058
lea eax, [0x630560]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x630560]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
add eax, 0xfffffff8
mov ecx, dword [esp + 0x50]
lea edx, [eax + ecx]
cmp ecx, edx
setb bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
xchg ebp, eax
cmp al, bl
xchg ebp, eax
jne 0x5b79e0
mov ebx, dword [esp + 0x338]
mov ebp, dword [ebx + 0x2ac]
cmp ebp, ecx
jbe 0x5b7733
cmp ebp, edx
jae 0x5b779e
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0
lea eax, [0x60c800]
mov dword [esp + 0x280], eax
lea eax, [0x6a47b4]
mov dword [esp + 0x284], eax
mov eax, dword [ebx + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x280]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.004fcbe0
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
lea edi, [esp + 0x68]
mov esi, dword [esp + 0x270]
call fcn.0045f058
lea eax, [0x630560]
mov dword [esp], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x630560]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b3990
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
lea ecx, [0x60c9c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00447cc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x290]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [esp + 0x34]
cmp edx, ebp
jb 0x5b7f3f
mov esi, dword [esp + 0x50]
cmp esi, ebp
ja 0x5b7f36
sub edx, esi
neg edx
sar edx, 0x1f
and edx, esi
add edx, ebx
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
jl 0x5b7844
mov ebx, ebp
mov dword [esp + 0x26c], eax
cmp eax, edx
je 0x5b785f
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0045f2b0
lea eax, [0x61fd00]
mov dword [esp], eax
call fcn.0040b380
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [0x84c5a0]
test eax, eax
jne 0x5b7890
mov eax, dword [esp + 0x26c]
mov dword [edi], eax
jmp 0x5b789c
mov eax, dword [esp + 0x26c]
call fcn.0045e940
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xffffffff
lea eax, [0x6a4be0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [0x6a5a00]
mov dword [esp + 8], eax
lea eax, [0x84c3cc]
mov dword [esp + 0xc], eax
lea eax, [0x5fd1e0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x270]
mov dword [esp + 0x14], eax
call fcn.004b2620
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5b796e
lea eax, [0x620d80]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0x274], eax
lea edi, [esp + 0x68]
mov esi, dword [esp + 0x270]
call fcn.0045f058
lea ecx, [0x630560]
mov dword [esp], ecx
lea edx, [esp + 0x68]
mov dword [esp + 4], edx
call fcn.00408c00
mov eax, dword [esp + 8]
lea ecx, [0x630560]
mov edx, dword [esp + 0x274]
mov dword [edx], ecx
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x5b7955
mov dword [edx + 4], eax
jmp 0x5b795d
lea edi, [edx + 4]
call fcn.0045e940
mov eax, dword [esp + 0x270]
mov ecx, dword [eax + 4]
xor ebx, ebx
jmp 0x5b7abb
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0
lea eax, [0x60c800]
mov dword [esp + 0x280], eax
lea eax, [0x6a47bc]
mov dword [esp + 0x284], eax
mov eax, dword [esp + 0x338]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x280]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.004fcbe0
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0
lea eax, [0x60c800]
mov dword [esp + 0x280], eax
lea eax, [0x6a47b4]
mov dword [esp + 0x284], eax
mov eax, dword [esp + 0x338]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x280]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.004fcbe0
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
mov dword [esp + 0x33c], 0
add esp, 0x334
ret
lea edi, [esi + 1]
mov dword [eax + 0xc], edi
lea esi, [esi + esi*2]
mov dword [ecx + esi*4], ebp
mov dword [ecx + esi*4 + 4], edx
mov ebp, dword [esp + 0x60]
test ebp, 1
xchg ebp, ebx
setne bl
xchg ebp, ebx
lea esi, [ecx + esi*4 + 8]
xchg ebp, eax
mov byte [esi], al
xchg ebp, eax
mov ebp, dword [esp + 0x4c]
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x40]
lea ecx, [ebp + 8]
mov eax, dword [esp + 0x270]
mov edx, dword [esp + 0x274]
cmp dword [eax + 8], ebx
jle 0x5b7c4a
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x338]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b0530
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5b7b01
mov ebx, dword [0x8256f8]
xor ebp, ebp
jmp 0x5b7b38
mov ebx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, dword [ecx + 0x290]
cmp ebx, eax
jb 0x5b7f2f
sub ebx, eax
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
cmp ebx, 3
jbe 0x5b7f23
mov ebp, dword [esi + ebp]
xor ebx, ebx
test ebx, ebx
jne 0x5b7c3c
test ebp, 1
je 0x5b7b4f
mov ebx, ebp
and ebp, 0xfffffffe
jmp 0x5b7b51
mov ebx, ebp
mov dword [esp + 0x60], ebx
lea esi, [eax + 4]
cmp edx, esi
jae 0x5b7b66
mov eax, dword [0x8256f8]
xor edx, edx
jmp 0x5b7ba3
mov edx, dword [ecx + 0x28c]
mov edi, dword [ecx + 0x288]
mov ebx, dword [ecx + 0x290]
cmp edx, esi
jb 0x5b7f1a
sub ebx, eax
sub edx, eax
add ebx, 0xfffffffc
neg ebx
sar ebx, 0x1f
and esi, ebx
add edx, 0xfffffffc
cmp edx, 3
jbe 0x5b7f0e
mov edx, dword [esi + edi]
mov ebx, dword [esp + 0x60]
xor eax, eax
test eax, eax
jne 0x5b7c2c
mov eax, dword [esp + 0x274]
mov esi, dword [eax + 0xc]
lea edi, [esi + 1]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0x10]
cmp ebx, edi
jae 0x5b7a76
mov dword [esp + 0x54], ebp
mov dword [esp + 0x2c], edx
lea eax, [0x620980]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x274]
mov dword [ebx + 0x10], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5b7c11
mov dword [ebx + 8], eax
jmp 0x5b7c19
lea edi, [ebx + 8]
call fcn.0045e940
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x54]
mov esi, ecx
mov ecx, eax
mov eax, ebx
jmp 0x5b7a76
mov eax, dword [esp + 0x270]
mov edx, dword [esp + 0x274]
jmp 0x5b7c4a
mov eax, dword [esp + 0x270]
mov edx, dword [esp + 0x274]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x5b7c55
xor ecx, ecx
jmp 0x5b7c76
mov dword [esp + 0x33c], edx
add esp, 0x334
ret
mov ebx, dword [esp + 0x48]
lea ecx, [ebx + 1]
lea ebx, [edx + 4]
mov edx, dword [esp + 0x274]
mov eax, ebx
cmp ecx, 0x400
jge 0x5b7c55
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x338]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005b0530
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5b7cbb
mov edx, dword [0x8256f8]
xor ebx, ebx
jmp 0x5b7cf2
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5b7f07
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 3
jbe 0x5b7efb
mov ebx, dword [eax + ebx]
xor edx, edx
test edx, edx
jne 0x5b7e23
mov dword [esp + 0x28], ebx
lea edi, [esp + 0x2b0]
xor eax, eax
call fcn.0045ebb5
mov ecx, dword [esp + 0x338]
mov edx, dword [ecx + 0xb0]
mov ebp, dword [ecx + 0xac]
test edx, edx
je 0x5b7d2e
mov esi, dword [esp + 0x3c]
xor edi, edi
jmp 0x5b7e45
lea edi, [esp + 0x2b0]
call fcn.0045ebb5
lea edi, [esp + 0x2dc]
lea esi, [esp + 0x2b0]
call fcn.0045f062
mov ecx, dword [esp + 0x2e0]
mov edx, dword [esp + 0x2e4]
mov ebp, dword [esp + 0x274]
mov esi, ecx
mov ecx, dword [ebp + 0x18]
mov edi, edx
lea edx, [ecx + 1]
mov ebx, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x1c]
cmp ebp, edx
jae 0x5b7ddb
mov dword [esp + 0x268], esi
mov dword [esp + 0x5c], edi
lea eax, [0x620a00]
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 + 0x274]
mov dword [ebx + 0x1c], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5b7dc4
mov dword [ebx + 0x14], eax
jmp 0x5b7dcc
lea edi, [ebx + 0x14]
call fcn.0045e940
mov esi, dword [esp + 0x268]
mov edi, dword [esp + 0x5c]
mov ebx, eax
xor eax, eax
lea edx, [ecx + 1]
mov ebp, dword [esp + 0x274]
mov dword [ebp + 0x18], edx
shl ecx, 4
mov edx, dword [esp + 0x3c]
mov dword [ebx + ecx], edx
mov ebp, dword [esp + 0x28]
mov dword [ebx + ecx + 4], ebp
mov dword [ebx + ecx + 0xc], edi
mov ebp, dword [0x84c5a0]
lea edi, [ebx + ecx + 8]
test ebp, ebp
jne 0x5b7e15
mov dword [ebx + ecx + 8], esi
jmp 0x5b7c63
mov eax, esi
call fcn.0045e940
xor eax, eax
jmp 0x5b7c63
mov edx, dword [esp + 0x274]
jmp 0x5b7c55
add ebp, 0x2c
mov ebx, dword [esp + 0x3c]
mov ebx, esi
mov esi, dword [esp + 0x3c]
mov edi, ecx
mov ecx, dword [esp + 0x338]
mov dword [esp + 0x5c], edi
lea edi, [esp + 0x308]
mov esi, ebp
call fcn.0045f062
mov ecx, dword [esp + 0x318]
mov esi, ebx
mov ebx, dword [esp + 0x314]
test ecx, ecx
je 0x5b7e7d
mov dword [esp + 0x58], ecx
mov edi, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
jmp 0x5b7ea9
mov ecx, dword [esp + 0x5c]
inc ecx
cmp edx, ecx
jg 0x5b7e2f
mov ecx, dword [esp + 0x338]
mov ebx, esi
jmp 0x5b7d2e
add ebx, 0x28
mov ecx, edx
mov edx, edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], ebp
mov ebp, esi
mov esi, dword [esp + 0x28]
lea edi, [esp + 0x288]
mov esi, ebx
call fcn.0045f06c
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x2a8], ecx
je 0x5b7edf
mov esi, ebp
mov ebp, dword [esp + 0x20]
inc ebp
mov edi, edx
mov edx, dword [esp + 0x58]
cmp edx, ebp
jg 0x5b7e94
mov edx, edi
mov ebp, esi
mov esi, dword [esp + 0x28]
jmp 0x5b7e7d
lea edi, [esp + 0x2b0]
lea esi, [esp + 0x308]
call fcn.0045f062
mov ebx, dword [esp + 0x28]
jmp 0x5b7d3a
mov eax, 3
mov ecx, edx
call fcn.0045e9c0
mov ecx, edx
call fcn.0045ea30
mov eax, 3
mov ecx, edx
call fcn.0045e9c0
mov eax, esi
mov ecx, edx
call fcn.0045ea30
mov eax, 3
mov ecx, ebx
call fcn.0045e9c0
mov ecx, ebx
call fcn.0045ea30
mov eax, esi
mov ecx, ebp
call fcn.0045ea30
mov ecx, ebp
call fcn.0045ea10
mov eax, 3
mov ecx, edx
call fcn.0045e9c0
mov ecx, edx
call fcn.0045ea30
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x60c180]
mov dword [esp + 8], eax
call fcn.00408a40
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x60c180]
mov dword [esp + 8], eax
call fcn.00408a40
lea eax, [0x61ad60]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x646e69]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
lea ecx, [0x612b20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433c20
nop
call fcn.0045d530
jmp fcn.005b73a0