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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov edx, dword [ebp + 8]
push edi
mov dword [esp + 0x1c], ebx
mov edi, dword [ebx + 8]
mov eax, dword [edx + 0x40]
mov ecx, dword [ebx]
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], eax
test eax, eax
je 0x4bcebf
nop dword [eax + eax]
cmp dword [eax], ecx
je 0x4bcebb
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4bceb0
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 0x28]
movsx edx, word [edx + 0x2a]
mov eax, dword [esi + 0x38]
add edx, 2
push edx
mov dword [esp + 0x18], eax
lea eax, [ecx + 1]
mov dword [esp + 0x1c], edx
mov edx, 0x6e
mov dword [esp + 0x24], ecx
push ecx
mov ecx, edi
mov dword [ebx + 0x28], eax
call fcn.00478680
mov ecx, dword [ebx + 0x2c]
mov edx, esi
mov dword [esp + 0x2c], eax
push 0
push 4
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
inc eax
add eax, ecx
mov ecx, ebx
push 0
mov dword [esp + 0x3c], eax
inc eax
push 0
push dword [ebp + 0x18]
mov dword [esp + 0x48], eax
mov dword [ebx + 0x2c], eax
call fcn.004ca1e0
add esp, 0x1c
mov dword [esp + 0x34], eax
test eax, eax
je 0x4bd5c3
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp cx, word [eax + 0x2a]
jge 0x4bd04c
mov eax, dword [esp + 0x10]
mov edx, 0xfffffffe
sub edx, eax
mov dword [esp + 0x3c], edx
lea esi, [eax + 2]
jmp 0x4bcf57
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
test eax, eax
js 0x4bcfbf
mov ecx, dword [ebp + 0xc]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 + 4]
test edx, edx
je 0x4bcf92
cmp byte [edx], 0x98
jne 0x4bcf92
mov ecx, dword [ebx + 8]
push esi
push dword [edx + 0x1c]
mov edx, 0x4b
call fcn.00478680
add esp, 8
lea ebx, [edi + 0x88]
jmp 0x4bd02c
push esi
mov ecx, ebx
call fcn.00492210
add esp, 4
cmp eax, esi
je 0x4bcfb7
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x4bcfb7
push esi
push eax
mov edx, 0x4c
call fcn.00478680
add esp, 8
lea ebx, [edi + 0x88]
jmp 0x4bd02c
mov eax, dword [edi + 0xc]
lea ebx, [edi + 0x88]
mov ecx, dword [ebx]
add edx, esi
cmp dword [eax + 0x30], ecx
jg 0x4bcfe8
push esi
push edx
push dword [esp + 0x1c]
mov edx, 0x9f
mov ecx, edi
call fcn.004784f0
add esp, 0xc
jmp 0x4bd016
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x9f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
test eax, eax
jle 0x4bd02c
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [edi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x3c]
inc esi
mov eax, dword [ebp + 8]
add dword [ebp + 0x14], 4
lea ecx, [edx + esi]
movsx eax, word [eax + 0x2a]
cmp ecx, eax
jl 0x4bcf53
mov eax, dword [ebp + 8]
jmp 0x4bd052
lea ebx, [edi + 0x88]
test byte [eax + 0x24], 0x20
jne 0x4bd134
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x88]
mov esi, dword [esp + 0x10]
cmp dword [eax + 0x30], ecx
jg 0x4bd086
push 0
push esi
push dword [esp + 0x1c]
mov edx, 0x7d
mov ecx, edi
call fcn.004784f0
add esp, 0xc
jmp 0x4bd0b8
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x7d
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0x10]
lea eax, [esi + 1]
push eax
test edx, edx
je 0x4bd11c
cmp byte [edx], 0x98
mov esi, dword [esp + 0x20]
jne 0x4bd0e4
push dword [edx + 0x1c]
mov ecx, dword [esi + 8]
mov edx, 0x4b
call fcn.00478680
add esp, 8
jmp 0x4bd211
mov ecx, esi
call fcn.00492210
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x10]
inc eax
cmp edx, eax
je 0x4bd211
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4bd211
push eax
push edx
mov edx, 0x4c
call fcn.00478680
add esp, 8
jmp 0x4bd211
push dword [esp + 0x18]
mov edx, 0x7d
mov ecx, edi
call fcn.00478680
add esp, 8
jmp 0x4bd215
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4bd150
nop dword [eax + eax]
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4bd150
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4bd140
mov eax, dword [ecx + 4]
mov ecx, dword [edi + 0x88]
movsx esi, word [eax]
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4bd17e
push dword [esp + 0x10]
mov edx, 0x9f
mov ecx, edi
push esi
push dword [esp + 0x1c]
call fcn.004784f0
add esp, 0xc
jmp 0x4bd1b0
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x9f
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x88]
lea edx, [eax + 1]
add eax, 2
add esi, eax
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4bd1df
push 0
push edx
push esi
mov edx, 0x4c
mov ecx, edi
call fcn.004784f0
add esp, 0xc
jmp 0x4bd211
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x4c
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov al, byte [eax + 0x31]
mov byte [esp + 0xf], al
test al, al
je 0x4bd26f
mov eax, dword [edi]
cmp byte [eax + 0x49], 0
jne 0x4bd258
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea esi, [eax + ecx*4]
mov ecx, dword [edi]
call fcn.00479010
add esp, 4
mov word [esi], 0xa9
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x78], 0
jne 0x4bd430
mov byte [esi + 0x14], 0
jmp 0x4bd430
mov eax, dword [edi + 0xc]
mov ecx, dword [ebx]
cmp dword [eax + 0x30], ecx
jg 0x4bd293
push dword [esp + 0x28]
mov edx, 0x65
mov ecx, edi
push dword [esp + 0x1c]
push esi
call fcn.004784f0
add esp, 0xc
jmp 0x4bd2c1
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x65
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
cmp dword [eax + 0x30], ecx
jg 0x4bd2ec
push 0
push edx
push esi
mov edx, 0x75
mov ecx, edi
call fcn.004784f0
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x4bd316
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [ebx]
cmp dword [eax + 0x30], ecx
jg 0x4bd337
push edx
push dword [esp + 0x2c]
mov edx, 0x76
mov ecx, edi
push esi
call fcn.004784f0
add esp, 0xc
jmp 0x4bd365
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x34]
call fcn.004cad30
mov eax, dword [edi + 0xc]
mov edx, dword [ebx]
mov dword [esp + 0x24], edx
cmp dword [eax + 0x30], edx
jg 0x4bd396
push 0
push 0
push esi
mov edx, 0x25
mov ecx, edi
call fcn.004784f0
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4bd3c4
lea eax, [edx + 1]
mov dword [ebx], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x4bd42c
nop dword [eax]
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx]
add edx, esi
cmp dword [eax + 0x30], ecx
jg 0x4bd3f7
push edx
push esi
push dword [esp + 0x28]
mov edx, 0x63
mov ecx, edi
call fcn.004784f0
add esp, 0xc
jmp 0x4bd425
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc esi
cmp esi, dword [esp + 0x18]
jl 0x4bd3d0
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.004bf140
mov eax, dword [edi + 0xc]
mov edx, dword [ebx]
cmp dword [eax + 0x30], edx
jg 0x4bd461
push dword [esp + 0x10]
mov edx, 0xc
mov ecx, edi
push dword [esp + 0x1c]
push 0
call fcn.004784f0
add esp, 0xc
mov edx, eax
jmp 0x4bd497
mov esi, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [ebx], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff4
push dword [esp + 0x3c]
mov ecx, edi
call fcn.00479270
mov ecx, dword [ebx]
add esp, 8
test ecx, ecx
jle 0x4bd4ce
mov eax, dword [ebp + 0x1c]
lea ecx, [ecx + ecx*4]
movzx edx, ax
cmp eax, 0xa
mov eax, dword [edi + 0x58]
mov dword [esp + 0x3c], 2
cmove edx, dword [esp + 0x3c]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esi + 0x78]
test eax, eax
cmovne esi, eax
cmp byte [esp + 0xf], 0
mov byte [esi + 0x15], 1
jne 0x4bd5ba
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx]
inc edx
mov esi, dword [esp + 0x20]
cmp dword [eax + 0x30], ecx
jg 0x4bd50d
push 0
push edx
push esi
mov edx, 7
mov ecx, edi
call fcn.004784f0
add esp, 0xc
jmp 0x4bd537
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 7
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [ebx]
cmp byte [eax + 0x49], 0
je 0x4bd548
mov eax, 0x59f36c
jmp 0x4bd55d
mov ecx, dword [esp + 0x24]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [edi + 0xc]
mov ecx, dword [ebx]
cmp dword [eax + 0x30], ecx
jg 0x4bd585
push 0
push 0
push esi
mov edx, 0x72
mov ecx, edi
call fcn.004784f0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x72
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
call fcn.004cad30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret