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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x536bc5
sub esp, 0x90
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
jmp 0x53635d
mov eax, esi
mov edi, edx
mov edx, ebx
mov ebx, edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x8c], ecx
test eax, eax
je 0x536800
mov dword [esp + 0x40], edx
mov dword [esp + 0x88], ebp
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x62bfc8]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004ecc50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movzx edx, byte [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test dl, dl
je 0x5367e6
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x48]
lea esi, [ebx + edx]
mov edi, dword [esp + 0x40]
cmp edi, esi
jb 0x5363e5
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x84], eax
jmp 0x536433
mov dword [esp + 0x30], ebx
mov dword [esp + 0x6c], ebp
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
lea eax, [0x5a6ea0]
mov dword [esp + 0x10], eax
call fcn.00449e30
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
mov edi, edx
mov dword [esp + 0x84], ebp
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x84]
lea ecx, [eax + edx]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00462d10
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5364d4
mov ecx, dword [esp + 0x70]
cmp byte [ecx], 0x24
jne 0x5364d8
mov edx, dword [esp + 0x44]
inc edx
mov ebx, dword [esp + 0x48]
cmp ebx, edx
jb 0x53647c
mov ebp, dword [esp + 0x84]
jmp 0x5364bd
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5a6ea0]
mov dword [esp + 0x10], eax
call fcn.00449e30
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov ebp, eax
mov ebx, edi
mov eax, dword [esp + 0x34]
mov byte [edx + ebp - 1], 0x24
dec eax
mov esi, eax
neg eax
sar eax, 0x1f
and eax, 1
add ecx, eax
jmp 0x536355
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00536bd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0x1c]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test bl, bl
je 0x53677d
mov dword [esp + 0x24], ecx
mov dword [esp + 0x64], eax
test edx, edx
jl 0x53674b
mov ebx, edx
shl edx, 1
lea ebp, [edx + 1]
mov esi, dword [esp + 0xc4]
cmp esi, ebp
jle 0x536730
cmp esi, edx
jbe 0x536bbb
mov edi, dword [esp + 0xc0]
mov edx, ebx
lea ebx, [edi + ebx*8]
mov ebx, dword [ebx]
test ebx, ebx
jge 0x536559
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x84]
jmp 0x536b37
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0xac]
test ebx, ebx
je 0x53663d
cmp esi, ebp
jbe 0x536bb2
lea ebp, [edi + edx*8 + 4]
mov ebp, dword [ebp]
mov edx, dword [esp + 0xb4]
cmp edx, ebp
jb 0x536bab
mov edi, dword [esp + 0x3c]
cmp ebp, edi
jb 0x536ba2
sub ebp, edi
mov esi, dword [esp + 0x44]
lea eax, [esi + ebp]
sub edx, edi
neg edx
sar edx, 0x1f
and edi, edx
lea edx, [ebx + edi]
mov edi, dword [esp + 0x48]
cmp edi, eax
jae 0x536607
mov dword [esp + 0x48], ebp
mov dword [esp + 0x80], edx
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
lea eax, [0x5a6ea0]
mov dword [esp + 0x10], eax
call fcn.00449e30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov eax, ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x84]
lea ebx, [ecx + esi]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.00462d10
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
jmp 0x53670f
cmp esi, ebp
jbe 0x536b99
lea ebp, [edi + edx*8 + 4]
mov ebp, dword [ebp]
mov edx, dword [esp + 0xbc]
cmp edx, ebp
jb 0x536b92
mov edx, dword [esp + 0x3c]
cmp ebp, edx
jb 0x536b89
sub ebp, edx
mov dword [esp + 0x3c], ebp
mov ebx, dword [esp + 0x44]
lea edi, [ebx + ebp]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edx
mov edx, dword [esp + 0xb8]
add ebp, edx
mov edx, dword [esp + 0x48]
cmp edx, edi
jae 0x5366da
mov dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
lea ecx, [0x5a6ea0]
mov dword [esp + 0x10], ecx
call fcn.00449e30
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x84], eax
mov edx, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x84]
lea ecx, [eax + ebx]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.00462d10
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xc0]
mov ebx, ecx
mov ebp, edx
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x64]
jmp 0x536b37
mov edi, dword [esp + 0xc0]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x84]
jmp 0x536b37
mov dword [esp + 0x68], ebp
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x94]
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x78], edi
mov edx, ebx
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
jmp 0x5368a5
mov eax, dword [esp + 0x44]
inc eax
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jb 0x536799
mov ecx, eax
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x48]
jmp 0x5367ce
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5a6ea0]
mov dword [esp + 0x10], eax
call fcn.00449e30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov byte [ecx + eax - 1], 0x24
mov esi, dword [esp + 0x34]
mov ebx, edi
mov edx, ecx
mov ebp, eax
mov ecx, dword [esp + 0x70]
jmp 0x536355
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x88]
lea esi, [ebx + eax]
cmp edx, esi
jae 0x536840
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
lea ecx, [0x5a6ea0]
mov dword [esp + 0x10], ecx
call fcn.00449e30
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x88], ebp
add ebx, ebp
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00462d10
mov eax, dword [esp + 0x88]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xd4], eax
add esp, 0x90
ret
inc ebx
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
cmp ebp, ebx
jge 0x536b0c
lea edi, [edi + ebp*8]
mov ebx, dword [edi]
cmp dword [edi + 4], esi
je 0x5368bf
xor ebx, ebx
jmp 0x5368f1
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.00402a70
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x94]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ebx, eax
mov eax, dword [esp + 0x64]
test bl, bl
je 0x536936
mov ebx, ebp
shl ebp, 1
lea edi, [ebp + 1]
mov esi, dword [esp + 0xc4]
cmp esi, edi
jle 0x53692a
cmp esi, ebp
jbe 0x536b80
mov dword [esp + 0x38], edi
mov ebp, dword [esp + 0xc0]
lea edi, [ebp + ebx*8]
mov edi, dword [edi]
test edi, edi
jl 0x53688c
jmp 0x53694b
mov ebp, dword [esp + 0xc0]
jmp 0x53688c
mov ebx, ebp
mov ebp, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
jmp 0x53688c
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0xac]
test edi, edi
je 0x536a3a
mov edi, dword [esp + 0x38]
cmp esi, edi
jbe 0x536b77
lea ebx, [ebp + ebx*8 + 4]
mov ebx, dword [ebx]
mov edi, dword [esp + 0xb4]
cmp edi, ebx
jb 0x536b6e
mov ebp, dword [esp + 0x3c]
cmp ebx, ebp
jb 0x536b65
sub ebx, ebp
mov esi, dword [esp + 0x44]
lea edx, [esi + ebx]
sub edi, ebp
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and ebp, edi
mov edi, dword [esp + 0xac]
add ebp, edi
mov edi, dword [esp + 0x48]
cmp edi, edx
jae 0x536a04
mov dword [esp + 0x48], ebx
mov dword [esp + 0x80], ebp
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
lea eax, [0x5a6ea0]
mov dword [esp + 0x10], eax
call fcn.00449e30
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x84]
lea ecx, [eax + esi]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00462d10
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
jmp 0x536b1b
mov edi, dword [esp + 0x38]
cmp esi, edi
jbe 0x536b5c
lea ebx, [ebp + ebx*8 + 4]
mov ebx, dword [ebx]
mov edi, dword [esp + 0xbc]
cmp edi, ebx
jb 0x536b53
mov edi, dword [esp + 0x3c]
cmp ebx, edi
jb 0x536b4a
sub ebx, edi
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0x44]
lea esi, [ebp + ebx]
neg ebx
sar ebx, 0x1f
and ebx, edi
mov edi, dword [esp + 0xb8]
add ebx, edi
mov edi, dword [esp + 0x48]
cmp edi, esi
jae 0x536ad5
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
lea ecx, [0x5a6ea0]
mov dword [esp + 0x10], ecx
call fcn.00449e30
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x84]
lea ecx, [eax + ebp]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.00462d10
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
jmp 0x536b1b
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xc0]
mov ebx, eax
mov ebp, edx
mov eax, dword [esp + 0x64]
mov edx, ecx
mov ecx, dword [esp + 0x24]
mov esi, ecx
mov ecx, eax
mov dword [esp + 0x54], eax
mov eax, ebx
mov ebx, edx
mov edx, eax
jmp 0x536355
mov eax, edi
mov ecx, ebx
call fcn.004624e0
mov ecx, ebx
mov edx, edi
call fcn.004624a0
mov eax, edi
mov ecx, esi
call fcn.00462480
mov eax, ebp
mov ecx, ebx
call fcn.004624e0
mov ecx, ebx
mov edx, edi
call fcn.004624c0
mov eax, edi
mov ecx, esi
call fcn.00462480
mov eax, ebp
mov ecx, esi
call fcn.00462480
mov eax, edx
mov ecx, ebp
call fcn.004624e0
mov ecx, ebp
call fcn.004624a0
mov eax, ebp
mov ecx, esi
call fcn.00462480
mov eax, edi
mov ecx, ebp
call fcn.004624e0
mov ecx, ebp
call fcn.004624c0
mov eax, ebp
mov ecx, esi
call fcn.00462480
mov eax, edx
mov ecx, esi
call fcn.00462480
nop
call fcn.00460ff0
jmp fcn.00536310