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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ecx, dword [ebp + 0x254]
xor edi, edi
cmp ecx, edi
je 0x4b10e9
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [ebp + 0x254], edi
mov eax, dword [ebp + 0x134]
cmp eax, edi
mov dword [ebp + 0x26c], 1
je 0x4b185d
cmp dword [eax + 0x58], edi
je 0x4b185d
mov eax, dword [ebp + 0x270]
cmp eax, edi
je 0x4b185d
cmp dword [eax + 0x78], edi
je 0x4b185d
add eax, 0x34
call fcn.00488e80
test eax, eax
jbe 0x4b1837
mov eax, dword [ebp]
mov edx, dword [eax + 0x150]
push edi
mov ecx, ebp
call edx
mov esi, dword [ebp + 0xd4]
mov ecx, dword [ebp + 0xdc]
mov edx, dword [ebp + 0xe0]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xd8]
push 0x70
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
call fcn.00500104
add esp, 4
cmp eax, edi
je 0x4b1192
call fcn.00482fd0
jmp 0x4b1194
xor eax, eax
mov ecx, dword [ebp + 0x134]
mov dword [ebp + 0x254], eax
mov ecx, dword [ecx + 0x58]
mov edx, dword [ecx + 0x24]
cmp edx, edi
mov dword [esp + 0x1c], edx
je 0x4b130e
mov ecx, dword [ecx + 0xb4]
push esi
push 4
push ecx
mov ecx, dword [ebp + 0x1c4]
push 1
push 1
push eax
mov eax, dword [ebp + 0xd0]
push edx
mov edx, dword [ebp + 0x1c0]
call fcn.00495610
test eax, eax
jne 0x4b130e
mov edx, dword [ebp + 0x1c4]
mov eax, dword [ebp + 0x1c0]
push edx
push eax
mov eax, dword [ebp + 0x254]
call fcn.004830f0
mov esi, dword [ebp + 0x254]
xor eax, eax
call fcn.00483200
push 1
push edi
xor edi, edi
lea ebx, [esp + 0x1c]
mov esi, ebp
call fcn.004883b0
test eax, eax
je 0x4b12c0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4b12d9
mov ecx, dword [ebp + 0x134]
mov edx, dword [ecx + 0x58]
mov ecx, dword [edx + 0x18]
test ecx, ecx
je 0x4b12c4
call fcn.004804c0
mov esi, eax
test esi, esi
je 0x4b12c0
mov eax, dword [ebp + 0x1c0]
mov ecx, dword [ebp + 0x1c4]
mov edx, dword [esi]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x58], ecx
mov ecx, esi
xor ebx, ebx
call eax
mov edx, dword [esi]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
sub esp, 0x10
mov dword [esp + 0x44], eax
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp + 0x254]
push ebx
lea edx, [esp + 0x40]
push edx
push eax
mov cl, 1
lea edx, [ebp + 0xd0]
mov eax, esi
call fcn.0048a2c0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4b12d9
push esi
call fcn.00500319
add esp, 4
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebp + 0x134]
mov eax, dword [edx + 0x58]
mov ebx, dword [ebp + 0x254]
push ecx
mov ecx, dword [eax + 0xb4]
mov eax, dword [ebp + 0xd0]
push 4
push ecx
mov ecx, dword [esp + 0x28]
push 1
push 1
add ecx, 4
call fcn.00495690
xor edi, edi
mov ecx, dword [ebp + 0x508]
cmp ecx, edi
je 0x4b1329
mov eax, dword [ebp + 0x270]
mov edx, dword [ecx]
mov eax, dword [eax + 0x18]
mov edx, dword [edx + 0x50]
push eax
call edx
mov eax, dword [ebp + 0x254]
push eax
mov ecx, ebp
call fcn.0048e210
mov ebx, dword [ebp + 0x254]
cmp ebx, edi
je 0x4b139f
mov eax, dword [ebp + 0x270]
cmp eax, edi
je 0x4b139f
cmp dword [eax + 0x6c], edi
je 0x4b139f
mov eax, dword [ebp + 0x134]
cmp eax, edi
je 0x4b139f
mov esi, dword [eax + 0x54]
cmp esi, edi
je 0x4b139f
mov eax, esi
call fcn.00499a00
test eax, eax
jne 0x4b139f
mov eax, dword [ebp + 0x510]
mov ecx, dword [ebp + 0x50c]
push ebx
push esi
call fcn.0047f9a0
cmp eax, edi
je 0x4b139f
mov ecx, dword [ebp + 0x254]
mov ebx, dword [ebp + 0x510]
mov edi, dword [ebp + 0x50c]
push ecx
mov esi, eax
call fcn.004896a0
xor edi, edi
mov ecx, dword [ebp + 0x500]
cmp ecx, edi
je 0x4b13d3
cmp dword [ebp + 0x504], edi
je 0x4b13d3
mov edx, dword [ecx]
mov eax, dword [ebp + 0x254]
mov edx, dword [edx + 0x20]
push eax
call edx
mov ecx, dword [ebp + 0x504]
mov eax, dword [ecx]
mov edx, dword [ebp + 0x254]
mov eax, dword [eax + 0x20]
push edx
call eax
mov eax, dword [ebp + 0x270]
cmp dword [eax + 0x18], edi
je 0x4b148f
cmp dword [ebp + 0x508], edi
jne 0x4b148f
mov ecx, dword [eax + 0x14]
mov esi, dword [ebp + ecx*4 + 0x52c]
cmp esi, edi
je 0x4b148f
mov edx, dword [esi + 0xc]
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x10]
push edi
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x528]
sub eax, dword [ebp + 0x520]
mov dword [esp + 0x48], edx
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [ebp + 0x51c]
lea edx, [esp + 0x44]
push edx
mov edx, dword [ebp + 0x524]
sub edx, dword [ebp + 0x51c]
push eax
mov eax, dword [ebp + 0x254]
push ecx
push eax
mov eax, dword [ebp + 0x520]
mov bl, 1
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 0x1b
mov dword [esp + 0x6c], 1
mov dword [esp + 0x70], 0xc
mov dword [esp + 0x74], 0x14
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call fcn.0048a340
call fcn.0044d100
mov ecx, dword [0x57668c]
cmp dword [ecx + 0xd94], edi
mov dword [0x576688], 1
je 0x4b156c
mov esi, dword [ebp + 0x3bc]
cmp esi, edi
je 0x4b156c
mov ebx, dword [ebp + 0x114]
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 0x110]
mov ecx, dword [esi + 0x10]
add ebx, 0xfffffffe
mov dword [esp + 0x30], ebx
mov ebx, dword [ebp + 0x114]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
lea edi, [edx - 8]
lea edx, [edx + eax - 8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x254]
lea ebx, [ebx + ecx - 2]
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], ebx
call fcn.00483610
sub ebx, dword [esp + 0x30]
mov ecx, dword [ebp + 0x254]
mov edx, dword [esp + 0x34]
push 0
push 0
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x3c]
push ebx
push edi
sub edx, edi
push ecx
mov bl, 1
call fcn.0048a340
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0xc]
mov ecx, dword [esp + 0x30]
add eax, ecx
add esi, edi
mov dword [ebp + 0x3ac], edi
mov dword [ebp + 0x3b0], ecx
mov dword [ebp + 0x3b4], esi
mov dword [ebp + 0x3b8], eax
mov dword [ebp + 0x3dc], 1
xor edi, edi
mov edx, dword [ebp + 0x270]
mov eax, dword [edx + 0x340]
cmp eax, edi
je 0x4b1597
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b1580
sub eax, edx
sar eax, 1
je 0x4b1597
push ebp
call fcn.00476380
mov eax, dword [ebp + 0x270]
cmp dword [eax + 0x3b0], edi
je 0x4b15e0
lea esi, [ebp + 0x244]
mov eax, esi
call fcn.00488e80
test eax, eax
jbe 0x4b15e0
mov eax, dword [ebp + 0x4e8]
mov ecx, dword [ebp + 0x4f4]
mov edx, dword [ebp + 0x4ec]
push 1
push edi
push edi
push edi
push ecx
push eax
push edx
push eax
mov eax, dword [ebp + 0x254]
push eax
call fcn.004893f0
add esp, 0x24
mov ebx, dword [ebp + 0x270]
mov esi, dword [ebp + 0x134]
add ebx, 0x34
cmp esi, edi
je 0x4b15fe
call fcn.004696b0
mov dword [esp + 0x20], eax
jmp 0x4b1602
mov dword [esp + 0x20], edi
mov eax, ebx
mov dword [esp + 0x10], edi
call fcn.00488e80
test eax, eax
jle 0x4b1766
jmp 0x4b161b
mov edi, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4b162e
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4b1633
call fcn.00500ad0
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + edi*4]
cmp dword [edx + 0x18], 0
je 0x4b1766
mov esi, ebx
call fcn.00472050
mov eax, dword [eax]
test byte [eax + 0x14], 2
jne 0x4b1670
mov edi, dword [esp + 0x10]
call fcn.00472050
mov eax, dword [eax]
test byte [eax + 0x14], 4
jne 0x4b1670
lea edi, [ebp + 0x1d4]
call fcn.0046c280
jmp 0x4b167b
lea edi, [ebp + 0x1d4]
call fcn.0046c230
mov edi, dword [esp + 0x10]
mov esi, ebx
mov dword [esp + 0x1c], eax
call fcn.00472050
mov eax, dword [eax]
test byte [eax + 0x14], 2
je 0x4b169e
mov eax, dword [ebp + 0x1f0]
mov dword [esp + 0x18], eax
jmp 0x4b16a8
mov ecx, dword [ebp + 0x1ec]
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x10]
call fcn.00472050
mov eax, dword [eax]
test byte [eax + 0x14], 4
je 0x4b16c3
mov edx, dword [ebp + 0x218]
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0x10]
call fcn.00472050
mov eax, dword [eax]
test byte [eax + 0x14], 8
je 0x4b16de
mov eax, dword [ebp + 0x1ec]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x10]
call fcn.00472050
mov eax, dword [eax]
test byte [eax + 0x14], 0x10
je 0x4b16f9
mov ecx, dword [ebp + 0x1f0]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x1c], 0
je 0x4b174c
mov edi, dword [esp + 0x10]
call fcn.00472050
mov eax, dword [eax]
mov edx, dword [eax]
mov dword [esp + 0x28], edx
call fcn.00472050
mov dword [esp + 0x24], eax
call fcn.00472050
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
movzx ecx, byte [edx + 0x1c]
mov edx, dword [esp + 0x1c]
shl ecx, 0x18
or ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [eax]
mov eax, dword [ebp + 0x254]
push eax
add edx, 4
push ebp
call fcn.00476a10
mov esi, dword [esp + 0x10]
add esi, 1
mov eax, ebx
mov dword [esp + 0x10], esi
call fcn.00488e80
cmp esi, eax
jl 0x4b1617
mov ecx, dword [ebp + 0x254]
push ecx
mov ecx, ebp
call fcn.004b2600
mov eax, dword [ebp + 0x270]
mov edx, dword [eax + 0x3c4]
cmp dword [edx - 0xc], 0
je 0x4b17d9
cmp dword [eax + 0x3d4], 0
je 0x4b17d9
mov ecx, edx
cmp dword [ecx - 0xc], 0
je 0x4b17d9
lea edx, [ebp + 0x46c]
test edx, edx
je 0x4b17d9
xor esi, esi
mov edi, ecx
cmp dword [edi - 0xc], esi
je 0x4b17b7
cmp dword [eax + 0x3c8], esi
je 0x4b17b7
mov esi, 1
movzx edi, byte [eax + 0x3d0]
shl edi, 0x18
or edi, dword [edx + 0x18]
add eax, 0x3d8
push edi
push esi
push eax
mov eax, dword [ebp + 0x254]
push eax
push ebp
call fcn.00476f20
mov edi, ebp
call fcn.004768c0
test eax, eax
je 0x4b1835
mov ecx, dword [ebp + 0x270]
mov edx, dword [ecx + 0x48]
cmp dword [edx - 0xc], 0
je 0x4b1835
lea esi, [ebp + 0x4bc]
test esi, esi
je 0x4b1805
mov esi, dword [ebp + 0x4d4]
jmp 0x4b180a
mov esi, 0x8c7a6b
mov edi, dword [esp + 0x20]
push 0xffffffffffffffff
push edi
mov edi, dword [ebp + 0x254]
push esi
push eax
mov eax, dword [ecx + 0x64]
sub eax, dword [ecx + 0x5c]
push edx
mov edx, dword [ecx + 0x68]
sub edx, dword [ecx + 0x60]
push edx
mov edx, dword [ecx + 0x60]
push eax
mov eax, dword [ecx + 0x5c]
push edx
push eax
call fcn.004972a0
xor edi, edi
mov eax, dword [ebp + 0x254]
cmp eax, edi
je 0x4b1856
cmp dword [ebp + 0x268], edi
jne 0x4b1856
mov ecx, dword [0x57aa2c]
push ecx
push eax
call fcn.00489f20
mov ecx, ebp
call fcn.00475d80
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4