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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2e4]
cmp eax, dword [ecx + 8]
jbe 0x5b5e4a
sub esp, 0x364
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0x138]
mov eax, dword [ecx + 0x13c]
test edx, edx
je 0x5b5343
nop
movzx ebx, byte [0x825e48]
test bl, bl
je 0x5b5309
mov dword [0x825e4c], edx
mov ebx, dword [0x84c5a0]
test ebx, ebx
jne 0x5b52fe
mov dword [0x825e50], eax
jmp 0x5b5309
lea edi, [0x825e50]
call fcn.0045e940
mov dword [esp + 0x284], edx
mov dword [esp + 0x288], eax
mov edx, dword [esp + 0x284]
test edx, edx
je 0x5b533b
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5b5349
or ebx, 0x80
jmp 0x5b5349
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x5b5349
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x264], eax
mov dword [esp + 0x260], edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x18
call fcn.004aebd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x7c], eax
cmp eax, 9
ja 0x5b53a8
cmp eax, 7
jne 0x5b5390
mov eax, dword [ecx]
jmp 0x5b53c5
cmp eax, 8
jne 0x5b539a
movzx eax, byte [ecx]
jmp 0x5b53c5
cmp eax, 9
jne 0x5b5e0f
movzx eax, word [ecx]
jmp 0x5b53c5
cmp eax, 0xa
jne 0x5b53b1
mov eax, dword [ecx]
jmp 0x5b53c5
cmp eax, 0xb
jne 0x5b53ba
mov eax, dword [ecx]
jmp 0x5b53c5
cmp eax, 0xc
jne 0x5b5e0f
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x260]
mov dword [esp], ecx
mov edx, dword [esp + 0x264]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x17
call fcn.004aebd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x7c], eax
cmp eax, 9
ja 0x5b542e
cmp eax, 7
jne 0x5b5412
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b5452
cmp eax, 8
jne 0x5b541e
movzx eax, byte [ecx]
xor ecx, ecx
jmp 0x5b5452
cmp eax, 9
jne 0x5b5dd5
movzx eax, word [ecx]
xor ecx, ecx
jmp 0x5b5452
cmp eax, 0xa
jne 0x5b5439
mov eax, dword [ecx]
xor ecx, ecx
jmp 0x5b5452
cmp eax, 0xb
jne 0x5b5445
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5b5452
cmp eax, 0xc
jne 0x5b5dd5
mov eax, dword [ecx]
xor ecx, ecx
test ecx, ecx
seta dl
sete bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebx, ebp
or ebx, edx
test bl, bl
je 0x5b566f
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x34]
and edx, 0xf0000000
shr edx, 0x1c
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x368]
movzx ebp, byte [ebx + 0x294]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b5583
mov eax, dword [esp + 0x260]
mov dword [esp], eax
mov eax, dword [esp + 0x264]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x16
call fcn.004aebd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x7c], eax
cmp eax, 9
ja 0x5b54fb
cmp eax, 7
jne 0x5b54e3
mov ecx, dword [ecx]
jmp 0x5b5518
cmp eax, 8
jne 0x5b54ed
movzx ecx, byte [ecx]
jmp 0x5b5518
cmp eax, 9
jne 0x5b5d9b
movzx ecx, word [ecx]
jmp 0x5b5518
cmp eax, 0xa
jne 0x5b5504
mov ecx, dword [ecx]
jmp 0x5b5518
cmp eax, 0xb
jne 0x5b550d
mov ecx, dword [ecx]
jmp 0x5b5518
cmp eax, 0xc
jne 0x5b5d9b
mov ecx, dword [ecx]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x90]
xor eax, eax
call fcn.0045eb88
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0x78]
mov esi, dword [ecx + 0x7c]
lea ebx, [0x635900]
cmp edx, ebx
jne 0x5b5d85
lea edi, [esp + 0x90]
call fcn.0045eea0
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x368]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005b0530
mov eax, dword [esp + 8]
mov ecx, 1
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x5b5a51
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x260]
mov dword [esp], eax
mov eax, dword [esp + 0x264]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x16
call fcn.004aebd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x7c], eax
cmp eax, 9
ja 0x5b55e6
cmp eax, 7
jne 0x5b55ce
mov ecx, dword [ecx]
jmp 0x5b5603
cmp eax, 8
jne 0x5b55d8
movzx ecx, byte [ecx]
jmp 0x5b5603
cmp eax, 9
jne 0x5b59ff
movzx ecx, word [ecx]
jmp 0x5b5603
cmp eax, 0xa
jne 0x5b55ef
mov ecx, dword [ecx]
jmp 0x5b5603
cmp eax, 0xb
jne 0x5b55f8
mov ecx, dword [ecx]
jmp 0x5b5603
cmp eax, 0xc
jne 0x5b59ff
mov ecx, dword [ecx]
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x170]
xor eax, eax
call fcn.0045eb84
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0x78]
mov esi, dword [ecx + 0x7c]
lea ebx, [0x6353c0]
cmp edx, ebx
jne 0x5b59e9
lea edi, [esp + 0x170]
call fcn.0045ee78
mov eax, dword [esp + 0x188]
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, dword [esp + 0x368]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b0530
mov eax, dword [esp + 8]
mov ecx, 1
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x5b56aa
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x36c], edx
mov dword [esp + 0x370], ecx
mov dword [esp + 0x374], eax
add esp, 0x364
ret
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov eax, ebp
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x278]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebp
mov edi, dword [esp + 0x38]
cmp edx, edi
setb bl
mov ebp, dword [esp + 0x30]
cmp ecx, ebp
xchg ebp, ebx
setbe bl
xchg ebp, ebx
cmp edx, edi
xchg edi, ebx
sete bl
xchg edi, ebx
and ebp, edi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b5940
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x270], esi
mov dword [esp + 0x40], eax
lea eax, [0x60c9c0]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
mov ebx, dword [esp + 0x40]
cmp ebx, edx
jbe 0x5b5726
mov edx, dword [0x8256f8]
xor ebp, ebp
jmp 0x5b575d
mov edx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, dword [ecx + 0x290]
cmp ebx, edx
ja 0x5b59e0
sub edx, ebx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
cmp edx, 3
jbe 0x5b59d4
mov ebp, dword [esi + ebp]
xor edx, edx
test edx, edx
jne 0x5b5915
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x78]
test edx, edx
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, 1
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5b578a
xor eax, eax
xor esi, esi
xor edi, edi
jmp 0x5b581b
mov dword [esp + 0x27c], eax
mov dword [esp], ecx
lea ebp, [0x601320]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
lea esi, [ebx + 4]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.005b1250
mov eax, dword [esp + 0x27c]
movzx eax, byte [eax]
cmp al, 1
je 0x5b57c6
cmp al, 2
jne 0x5b57fe
mov byte [esp + 0x23], al
lea edi, [esp + 0x28c]
xor eax, eax
call fcn.0045ebb7
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0xbc]
mov ebx, dword [ecx + 0xb8]
test edx, edx
je 0x5b594f
mov ebp, dword [esp + 0x54]
xor esi, esi
jmp 0x5b5992
xor ecx, ecx
xor edx, edx
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x54]
mov esi, eax
mov edi, ecx
mov ecx, dword [esp + 0x368]
mov eax, edx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x64]
cmp ebx, edx
jb 0x5b5848
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x270]
mov dword [esp + 0x278], eax
mov eax, dword [esp + 0x88]
jmp 0x5b58ac
mov dword [esp + 0x268], eax
mov dword [esp + 0x58], edi
xchg esi, eax
mov byte [esp + 0x21], al
xchg esi, eax
lea eax, [0x620800]
mov dword [esp], eax
mov ebp, dword [esp + 0x270]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00447e40
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x268]
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x278], esi
movzx esi, byte [esp + 0x21]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ebx
mov edx, dword [esp + 0x48]
add edx, 1
mov dword [esp + 0x74], edx
shl ecx, 4
mov edx, dword [esp + 0x278]
mov dword [edx + ecx], ebp
xchg esi, eax
mov byte [edx + ecx + 4], al
xchg esi, eax
mov dword [edx + ecx + 0xc], edi
mov ebp, dword [esp + 0x48]
add ebp, 1
mov ebp, dword [esp + 0x4c]
adc ebp, 0
mov dword [esp + 0x70], ebp
mov esi, dword [0x84c5a0]
lea edi, [edx + ecx + 8]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
lea ebp, [ebp + ebx + 4]
test esi, esi
jne 0x5b590b
mov dword [edx + ecx + 8], eax
jmp 0x5b5691
call fcn.0045e940
jmp 0x5b5691
mov eax, dword [esp + 0x270]
mov dword [esp + 0x36c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x370], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x374], eax
add esp, 0x364
ret
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, esi
jmp 0x5b5675
lea edi, [esp + 0x28c]
call fcn.0045ebb7
lea edi, [esp + 0x2d4]
lea esi, [esp + 0x28c]
call fcn.0045f076
mov edx, dword [esp + 0x2e4]
mov ecx, dword [esp + 0x2e8]
movzx eax, byte [esp + 0x23]
jmp 0x5b5802
add ebx, 0x24
mov esi, ecx
mov ecx, dword [esp + 0x368]
mov dword [esp + 0x6c], esi
lea edi, [esp + 0x31c]
mov esi, ebx
call fcn.0045f076
cmp dword [esp + 0x320], ebp
je 0x5b59bf
mov ecx, dword [esp + 0x6c]
inc ecx
cmp edx, ecx
jg 0x5b5986
mov ecx, dword [esp + 0x368]
jmp 0x5b594f
lea edi, [esp + 0x28c]
lea esi, [esp + 0x31c]
call fcn.0045f076
jmp 0x5b595b
mov eax, 3
mov ecx, edx
call fcn.0045e9c0
mov eax, ebx
mov ecx, edx
call fcn.0045ea30
mov dword [esp], edx
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 + 0x7c]
mov dword [eax + 8], ecx
lea ecx, [0x612b20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433c20
mov edi, dword [esp + 0x50]
lea ecx, [edi + 1]
mov eax, ebx
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x274]
mov esi, dword [esp + 0x30]
cmp ecx, esi
ja 0x5b5cde
mov dword [esp + 0x64], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x270], ebp
mov dword [esp + 0x44], eax
lea eax, [0x60c9c0]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
mov ebx, dword [esp + 0x44]
cmp ebx, edx
jbe 0x5b5aa8
mov edx, dword [0x8256f8]
xor ebp, ebp
jmp 0x5b5adf
mov edx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, dword [ecx + 0x290]
cmp ebx, edx
ja 0x5b5d7c
sub edx, ebx
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
cmp edx, 3
jbe 0x5b5d70
mov ebp, dword [esi + ebp]
xor edx, edx
test edx, edx
jne 0x5b5cb3
mov dword [esp + 0x3c], ebp
mov edx, dword [esp + 0x78]
test edx, edx
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, 1
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5b5b0c
xor eax, eax
xor esi, esi
xor edi, edi
jmp 0x5b5ba9
mov dword [esp + 0x280], eax
mov dword [esp], ecx
lea ebp, [0x601320]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
lea esi, [ebx + 4]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.005b1250
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b5c88
mov ecx, dword [esp + 0x280]
movzx ecx, byte [ecx]
cmp cl, 1
je 0x5b5b54
cmp cl, 2
jne 0x5b5b8c
mov byte [esp + 0x23], cl
lea edi, [esp + 0x2b0]
xor eax, eax
call fcn.0045ebb7
mov ecx, dword [esp + 0x368]
mov edx, dword [ecx + 0xbc]
mov ebx, dword [ecx + 0xb8]
test edx, edx
je 0x5b5ce9
mov ebp, dword [esp + 0x3c]
xor esi, esi
jmp 0x5b5d2e
xor eax, eax
xor edx, edx
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
mov esi, ecx
mov edi, eax
mov ecx, dword [esp + 0x368]
mov eax, edx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x64]
cmp ebx, edx
jb 0x5b5bd6
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x270]
mov dword [esp + 0x274], eax
mov eax, dword [esp + 0x80]
jmp 0x5b5c3c
mov dword [esp + 0x26c], eax
mov dword [esp + 0x5c], edi
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
lea eax, [0x620800]
mov dword [esp], eax
mov ebp, dword [esp + 0x270]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00447e40
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x60]
movzx esi, byte [esp + 0x22]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x274], ebp
mov ebx, edx
mov ebp, dword [esp + 0x3c]
mov edx, eax
mov eax, dword [esp + 0x26c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], ebx
shl ecx, 4
mov edx, dword [esp + 0x274]
mov dword [edx + ecx], ebp
xchg esi, eax
mov byte [edx + ecx + 4], al
xchg esi, eax
mov dword [edx + ecx + 0xc], edi
mov ebp, dword [0x84c5a0]
lea edi, [edx + ecx + 8]
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x44]
lea ebx, [ebx + esi + 4]
test ebp, ebp
jne 0x5b5c7e
mov dword [edx + ecx + 8], eax
jmp 0x5b5a39
call fcn.0045e940
jmp 0x5b5a39
mov eax, dword [esp + 0x270]
mov dword [esp + 0x36c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x370], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x374], eax
add esp, 0x364
ret
mov eax, dword [esp + 0x270]
mov dword [esp + 0x36c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x370], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x374], eax
add esp, 0x364
ret
mov eax, edx
mov ecx, ebx
mov esi, ebp
jmp 0x5b5948
lea edi, [esp + 0x2b0]
call fcn.0045ebb7
lea edi, [esp + 0x2f8]
lea esi, [esp + 0x2b0]
call fcn.0045f076
mov edx, dword [esp + 0x308]
mov ecx, dword [esp + 0x30c]
mov eax, ecx
movzx ecx, byte [esp + 0x23]
jmp 0x5b5b90
add ebx, 0x24
mov esi, ecx
mov ecx, dword [esp + 0x368]
mov dword [esp + 0x6c], esi
lea edi, [esp + 0x340]
mov esi, ebx
call fcn.0045f076
cmp dword [esp + 0x344], ebp
je 0x5b5d5b
mov ecx, dword [esp + 0x6c]
inc ecx
cmp edx, ecx
jg 0x5b5d22
mov ecx, dword [esp + 0x368]
jmp 0x5b5ce9
lea edi, [esp + 0x2b0]
lea esi, [esp + 0x340]
call fcn.0045f076
jmp 0x5b5cf5
mov eax, 3
mov ecx, edx
call fcn.0045e9c0
mov eax, ebx
mov ecx, edx
call fcn.0045ea30
mov dword [esp], edx
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 + 0x7c]
mov dword [eax + 8], ecx
lea ecx, [0x612b20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433c20
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 + 0x7c]
mov dword [eax + 8], ecx
lea ecx, [0x612b20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433c20
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 + 0x7c]
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.005b52a0