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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x64a000]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0xa4]
push edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], ebx
cmp eax, 0x20
jae 0x4bc9b4
xor ecx, ecx
mov word [esp + eax + 0x50], cx
add eax, 2
cmp eax, 0x1e
jbe 0x4bc544
push esi
mov esi, dword [esp + 0xa4]
test esi, esi
je 0x4bc57e
jmp 0x4bc570
movzx eax, word [edx + ecx*2]
inc ecx
inc word [esp + eax*2 + 0x54]
cmp ecx, esi
jb 0x4bc570
mov eax, dword [ebx]
push ebp
mov ebp, 0xf
cmp word [esp + ebp*2 + 0x58], 0
jne 0x4bc594
dec ebp
cmp ebp, 1
jae 0x4bc586
cmp eax, ebp
cmova eax, ebp
test ebp, ebp
jne 0x4bc5d8
mov ecx, dword [edi]
mov dword [esp + 0x10], 0x140
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
add dword [edi], 4
mov ecx, dword [edi]
mov dword [ecx], eax
add dword [edi], 4
mov dword [ebx], 1
xor eax, eax
mov ecx, dword [esp + 0x98]
pop ebp
pop esi
pop edi
pop ebx
xor ecx, esp
call fcn.004c17c4
add esp, 0x8c
ret
mov ebx, 1
mov dword [esp + 0x24], ebx
cmp ebp, ebx
jbe 0x4bc5f6
cmp word [esp + ebx*2 + 0x58], 0
jne 0x4bc5f2
inc ebx
cmp ebx, ebp
jb 0x4bc5e5
mov dword [esp + 0x24], ebx
cmp eax, ebx
mov edx, 1
mov ecx, edx
cmovb eax, ebx
mov dword [esp + 0x1c], eax
movzx eax, word [esp + ecx*2 + 0x58]
add edx, edx
sub edx, eax
js 0x4bc9ac
inc ecx
cmp ecx, 0xf
jbe 0x4bc606
test edx, edx
jle 0x4bc636
cmp dword [esp + 0xa0], 0
je 0x4bc9ac
cmp ebp, 1
jne 0x4bc9ac
xor eax, eax
mov ecx, 2
mov word [esp + 0x7a], ax
jmp 0x4bc650
mov ax, word [esp + ecx + 0x78]
add ax, word [esp + ecx + 0x58]
mov word [esp + ecx + 0x7a], ax
add ecx, 2
cmp ecx, 0x1e
jb 0x4bc650
xor ecx, ecx
test esi, esi
je 0x4bc699
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x4c]
movzx eax, word [ebx + ecx*2]
test ax, ax
je 0x4bc690
movzx eax, word [esp + eax*2 + 0x78]
mov word [edx + eax*2], cx
movzx eax, word [ebx + ecx*2]
inc word [esp + eax*2 + 0x78]
inc ecx
cmp ecx, esi
jb 0x4bc675
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0xa0]
sub eax, 0
je 0x4bc6e8
dec eax
je 0x4bc6c1
or eax, 0xffffffff
mov dword [esp + 0x34], 0x60c8b8
mov dword [esp + 0x40], 0x60c8f8
mov dword [esp + 0x2c], eax
jmp 0x4bc6fc
mov eax, 0x60c838
sub eax, 0x202
mov dword [esp + 0x34], eax
mov eax, 0x60c878
sub eax, 0x202
mov dword [esp + 0x40], eax
mov eax, 0x100
mov dword [esp + 0x2c], eax
jmp 0x4bc6fc
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0x13
mov eax, dword [edi]
xor edx, edx
mov ecx, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x44], eax
lea ecx, [eax - 1]
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xa0]
cmp ecx, 1
jne 0x4bc73f
cmp eax, 0x354
jmp 0x4bc749
cmp ecx, 2
jne 0x4bc750
cmp eax, 0x250
jae 0x4bc9a2
nop
mov edi, dword [esp + 0x2c]
mov al, bl
sub al, dl
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
mov ecx, eax
cmp ecx, edi
jge 0x4bc770
mov byte [esp + 0x10], 0
jmp 0x4bc78e
jle 0x4bc787
mov eax, dword [esp + 0x40]
mov al, byte [eax + ecx*2]
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x34]
mov ax, word [eax + ecx*2]
jmp 0x4bc78e
mov byte [esp + 0x10], 0x60
xor eax, eax
mov ecx, ebx
mov word [esp + 0x12], ax
sub ecx, edx
mov edi, 1
mov edx, dword [esp + 0x44]
shl edi, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], edx
lea eax, [edi*4]
mov dword [esp + 0x3c], eax
mov eax, esi
shr eax, cl
mov ecx, dword [esp + 0x18]
add eax, edx
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x10]
sub ecx, dword [esp + 0x3c]
mov dword [ecx], eax
sub edx, edi
jne 0x4bc7c6
lea ecx, [ebx - 1]
mov edx, 1
shl edx, cl
test esi, edx
je 0x4bc7e6
mov edi, edi
shr edx, 1
test esi, edx
jne 0x4bc7e0
test edx, edx
je 0x4bc7f3
lea eax, [edx - 1]
and esi, eax
add esi, edx
jmp 0x4bc7f5
xor esi, esi
mov eax, dword [esp + 0x20]
mov ecx, 0xffff
add eax, 2
add word [esp + ebx*2 + 0x58], cx
mov dword [esp + 0x20], eax
jne 0x4bc823
cmp ebx, ebp
je 0x4bc908
movzx eax, word [eax]
mov ecx, dword [esp + 0x4c]
movzx ebx, word [ecx + eax*2]
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
cmp ebx, ecx
jbe 0x4bc750
mov edi, dword [esp + 0x48]
and edi, esi
mov dword [esp + 0x3c], edi
cmp edi, dword [esp + 0x28]
je 0x4bc750
mov eax, edx
mov edx, dword [esp + 0x18]
test eax, eax
cmove eax, ecx
mov ecx, dword [esp + 0x50]
sub ebx, eax
mov dword [esp + 0x14], eax
lea edx, [edx + ecx*4]
mov ecx, ebx
mov dword [esp + 0x18], edx
mov edx, 1
shl edx, cl
lea ecx, [eax + ebx]
cmp ecx, ebp
jae 0x4bc898
lea edi, [esp + 0x58]
lea edi, [edi + ecx*2]
lea ebx, [ebx]
movzx eax, word [edi]
sub edx, eax
test edx, edx
jle 0x4bc894
inc ecx
inc ebx
add edi, 2
add edx, edx
cmp ecx, ebp
jb 0x4bc880
mov edi, dword [esp + 0x3c]
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x38], ecx
cmp eax, 1
jne 0x4bc8c3
cmp ecx, 0x354
jmp 0x4bc8ce
cmp eax, 2
jne 0x4bc8d4
cmp ecx, 0x250
jae 0x4bc9a2
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], edi
mov eax, dword [edx]
mov byte [eax + edi*4], bl
mov eax, dword [edx]
mov ebx, dword [esp + 0x24]
mov byte [eax + edi*4 + 1], cl
mov ecx, dword [edx]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub eax, ecx
sar eax, 2
mov word [ecx + edi*4 + 2], ax
jmp 0x4bc750
mov ecx, dword [esp + 0x14]
mov al, bl
mov ebp, dword [esp + 0x30]
sub al, cl
mov byte [esp + 0x11], al
xor eax, eax
mov byte [esp + 0x10], 0x40
mov word [esp + 0x12], ax
test esi, esi
je 0x4bc989
mov edi, dword [esp + 0x28]
lea esp, [esp]
test ecx, ecx
je 0x4bc955
mov eax, dword [esp + 0x48]
and eax, esi
cmp eax, edi
je 0x4bc955
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edx, dword [ebp]
mov ebx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x10]
mov edx, esi
shr edx, cl
mov ecx, dword [esp + 0x18]
mov dword [ecx + edx*4], eax
lea ecx, [ebx - 1]
mov eax, 1
shl eax, cl
test esi, eax
je 0x4bc978
shr eax, 1
test esi, eax
jne 0x4bc972
test eax, eax
je 0x4bc989
lea ecx, [eax - 1]
and esi, ecx
mov ecx, dword [esp + 0x14]
add esi, eax
jne 0x4bc930
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
shl eax, 2
add dword [ebp], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x4bc5bd
mov eax, 1
jmp 0x4bc5bf
or eax, 0xffffffff
jmp 0x4bc5bf
call fcn.004c3bb5
int3