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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b33f6
sub esp, 0x70
mov eax, dword [esp + 0x90]
test eax, eax
je 0x5b2cd9
nop
lea eax, [0x69e2c0]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [0x9aef70]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5b2aa9
mov ebx, dword [esp + 0x74]
jmp 0x5b2ab4
call fcn.0046c890
mov ebx, dword [esp + 0x74]
mov dword [edi], ebx
mov dword [esp + 0x50], ecx
mov dword [ecx], ebx
mov ebp, dword [esp + 0x88]
test ebp, ebp
jne 0x5b2b09
mov esi, dword [esp + 0x80]
test esi, esi
jne 0x5b2ad6
xor eax, eax
xor edx, edx
jmp 0x5b2b36
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x50]
jmp 0x5b2b36
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], edx
mov edi, dword [ebx + 0x144]
mov ebp, dword [ebx + 0x140]
cmp edi, 4
jne 0x5b2b5d
cmp dword [ebp], 0x78696e75
je 0x5b2bb5
jmp 0x5b2bdd
cmp edi, 8
jne 0x5b2b76
cmp dword [ebp], 0x78696e75
jne 0x5b2bdd
cmp dword [ebp + 4], 0x6d617267
je 0x5b2bb5
jmp 0x5b2bdd
cmp edi, 0xa
jne 0x5b2bdd
mov dword [esp], ebp
lea eax, [0x6d1739]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.00403200
movzx eax, byte [esp + 0xc]
test al, al
je 0x5b2bc6
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
mov ebp, dword [ebx + 0x140]
mov edi, dword [ebx + 0x144]
jmp 0x5b2c8e
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
mov ebp, dword [ebx + 0x144]
lea edi, [ebp - 1]
cmp ebp, edi
jbe 0x5b33ec
mov edi, dword [ebx + 0x140]
movzx esi, byte [ebp + edi - 1]
xchg esi, eax
cmp al, 0x34
xchg esi, eax
je 0x5b2c07
xchg esi, eax
cmp al, 0x36
xchg esi, eax
jne 0x5b2c0f
mov esi, edi
mov edi, ebp
mov ebp, esi
jmp 0x5b2c8e
cmp dword [ebx + 0x134], 2
jne 0x5b2c54
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
lea eax, [0x747050]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00454370
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x6c]
jmp 0x5b2c8e
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
lea eax, [0x747080]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00454370
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x90]
mov esi, dword [ebx]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
lea eax, [0x74a4f4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x90]
call esi
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5b33d6
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x5b2cea
xor eax, eax
xor ecx, ecx
jmp 0x5b2d52
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5b33c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x5b2d52
mov dword [esp + 0x58], ecx
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004a1840
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5b3355
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x88]
test edx, edx
je 0x5b2e13
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], ecx
mov eax, dword [edx + 0x1c]
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0x134]
mov ebp, dword [esp + 0x8c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5b2dfd
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.005a4a80
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5b2de7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
mov byte [edx + 0x13c], 1
jmp 0x5b2e33
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.005a4990
mov eax, dword [esp + 4]
test eax, eax
jne 0x5b333f
mov edx, dword [esp + 0x74]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], ecx
mov ebx, dword [edx + 0x10]
mov dword [esp], ebx
call fcn.004a1920
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x5b3003
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x5b2e96
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x5b2e7c
lea ebp, [0x6fa044]
jmp 0x5b2ed3
cmp ebp, 2
jne 0x5b2e89
lea ebp, [0x6fa05c]
jmp 0x5b2ed3
cmp ebp, 5
jne 0x5b2ecd
lea ebp, [0x6fa064]
jmp 0x5b2ed3
cmp ebp, 2
je 0x5b2ea0
cmp ebp, 0x17
jne 0x5b2ecd
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x5b2eb3
lea ebp, [0x6fa07c]
jmp 0x5b2ed3
cmp ebp, 2
jne 0x5b2ec0
lea ebp, [0x6fa078]
jmp 0x5b2ed3
cmp ebp, 3
jne 0x5b2ecd
lea ebp, [0x6fa040]
jmp 0x5b2ed3
lea ebp, [0x6fa02c]
mov ebx, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, ebp
call ebx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x5b2f1d
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5b2f03
lea ecx, [0x6fa044]
jmp 0x5b2f5a
cmp ecx, 2
jne 0x5b2f10
lea ecx, [0x6fa05c]
jmp 0x5b2f5a
cmp ecx, 5
jne 0x5b2f54
lea ecx, [0x6fa064]
jmp 0x5b2f5a
cmp ecx, 2
je 0x5b2f27
cmp ecx, 0x17
jne 0x5b2f54
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5b2f3a
lea ecx, [0x6fa07c]
jmp 0x5b2f5a
cmp ecx, 2
jne 0x5b2f47
lea ecx, [0x6fa078]
jmp 0x5b2f5a
cmp ecx, 3
jne 0x5b2f54
lea ecx, [0x6fa040]
jmp 0x5b2f5a
lea ecx, [0x6fa030]
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ebx, dword [ecx]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x68], ebp
mov esi, dword [esp + 0x30]
mov dword [esp], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 4], esi
mov edx, ecx
call ebx
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x74]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x9aef70]
test ebx, ebx
jne 0x5b2fa6
mov edx, dword [esp + 0x68]
jmp 0x5b2fc6
call fcn.0046c8c0
mov edx, dword [esp + 0x68]
mov dword [edi], edx
mov ebx, dword [ebp + 0x14c]
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov ebx, dword [ebp + 0x154]
mov dword [edi + 0xc], ebx
mov dword [ebp + 0x14c], edx
mov dword [ebp + 0x150], eax
mov dword [ebp + 0x154], ecx
lea eax, [0x6c8de0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x690780]
mov dword [esp + 8], eax
lea eax, [0x6fa020]
mov dword [esp + 0xc], eax
call fcn.004184a0
jmp 0x5b3325
mov dword [esp + 0x58], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.004a1a00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x5b31e0
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x5b306e
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x5b3054
lea edx, [0x6fa044]
jmp 0x5b30ab
cmp ebp, 2
jne 0x5b3061
lea edx, [0x6fa05c]
jmp 0x5b30ab
cmp ebp, 5
jne 0x5b30a5
lea edx, [0x6fa064]
jmp 0x5b30ab
cmp ebp, 2
je 0x5b3078
cmp ebp, 0x17
jne 0x5b30a5
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x5b308b
lea edx, [0x6fa07c]
jmp 0x5b30ab
cmp ebp, 2
jne 0x5b3098
lea edx, [0x6fa078]
jmp 0x5b30ab
cmp ebp, 3
jne 0x5b30a5
lea edx, [0x6fa040]
jmp 0x5b30ab
lea edx, [0x6fa034]
mov eax, dword [edx]
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x5b30fa
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5b30e0
lea ecx, [0x6fa044]
jmp 0x5b3137
cmp ecx, 2
jne 0x5b30ed
lea ecx, [0x6fa05c]
jmp 0x5b3137
cmp ecx, 5
jne 0x5b3131
lea ecx, [0x6fa064]
jmp 0x5b3137
cmp ecx, 2
je 0x5b3104
cmp ecx, 0x17
jne 0x5b3131
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5b3117
lea ecx, [0x6fa07c]
jmp 0x5b3137
cmp ecx, 2
jne 0x5b3124
lea ecx, [0x6fa078]
jmp 0x5b3137
cmp ecx, 3
jne 0x5b3131
lea ecx, [0x6fa040]
jmp 0x5b3137
lea ecx, [0x6fa038]
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ebx, dword [ecx]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x64], ebp
mov esi, dword [esp + 0x38]
mov dword [esp], esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 4], esi
mov edx, ecx
call ebx
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x74]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x9aef70]
test ebx, ebx
jne 0x5b3183
mov edx, dword [esp + 0x64]
jmp 0x5b31a3
call fcn.0046c8c0
mov edx, dword [esp + 0x64]
mov dword [edi], edx
mov ebx, dword [ebp + 0x14c]
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov ebx, dword [ebp + 0x154]
mov dword [edi + 0xc], ebx
mov dword [ebp + 0x14c], edx
mov dword [ebp + 0x150], eax
mov dword [ebp + 0x154], ecx
lea eax, [0x6c8de0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x690780]
mov dword [esp + 8], eax
lea eax, [0x6fa020]
mov dword [esp + 0xc], eax
call fcn.004184a0
jmp 0x5b3325
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x5b321c
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5b3202
lea ecx, [0x6fa044]
jmp 0x5b3259
cmp ecx, 2
jne 0x5b320f
lea ecx, [0x6fa05c]
jmp 0x5b3259
cmp ecx, 5
jne 0x5b3253
lea ecx, [0x6fa064]
jmp 0x5b3259
cmp ecx, 2
je 0x5b3226
cmp ecx, 0x17
jne 0x5b3253
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x5b3239
lea ecx, [0x6fa07c]
jmp 0x5b3259
cmp ecx, 2
jne 0x5b3246
lea ecx, [0x6fa078]
jmp 0x5b3259
cmp ecx, 3
jne 0x5b3253
lea ecx, [0x6fa040]
jmp 0x5b3259
lea ecx, [0x6fa03c]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x88]
test ebx, ebx
je 0x5b32ac
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], ecx
mov eax, dword [ebx + 4]
lea ecx, [0x965d20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ac30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x60]
mov ebx, eax
mov eax, dword [esp + 0x3c]
nop
mov edx, dword [esp + 0x74]
mov dword [edx + 0x148], eax
mov eax, dword [0x9aef70]
test eax, eax
jne 0x5b32ca
mov eax, dword [esp + 0x8c]
jmp 0x5b32ed
call fcn.0046c8c0
mov dword [edi], ecx
mov eax, dword [edx + 0x14c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [edi + 8], eax
mov ebp, dword [edx + 0x154]
mov dword [edi + 0xc], ebp
mov dword [edx + 0x14c], ecx
mov dword [edx + 0x150], ebx
mov dword [edx + 0x154], eax
lea eax, [0x6c8de0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x690780]
mov dword [esp + 8], eax
lea eax, [0x6fa020]
mov dword [esp + 0xc], eax
call fcn.004184a0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x70
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
nop
lea ecx, [0x6a4260]
mov dword [esp], ecx
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x6cffec]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x5b339a
mov ecx, dword [esp + 0x4c]
jmp 0x5b33a5
call fcn.0046c890
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x749468]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov eax, edi
mov ecx, ebp
call fcn.0046c910
nop
call fcn.0046b490
jmp fcn.005b2a60