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

Disassembly:
sub esp, 0x94
mov edx, dword [esp + 0x98]
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
mov ecx, dword [edx + 0x1c]
mov eax, dword [edx + 0x38]
push esi
push edi
mov esi, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
sub esi, dword [ecx]
sub ebx, dword [ecx + 4]
imul edi, ebp, 0x98
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x3c]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x40]
add edi, 0xffffff68
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x44]
add edi, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], edi
mov eax, dword [edi]
cmp eax, dword [edi + 8]
je 0x4b715c
mov eax, dword [edi + 4]
cmp eax, dword [edi + 0xc]
je 0x4b715c
push ebp
push edx
call fcn.004b9220
mov ebp, eax
add esp, 8
mov dword [esp + 0x40], ebp
test ebp, ebp
je 0x4b6b89
mov eax, dword [esp + 0xac]
cmp eax, 1
jne 0x4b6b6e
mov edx, dword [edi + 0x90]
mov edi, dword [edi + 0x88]
mov ebx, dword [esp + 0x50]
push eax
mov eax, edx
sub eax, edi
sub edx, dword [ebx]
sub edi, dword [ebx]
push eax
mov eax, dword [esp + 0xb0]
push 1
push dword [eax + 0x34]
mov eax, dword [ebx + 0x94]
sub eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0x8c]
sub eax, dword [ebx + 4]
push edx
push eax
push edi
push ebp
call fcn.004ccbc0
push ebp
call fcn.004ccb70
add esp, 0x28
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
push eax
push dword [esp + 0x40]
call fcn.004b9540
add esp, 8
cmp eax, 0xfffffffa
jbe 0x4b6b96
push ebp
call fcn.004ccb70
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x94
ret
add eax, 5
cmp eax, 0xfffffff
ja 0x4b6b80
shl eax, 4
push eax
call fcn.0049d3a0
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
je 0x4b6b80
cmp dword [esp + 0xac], 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x44], 1
jbe 0x4b7104
mov eax, dword [esp + 0x3c]
mov edx, esi
add eax, 0x98
mov dword [esp + 0x6c], edx
mov esi, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x8c], esi
mov ebx, dword [eax]
mov ecx, dword [eax + 8]
mov edi, dword [eax + 4]
sub ecx, ebx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
sub eax, edi
sub ecx, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x68], ecx
and ebx, 0x80000001
jns 0x4b6c1b
dec ebx
or ebx, 0xfffffffe
inc ebx
sub eax, esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x88], eax
and edi, 0x80000001
jns 0x4b6c39
dec edi
or edi, 0xfffffffe
inc edi
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x5c], edi
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x98], edi
mov edi, dword [esp + 0xb0]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x70]
push dword [esp + 0x60]
push dword [esp + 0x74]
push dword [esp + 0x70]
push 0
push esi
push edi
call fcn.004b8fe0
push 0
lea eax, [esp + 0x68]
push eax
push 0
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x9c]
push dword [esp + 0x8c]
push dword [esp + 0xa0]
push dword [esp + 0x9c]
push 1
push esi
push edi
call fcn.004b8fe0
add esp, 0x58
lea eax, [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x70]
push dword [esp + 0x60]
push dword [esp + 0x74]
push dword [esp + 0x70]
push 2
push esi
push edi
call fcn.004b8fe0
mov eax, dword [esp + 0x68]
add esp, 0x2c
mov esi, dword [eax + 0x40]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov edi, dword [eax + 0x44]
mov eax, dword [esp + 0x28]
cmp eax, esi
jb 0x4b6cfc
sub eax, esi
mov dword [esp + 0x28], eax
jmp 0x4b6d04
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x18]
cmp eax, ecx
jb 0x4b6d14
sub eax, ecx
mov dword [esp + 0x18], eax
jmp 0x4b6d1c
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x24]
cmp eax, esi
jb 0x4b6d2c
sub eax, esi
mov dword [esp + 0x24], eax
jmp 0x4b6d34
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x14]
cmp eax, ecx
jb 0x4b6d44
sub eax, ecx
mov dword [esp + 0x14], eax
jmp 0x4b6d4c
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x2c]
cmp eax, edx
jb 0x4b6d5c
sub eax, edx
mov dword [esp + 0x2c], eax
jmp 0x4b6d64
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x38]
cmp eax, edx
jb 0x4b6d74
sub eax, edx
mov dword [esp + 0x38], eax
jmp 0x4b6d7c
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x10]
cmp eax, edi
jb 0x4b6d8c
sub eax, edi
mov dword [esp + 0x10], eax
jmp 0x4b6d94
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
cmp eax, edi
jb 0x4b6da4
sub eax, edi
mov dword [esp + 0x1c], eax
jmp 0x4b6dac
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x74]
push 4
call fcn.004b9580
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x48]
push 4
call fcn.004b9580
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0xb4]
push 4
call fcn.004b9580
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x58]
push 4
call fcn.004b9580
mov edi, dword [esp + 0x6c]
add esp, 0x40
mov ecx, dword [esp + 0x28]
test ebx, ebx
jne 0x4b6e36
lea eax, [edi*2 + 1]
lea edi, [ecx + ecx]
cmp edi, eax
jb 0x4b6e22
mov edi, eax
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
lea eax, [esi*2 + 1]
lea ebx, [ecx + ecx]
jmp 0x4b6e57
lea eax, [ecx*2 + 1]
add edi, edi
cmp edi, eax
jb 0x4b6e45
mov edi, eax
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
lea eax, [ecx*2 + 1]
lea ebx, [esi + esi]
cmp ebx, eax
ja 0x4b6e5d
mov ebx, eax
mov eax, dword [esp + 0x48]
cmp ebx, eax
jb 0x4b6e67
mov ebx, eax
cmp dword [esp + 0x58], 0
jne 0x4b6e9f
mov ecx, dword [esp + 0x10]
lea eax, [ecx*2 + 1]
mov ecx, dword [esp + 0x18]
add ecx, ecx
mov dword [esp + 0x30], ecx
cmp ecx, eax
jb 0x4b6e8b
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea ecx, [eax*2 + 1]
lea eax, [edx + edx]
jmp 0x4b6ecd
mov ecx, dword [esp + 0x18]
lea eax, [ecx*2 + 1]
mov ecx, dword [esp + 0x10]
add ecx, ecx
mov dword [esp + 0x30], ecx
cmp ecx, eax
jb 0x4b6ebc
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add eax, eax
lea ecx, [edx*2 + 1]
mov dword [esp + 0x20], eax
cmp eax, ecx
ja 0x4b6edb
mov eax, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jb 0x4b6ee7
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], esi
xor esi, esi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
cmp ecx, 3
jbe 0x4b6fae
lea ebp, [esi + 3]
cmp ebp, dword [esp + 0x18]
jb 0x4b6f1e
cmp esi, edx
jb 0x4b6f41
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
add eax, edx
cmp ebp, eax
jb 0x4b70d8
mov eax, dword [esp + 0x1c]
add eax, edx
cmp esi, eax
jae 0x4b70d8
mov eax, ecx
sub eax, esi
cmp eax, 4
jbe 0x4b6f4f
mov eax, 4
push eax
push esi
push dword [esp + 0x48]
lea eax, [esp + 0x70]
push eax
call fcn.004ba0d0
lea eax, [esp + 0x74]
push eax
call fcn.004b9cb0
push 1
push 1
push 4
mov eax, edi
shl eax, 4
add eax, dword [esp + 0x84]
push eax
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x64]
push eax
push ebx
push esi
push edi
push ebp
call fcn.004cd370
add esp, 0x38
test eax, eax
je 0x4b70e1
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
add esi, 4
lea eax, [esi + 3]
cmp eax, ecx
jb 0x4b6f11
cmp esi, ecx
jae 0x4b7024
lea ecx, [esi + 3]
cmp ecx, dword [esp + 0x18]
jb 0x4b6fc1
cmp esi, dword [esp + 0x14]
jb 0x4b6fdc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
add eax, edx
cmp ecx, eax
jb 0x4b7024
mov eax, dword [esp + 0x1c]
add eax, edx
cmp esi, eax
jae 0x4b7024
mov eax, dword [esp + 0x34]
sub eax, esi
push eax
push esi
lea eax, [esp + 0x6c]
push ebp
push eax
call fcn.004ba0d0
lea eax, [esp + 0x74]
push eax
call fcn.004b9cb0
push 1
push 1
push 4
mov eax, edi
shl eax, 4
add eax, dword [esp + 0x84]
push eax
push dword [esp + 0x58]
push ebx
push esi
push edi
push ebp
call fcn.004cd370
add esp, 0x38
test eax, eax
je 0x4b70e1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
cmp edi, ebx
jae 0x4b70b9
mov eax, dword [esp + 0x30]
shl eax, 4
add eax, dword [esp + 0x64]
mov dword [esp + 0x58], eax
mov esi, ebx
sub esi, edi
cmp esi, 4
jbe 0x4b7071
mov esi, 4
push esi
push edi
lea eax, [esp + 0x8c]
push ebp
push eax
call fcn.004ba170
lea eax, [esp + 0x94]
push eax
call fcn.004b9cb0
push 1
push 4
push 1
push dword [esp + 0x78]
lea eax, [esi + edi]
push dword [esp + 0x44]
push eax
push dword [esp + 0x5c]
push edi
push ebp
call fcn.004cd370
add esp, 0x38
test eax, eax
je 0x4b70e1
add edi, 4
cmp edi, ebx
jb 0x4b7063
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0xac]
jae 0x4b7100
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x48]
jmp 0x4b6bd1
mov ebp, dword [esp + 0x40]
jmp 0x4b6f9c
push ebp
call fcn.004ccb70
push dword [esp + 0x68]
call fcn.0049d380
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
mov edi, dword [esp + 0x50]
mov edx, dword [edi + 0x90]
mov eax, edx
mov edi, dword [edi + 0x88]
sub eax, edi
mov ebx, dword [esp + 0x50]
push 1
push eax
mov eax, dword [esp + 0xb0]
sub edx, dword [ebx]
sub edi, dword [ebx]
push 1
push dword [eax + 0x34]
mov eax, dword [ebx + 0x94]
sub eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0x8c]
sub eax, dword [ebx + 4]
push edx
push eax
push edi
push ebp
call fcn.004ccbc0
push ebp
call fcn.004ccb70
push dword [esp + 0x8c]
call fcn.0049d380
add esp, 0x2c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x94
ret