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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
movsx ebx, word [eax + 0x986]
mov edi, ecx
movsx edx, word [eax + 0x988]
xor ecx, ecx
mov dword [ebp - 8], edx
mov edx, 5
mov dword [ebp - 0x18], ebx
mov eax, dword [edi + 0xb04]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], edx
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
add eax, eax
add ebx, 0x22
mov dword [ebp - 0x2c], eax
lea esi, [eax*4 + 0x4c]
jmp 0x4beca3
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0xb04]
mov edi, dword [esi + eax - 0x14]
mov cl, byte [edi + 0x78]
test cl, cl
je 0x4bece7
mov eax, dword [eax + 0x100]
cmp byte [eax + 0x175], cl
mov ecx, dword [edi + 0xe8]
sbb eax, eax
inc eax
push eax
mov eax, dword [ebp - 8]
add eax, 0x36
push eax
push ebx
call fcn.00442b10
mov edx, dword [ebp - 0xc]
test eax, eax
je 0x4bece7
mov ecx, dword [edi + 0xe8]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb04]
mov edi, dword [esi + eax]
mov cl, byte [edi + 0x78]
test cl, cl
je 0x4bed2d
mov eax, dword [eax + 0x100]
cmp byte [eax + 0x175], cl
mov ecx, dword [edi + 0xe8]
sbb eax, eax
inc eax
push eax
mov eax, dword [ebp - 8]
add eax, 0x5f
push eax
push ebx
call fcn.00442b10
mov edx, dword [ebp - 0xc]
test eax, eax
je 0x4bed2d
mov ecx, dword [edi + 0xe8]
mov dword [ebp - 0x14], ecx
add esi, 4
add ebx, 0x29
sub edx, 1
mov dword [ebp - 0xc], edx
jne 0x4beca0
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [esi + 0xb04]
mov eax, dword [edx + 4]
lea ecx, [ecx + eax*4]
add ecx, eax
add ecx, dword [edx]
mov ebx, dword [edx + ecx*4 + 0x38]
mov dword [ebp - 0x10], ebx
mov byte [ebx + 0x3c], 0
mov cl, byte [ebx + 0x78]
lea edi, [ebx + 0x3c]
mov byte [ebx], 0
mov dword [ebp - 0x2c], edi
test cl, cl
je 0x4bedb8
mov eax, dword [esi + 0xb04]
mov eax, dword [eax + 0x100]
cmp byte [eax + 0x175], cl
jae 0x4bedb8
push eax
push 0x55d39c
call fcn.00404580
add esp, 4
push eax
push ebx
call fcn.0041f000
movzx eax, byte [ebx + 0x78]
add esp, 0xc
push eax
push 0x55d3ac
call fcn.00404580
add esp, 4
push eax
push edi
call fcn.0041f000
add esp, 0xc
lea edx, [ebx + 0x7c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], edx
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
mov dh, byte [eax + 0x175]
test dh, dh
je 0x4bee94
xor ecx, ecx
lea edi, [esi + 0x2a740]
mov dword [ebp - 0x1c], ecx
xor ebx, ebx
mov esi, dword [edi]
test esi, esi
je 0x4bee7a
mov ecx, esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4bee11
test dl, dl
je 0x4bee0d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4bee11
add ecx, 2
add eax, 2
test dl, dl
jne 0x4bedf1
xor eax, eax
jmp 0x4bee16
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4bee74
mov ecx, 1
mov dword [ebp - 0x1c], ecx
cmp byte [esi + 0x175], dh
jae 0x4bee77
push esi
push 0x55d33c
call fcn.00404580
mov ebx, dword [ebp - 0x10]
add esp, 4
push eax
push ebx
call fcn.0041f000
mov eax, dword [ebp - 0xc]
add esp, 0xc
movzx eax, byte [eax + 0x175]
push eax
movzx eax, byte [esi + 0x175]
push eax
push 0x55d34c
call fcn.00404580
add esp, 4
push eax
lea eax, [ebx + 0x3c]
push eax
call fcn.0041f000
add esp, 0x10
jmp 0x4bee91
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
inc ebx
add edi, 4
cmp ebx, 0xf0
jl 0x4bede5
test ecx, ecx
je 0x4beeaf
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
inc eax
add edx, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
cmp eax, 0x14
jl 0x4bedc5
jmp 0x4beeef
push eax
push 0x55d360
call fcn.00404580
mov ebx, dword [ebp - 0x10]
add esp, 4
push eax
push ebx
call fcn.0041f000
mov eax, dword [ebp - 0xc]
add esp, 0xc
movzx eax, byte [eax + 0x175]
push eax
push 0x55d36c
call fcn.00404580
add esp, 4
push eax
lea eax, [ebx + 0x3c]
push eax
call fcn.0041f000
add esp, 0xc
mov edi, dword [ebp - 0x18]
lea eax, [ebx + 0xcc]
add edi, 0x37
mov dword [ebp - 0x20], eax
mov edx, 7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], edx
nop dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [eax + 0x70]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x4bf0c2
mov ebx, dword [ebp - 4]
xor edi, edi
add ebx, 0x29a00
mov dword [ebp - 0x24], 0x78
mov esi, dword [ebx]
test esi, esi
je 0x4bef7b
lea ecx, [eax + 0x18]
lea eax, [esi + 0x18]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4bef61
test dl, dl
je 0x4bef5d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4bef61
add eax, 2
add ecx, 2
test dl, dl
jne 0x4bef41
xor eax, eax
jmp 0x4bef66
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4bef78
movzx eax, word [esi + 0x60]
cmp eax, 2
jb 0x4bef77
add edi, eax
jmp 0x4bef78
inc edi
mov eax, dword [ebp - 0xc]
add ebx, 4
sub dword [ebp - 0x24], 1
jne 0x4bef35
mov ebx, dword [ebp - 4]
add ebx, 0x29c24
mov dword [ebp - 0x24], 0xa
mov esi, dword [ebx]
test esi, esi
je 0x4befd7
lea ecx, [eax + 0x18]
lea eax, [esi + 0x18]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4befc0
test dl, dl
je 0x4befbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4befc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4befa0
xor eax, eax
jmp 0x4befc5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4befd7
movzx eax, word [esi + 0x60]
cmp eax, 2
jb 0x4befd6
add edi, eax
jmp 0x4befd7
inc edi
mov eax, dword [ebp - 0xc]
add ebx, 4
sub dword [ebp - 0x24], 1
jne 0x4bef94
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
mov eax, dword [eax + 0xb04]
mov esi, dword [eax + 0x10]
imul esi, dword [ebp - 0x30]
cmp edi, esi
jl 0x4bf000
mov word [ebx + 0x60], si
jmp 0x4bf03c
lea eax, [ebx + 0x18]
mov word [ebx + 0x60], di
push eax
push 0x55d380
call fcn.00404580
add esp, 4
push eax
push dword [ebp - 0x10]
call fcn.0041f000
add esp, 0xc
push esi
push edi
push 0x55d388
call fcn.00404580
add esp, 4
push eax
push dword [ebp - 0x2c]
call fcn.0041f000
add esp, 0x10
movzx eax, word [ebx + 0x60]
shl eax, 5
cdq
idiv esi
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x1c]
add ecx, 0x90
push 0xa
push 0xffffffffffffffff
push eax
sub ecx, eax
lea eax, [edi - 0x26]
push 0x20
add ecx, 0x20
push ecx
mov ecx, dword [0x6e4500]
push eax
call fcn.0051e2b5
movzx eax, word [ebx + 0x60]
cmp eax, dword [ebx + 0x70]
jge 0x4bf07e
xor eax, eax
lea esi, [eax + 1]
jmp 0x4bf085
mov eax, 1
xor esi, esi
push eax
mov eax, dword [ebp - 8]
mov ecx, ebx
add eax, 0xa0
push eax
lea eax, [edi - 0x16]
push eax
call fcn.00442b10
mov ecx, dword [ebp - 0x14]
test eax, eax
movzx eax, word [ebx + 0x60]
push esi
push 4
push eax
mov eax, dword [ebp - 8]
cmovne ecx, ebx
add eax, 0xa4
mov dword [ebp - 0x14], ecx
push eax
push edi
call fcn.0044bdf0
mov edx, dword [ebp - 0x28]
add esp, 0x14
mov eax, dword [ebp - 0x20]
add edi, 0x29
add eax, 4
mov dword [ebp - 0x1c], edi
sub edx, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jne 0x4bef10
push dword [0x697d98]
push dword [0x6e4500]
call fcn.0051ae1b
push 0x141414
push 0xc8c8c8
mov esi, eax
call fcn.0051ad70
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 0x18]
add edi, 0x11
mov ecx, dword [ebx + 0xb04]
add ecx, 0x14
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0x10
push ecx
push edi
push esi
call fcn.0051acf3
push dword [ebp - 0x10]
mov eax, dword [ebp - 8]
add eax, 0xbc
push eax
push edi
push esi
call fcn.0051acf3
push dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
add eax, 0xce
push eax
push edi
push esi
call fcn.0051acf3
add esp, 0x40
push esi
push dword [0x6e4500]
call fcn.0051ad85
mov edi, dword [ebp + 8]
add esp, 8
mov ecx, edi
call fcn.0048d220
cmp eax, 1
je 0x4bf16c
cmp eax, 2
jne 0x4bf178
push 0
push 0
push eax
mov ecx, edi
call fcn.0048d830
mov eax, dword [ebx + 0xb04]
mov ecx, edi
push 0
mov eax, dword [eax + 0x10]
lea esi, [eax + eax*4]
mov eax, 0xa57eb503
shl esi, 5
imul esi
add edx, esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push 3
call fcn.0048d830
mov eax, dword [ebx + 0xb04]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x18]
push 0
mov eax, dword [eax + 8]
inc eax
push 2
push eax
lea eax, [esi + 0x32]
push eax
lea eax, [edi + 0x113]
push eax
call fcn.0044bdf0
mov eax, dword [ebx + 0xb04]
push 0
push 2
push dword [eax + 0x10]
lea eax, [esi + 0x7a]
push eax
lea eax, [edi + 0x128]
push eax
call fcn.0044bdf0
mov ecx, dword [ebx + 0xb04]
add esp, 0x28
imul eax, dword [ecx + 4], 0x29
push 0xffc8c8c8
push 0x23
push 0x23
add eax, 0x24
add eax, esi
push eax
imul eax, dword [ecx], 0x29
mov ecx, dword [0x6e4500]
add eax, 0xf
add eax, edi
push eax
call fcn.00520e68
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4bf22c
lea eax, [ecx + 0x18]
push eax
push ebx
call fcn.00470080
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4