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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2e8]
cmp eax, dword [ecx + 8]
jbe 0x5b3418
sub esp, 0x368
lea edi, [esp + 0x300]
xor eax, eax
call fcn.0045ebb9
lea edi, [esp + 0x31c]
call fcn.0045ebad
lea ecx, [esp + 0x31c]
mov dword [esp + 0x30c], ecx
call fcn.0044c2b0
mov ecx, dword [esp]
mov dword [esp + 0x308], ecx
lea edi, [esp + 0x2e4]
xor eax, eax
call fcn.0045ebb9
lea edi, [esp + 0x84]
call fcn.0045ebab
lea ecx, [esp + 0x84]
mov dword [esp + 0x2f0], ecx
call fcn.0044c2b0
mov ecx, dword [esp]
mov dword [esp + 0x2ec], ecx
mov ecx, dword [esp + 0x370]
test ecx, ecx
je 0x5b28f1
mov edx, dword [esp + 0x374]
mov ebx, dword [esp + 0x36c]
mov eax, ecx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x40], eax
mov ecx, 0xffffffff
mov dword [esp + 0x38], ecx
mov eax, 0xffffffff
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x28], eax
lea eax, [0x84c3cc]
mov dword [esp + 0x2b8], eax
mov eax, dword [esp + 0x370]
mov ecx, eax
jmp 0x5b297d
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
lea ebx, [ebx + ebx*2]
mov dword [esi + ebx*4], edx
mov dword [esi + ebx*4 + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + ebx*4 + 8], eax
add eax, 8
mov edx, dword [esp + 0x374]
mov ebx, dword [esp + 0x36c]
mov edi, dword [esp + 0x370]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2b8], esi
mov ecx, eax
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x370]
add edx, eax
cmp ecx, edx
jae 0x5b2df9
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], ecx
cmp esi, 0xf
setae dl
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
seta cl
and ebp, edx
or ecx, ebp
test cl, cl
je 0x5b29f2
mov ecx, dword [0x81fae8]
mov dword [esp + 0x2d0], ecx
mov edx, dword [0x81faec]
mov dword [esp + 0x5c], edx
mov ebp, dword [ebx + 0x274]
mov dword [esp + 0x50], ebp
mov ebx, dword [ebx + 0x270]
mov dword [esp + 0x2c4], ebx
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
jmp 0x5b32c1
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
sub ecx, edx
mov edx, dword [esp + 0x3c]
sbb edi, edx
cmp ecx, 0x8000000
seta cl
test edi, edi
mov edi, edx
sete dl
xchg ebp, ebx
seta bl
xchg ebp, ebx
and edx, ecx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b2a64
mov ecx, dword [0x81fae0]
mov dword [esp + 0x2cc], ecx
mov edx, dword [0x81fae4]
mov dword [esp + 0x58], edx
mov ebp, dword [ebx + 0x274]
mov dword [esp + 0x4c], ebp
mov ebx, dword [ebx + 0x270]
mov dword [esp + 0x2c0], ebx
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
jmp 0x5b3153
movzx ecx, byte [esp + 0x378]
test cl, cl
je 0x5b2ada
lea edi, [esp + 0x1c8]
xor eax, eax
call fcn.0045eb84
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x7c]
lea ebp, [0x6353c0]
cmp ecx, ebp
jne 0x5b3126
lea edi, [esp + 0x1c8]
mov esi, edx
call fcn.0045ee78
lea edi, [esp + 0xd8]
lea esi, [esp + 0x1c8]
call fcn.0045ee78
mov eax, dword [esp + 0xf0]
mov dword [esp], ebx
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 4], ecx
call fcn.005b0530
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
jne 0x5b2af7
jmp 0x5b2e72
mov dword [esp], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.005b0530
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x5b2f6b
mov dword [esp + 0x34], eax
lea ecx, [0x615380]
mov dword [esp], ecx
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0x2d8], eax
mov ecx, dword [esp + 0x36c]
mov dword [esp], ecx
lea edx, [0x5fda20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 8
call fcn.005b1250
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b2f2d
mov ecx, dword [esp + 0x2d8]
mov edx, dword [ecx + 4]
test edx, edx
sete bl
mov ebp, dword [ecx]
test ebp, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5b2e31
mov esi, dword [esp + 0x370]
cmp esi, ebp
mov eax, esi
xchg esi, ebx
setbe bl
xchg esi, ebx
test edx, edx
mov edi, ecx
seta cl
and esi, ebx
or esi, ecx
xchg esi, eax
test al, al
xchg esi, eax
je 0x5b2bb0
mov ecx, dword [esp + 0x20]
cmp ecx, ebp
xchg esi, ebx
setae bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x5b2bb4
jmp 0x5b2eb0
mov ecx, dword [esp + 0x20]
mov ebx, edx
and edx, 0x80000000
test edx, edx
jbe 0x5b2c22
and ebp, 0x7fffffff
cmp ebp, 0xffff
seta dl
and edx, 1
test dl, dl
je 0x5b2fa9
mov edx, dword [0x81fab8]
mov dword [esp + 0x2c8], edx
mov ebx, dword [0x81fabc]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x36c]
mov esi, dword [ebp + 0x274]
mov dword [esp + 0x48], esi
mov ecx, dword [ebp + 0x270]
mov dword [esp + 0x2bc], ecx
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x7c]
jmp 0x5b2fe9
lea eax, [0x60f040]
mov dword [esp], eax
lea ecx, [esp + 0x2e4]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebp
call fcn.0040eaa0
movzx eax, byte [esp + 0x14]
test al, al
je 0x5b2c5c
mov eax, dword [esp + 0x2c]
add eax, 1
mov ebp, dword [esp + 0x30]
adc ebp, 0
jmp 0x5b2c98
mov eax, dword [esp + 0x2d8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [0x60f040]
mov dword [esp], ebx
lea ebp, [esp + 0x2e4]
mov dword [esp + 4], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
call fcn.0040ec10
mov eax, dword [esp + 0x10]
mov byte [eax], 1
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
mov ecx, dword [esp + 0x2d8]
mov edx, dword [ecx]
mov ebx, dword [esp + 0x40]
cmp ebx, edx
xchg esi, ebx
setb bl
xchg esi, ebx
mov edi, dword [ecx + 4]
mov ecx, dword [esp + 0x44]
cmp ecx, edi
sete al
xchg ebp, ebx
setb bl
xchg ebp, ebx
and eax, esi
or eax, ebp
test al, al
je 0x5b2cd7
mov eax, edi
mov ecx, edx
jmp 0x5b2ce1
mov eax, edi
mov ecx, edx
mov edi, dword [esp + 0x44]
mov edx, ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x38]
cmp ebx, ecx
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov esi, dword [esp + 0x3c]
cmp esi, eax
sete dl
xchg edi, ebx
seta bl
xchg edi, ebx
and ebp, edx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5b2d14
mov eax, esi
mov ecx, ebx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
lea edi, [0x60eec0]
mov dword [esp], edi
lea edi, [esp + 0x300]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 8], edi
call fcn.0040e0e0
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x84c5a0]
test eax, eax
jne 0x5b2d78
mov ecx, dword [esp + 0x2d8]
mov dword [edi], ecx
jmp 0x5b2d86
mov eax, dword [esp + 0x2d8]
call fcn.0045e940
mov ecx, eax
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, dword [esp + 0x24]
lea ebp, [ebx + 1]
mov eax, ecx
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
jb 0x5b2da8
mov esi, dword [esp + 0x2b8]
jmp 0x5b292f
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
lea eax, [0x61a1c0]
mov dword [esp], eax
mov edx, dword [esp + 0x2b8]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ebx, dword [esp + 0x24]
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
jmp 0x5b292f
mov eax, dword [ebx + 0x2c0]
mov dword [esp], eax
lea eax, [0x654915]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x39
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.004fcf20
mov eax, dword [esp + 0x2b8]
mov dword [esp + 0x37c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x380], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
mov dword [esp + 0x2dc], 0
mov dword [esp + 0x2e0], 0
mov dword [esp], ecx
call fcn.00408ce0
mov eax, dword [esp + 4]
lea ecx, [0x60c940]
mov dword [esp + 0x2dc], ecx
mov dword [esp + 0x2e0], eax
mov eax, dword [esp + 0x36c]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [0x6561f6]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x5d
lea eax, [esp + 0x2dc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004fcf20
jmp 0x5b2e31
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
jmp 0x5b2d24
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x2bc]
mov edx, dword [esp + 0x2c8]
mov ebp, dword [esp + 0x36c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2bc]
mov ebp, dword [esp + 0x60]
cmp ebp, esi
jge 0x5b3051
lea edx, [ecx + ebp*8]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
cmp ecx, ebx
jne 0x5b2fc6
mov dword [esp], edx
mov eax, dword [esp + 0x2c8]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004025e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5b3039
mov eax, dword [esp + 0x370]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x2d8]
jmp 0x5b2fc6
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
cmp ecx, edx
mov eax, dword [esp + 0x370]
mov edi, dword [esp + 0x2d8]
jl 0x5b311d
mov ecx, dword [esp + 0x36c]
mov edx, dword [ecx + 0x274]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x270]
mov esi, dword [ecx + 0x278]
cmp esi, ebx
jae 0x5b30df
lea eax, [0x60c800]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x36c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5b30c0
mov dword [ebx + 0x270], eax
jmp 0x5b30cb
lea edi, [ebx + 0x270]
call fcn.0045e940
mov edi, dword [esp + 0x2d8]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x370]
mov ecx, ebx
lea ebx, [edx + 1]
mov dword [ecx + 0x274], ebx
mov ebx, dword [0x81fab8]
mov esi, dword [0x81fabc]
lea ecx, [ebp + edx*8 + 4]
mov dword [ecx], esi
mov ecx, dword [0x84c5a0]
lea edx, [ebp + edx*8]
test ecx, ecx
jne 0x5b310c
mov dword [edx], ebx
jmp 0x5b311d
mov ecx, edi
mov edi, edx
mov ebp, eax
mov eax, ebx
call fcn.0045e940
mov eax, ebp
mov edi, ecx
mov ecx, dword [esp + 0x20]
jmp 0x5b2fa9
mov dword [esp], ecx
mov dword [esp + 4], ebp
lea eax, [0x60c180]
mov dword [esp + 8], eax
call fcn.00408a40
inc ecx
mov ebx, dword [esp + 0x2c0]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2cc]
mov ecx, dword [esp + 0x60]
cmp ecx, ebp
jge 0x5b31b9
lea ebx, [ebx + ecx*8]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ebp, edx
jne 0x5b313c
mov dword [esp], ebx
mov eax, dword [esp + 0x2cc]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.004025e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5b31a0
mov eax, dword [esp + 0x370]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
jmp 0x5b313c
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x4c]
cmp ecx, edx
mov eax, dword [esp + 0x370]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
jl 0x5b329e
mov ecx, dword [esp + 0x36c]
mov edx, dword [ecx + 0x274]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x270]
mov ecx, dword [ecx + 0x278]
cmp ecx, ebx
jae 0x5b3246
lea eax, [0x60c800]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x36c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5b3228
mov dword [ebx + 0x270], eax
jmp 0x5b3233
lea edi, [ebx + 0x270]
call fcn.0045e940
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x370]
lea ecx, [edx + 1]
mov ebx, dword [esp + 0x36c]
mov dword [ebx + 0x274], ecx
mov ecx, dword [0x81fae0]
mov dword [esp + 0x2d4], ecx
mov ebx, dword [0x81fae4]
lea ecx, [ebp + edx*8 + 4]
mov dword [ecx], ebx
mov ecx, dword [0x84c5a0]
lea edx, [ebp + edx*8]
test ecx, ecx
jne 0x5b3288
mov ecx, dword [esp + 0x2d4]
mov dword [edx], ecx
jmp 0x5b329e
mov ecx, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0x2d4]
call fcn.0045e940
mov eax, ebx
mov edi, ecx
mov ebx, dword [esp + 0x36c]
jmp 0x5b2a64
inc ecx
mov ebx, dword [esp + 0x2c4]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2d0]
mov ecx, dword [esp + 0x60]
cmp ecx, ebp
jge 0x5b3327
lea ebx, [ebx + ecx*8]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ebp, edx
jne 0x5b32aa
mov dword [esp], ebx
mov eax, dword [esp + 0x2d0]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.004025e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5b330e
mov eax, dword [esp + 0x370]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
jmp 0x5b32aa
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x50]
cmp ecx, edx
mov eax, dword [esp + 0x370]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
jl 0x5b340c
mov ecx, dword [esp + 0x36c]
mov edx, dword [ecx + 0x274]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x270]
mov ecx, dword [ecx + 0x278]
cmp ecx, ebx
jae 0x5b33b4
lea eax, [0x60c800]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00447e40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x36c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5b3396
mov dword [ebx + 0x270], eax
jmp 0x5b33a1
lea edi, [ebx + 0x270]
call fcn.0045e940
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x370]
lea ecx, [edx + 1]
mov ebx, dword [esp + 0x36c]
mov dword [ebx + 0x274], ecx
mov ecx, dword [0x81fae8]
mov dword [esp + 0x2d4], ecx
mov ebx, dword [0x81faec]
lea ecx, [ebp + edx*8 + 4]
mov dword [ecx], ebx
mov ecx, dword [0x84c5a0]
lea edx, [ebp + edx*8]
test ecx, ecx
jne 0x5b33f6
mov ecx, dword [esp + 0x2d4]
mov dword [edx], ecx
jmp 0x5b340c
mov ecx, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0x2d4]
call fcn.0045e940
mov eax, ebx
mov edi, ecx
mov ebx, dword [esp + 0x36c]
jmp 0x5b29f2
call fcn.0045d530
jmp fcn.005b2800