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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, edx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edi
mov eax, dword [edi + 0x28]
mov edx, dword [edi]
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [edi + 0x28], eax
mov ecx, dword [ebx + 0x18]
mov ebx, 0xffff8000
test ecx, ecx
je 0x4bf508
mov eax, dword [edx + 0x10]
xor ebx, ebx
add eax, 0xc
cmp dword [eax], ecx
je 0x4bf508
nop dword [eax]
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x4bf500
mov eax, dword [edx + 0x10]
mov esi, ebx
add esi, esi
mov edx, 0x1b
mov ecx, edi
push dword [eax + esi*8]
mov eax, dword [esp + 0x1c]
push 0
push dword [eax]
call fcn.004b8e70
add esp, 0xc
test eax, eax
jne 0x4bfdf1
cmp ebx, 1
je 0x4bf55c
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*8 + 4]
cmp byte [eax + 9], 0
je 0x4bf55c
mov eax, dword [esp + 0x30]
mov edx, ebx
mov ecx, edi
push dword [eax]
push 1
push dword [eax + 0x14]
call fcn.004b8f00
add esp, 0xc
mov esi, dword [edi + 8]
test esi, esi
jne 0x4bf585
cmp dword [edi + 0x74], esi
jne 0x4bf574
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x4bf574
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0048ffd0
mov esi, eax
test esi, esi
je 0x4bfdf1
mov eax, dword [ebp + 8]
test eax, eax
js 0x4bf596
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
jmp 0x4bf5a1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x28], ecx
mov edx, eax
mov ecx, edi
call fcn.004c2e30
mov edx, dword [edi + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edx
lea ecx, [edx + 1]
mov dword [edi + 0x28], ecx
test eax, eax
je 0x4bf5c1
inc dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x34], ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x78], ecx
jg 0x4bf5f5
push eax
push 0
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00490220
lea edx, [esi + 0x70]
add esp, 0xc
mov dword [esp + 0xc], edx
jmp 0x4bf636
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea edx, [esi + 0x70]
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4bf651
push dword [esp + 0x24]
mov edx, 0xfffffff7
call fcn.00490d30
add esp, 4
jmp 0x4bf68b
test eax, eax
jns 0x4bf659
mov eax, dword [esi + 0x74]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edx]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
je 0x4bf67c
push 0xfffffffffffffff7
push dword [esp + 0x28]
mov edx, ecx
mov ecx, esi
call fcn.00490f80
add esp, 8
jmp 0x4bf68b
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4bf68b
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf7
mov edx, dword [esp + 0x20]
mov ecx, edi
push 0x65
push dword [esp + 0x34]
push ebx
call fcn.004cd380
mov edx, dword [esi + 0x74]
add esp, 0xc
mov dword [esp + 0x30], edx
cmp dword [esi + 0x78], edx
jg 0x4bf6c9
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x26
mov ecx, esi
call fcn.00490220
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x4bf6ff
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [edi + 0x13]
test al, al
jne 0x4bf70e
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
jmp 0x4bf71d
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x98]
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
mov dword [esp + 0x14], edx
push 0
cmovne ecx, eax
lea eax, [esp + 0x38]
push 0
push eax
push 0
push edx
push dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.004c5880
mov ecx, dword [esi + 0x74]
add esp, 0x18
cmp dword [esi + 0x78], ecx
jg 0x4bf770
push 0
push dword [esp + 0x18]
mov edx, 0x8a
mov ecx, esi
push dword [esp + 0x18]
call fcn.00490220
add esp, 0xc
jmp 0x4bf7a6
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4bf7d8
mov eax, dword [edi + 8]
not edx
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4bf7cc
push edx
mov edx, dword [edi + 8]
call fcn.00490a40
add esp, 4
jmp 0x4bf7d8
mov eax, dword [edi + 8]
mov ecx, dword [ecx + 0x40]
mov eax, dword [eax + 0x74]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x74]
inc eax
mov dword [esp + 0x34], eax
cmp dword [esi + 0x78], ecx
jg 0x4bf801
push 0
push eax
push dword [esp + 0x28]
mov edx, 5
mov ecx, esi
call fcn.00490220
add esp, 0xc
jmp 0x4bf837
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
cmp byte [eax + 0x57], 0
je 0x4bf851
mov eax, 0x5c5900
jmp 0x4bf869
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x30]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x34]
cmp dword [ebp + 8], 0
mov dword [eax + 8], ecx
jge 0x4bf8c0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4bf892
push 0
push ebx
push dword [esp + 0x30]
mov edx, 0x90
mov ecx, esi
call fcn.00490220
add esp, 0xc
jmp 0x4bf8c0
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x90
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4bf8e4
push ebx
push dword [esp + 0x2c]
mov edx, 0x70
mov ecx, esi
push dword [esp + 0x24]
call fcn.00490220
add esp, 0xc
mov edx, eax
jmp 0x4bf91a
mov edi, dword [esp + 0x1c]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4bf939
push dword [esp + 0x24]
mov edx, 0xfffffff7
call fcn.00490d30
mov ebx, dword [esp + 0x10]
add esp, 4
jmp 0x4bf977
test edx, edx
jns 0x4bf941
mov edx, dword [esi + 0x74]
dec edx
mov ebx, dword [esp + 0xc]
lea ecx, [edx + edx*4]
mov eax, dword [ebx]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
je 0x4bf968
push 0xfffffffffffffff7
push dword [esp + 0x28]
mov edx, ecx
mov ecx, esi
call fcn.00490f80
add esp, 8
jmp 0x4bf977
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4bf977
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf7
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4bf999
cmp dword [ebp + 8], 0
mov ecx, 0x11
mov edx, 1
cmovge edx, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x24], edx
cmp dword [esi + 0x78], edx
jg 0x4bf9c2
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x24
mov ecx, esi
call fcn.00490220
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4bf9f4
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x36], 0
je 0x4bfb27
mov edx, dword [esi + 0x74]
mov dword [esp + 0x30], edx
cmp dword [esi + 0x78], edx
jg 0x4bfa2b
push 0
push 1
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00490220
mov edx, eax
add esp, 0xc
mov dword [esp + 0x30], edx
jmp 0x4bfa61
mov edi, dword [esp + 0x2c]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x28], ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x34], eax
cmp dword [esi + 0x78], ecx
jg 0x4bfa95
push dword [esp + 0x14]
mov ecx, esi
push edx
push dword [esp + 0x18]
mov edx, 0x83
call fcn.00490220
add esp, 0xc
mov ecx, eax
jmp 0x4bfacb
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x28]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4bfae5
mov eax, dword [ebx]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x34]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
push dword [esp + 0x18]
mov edx, 2
mov ecx, edi
call fcn.004c25e0
mov eax, dword [esi]
add esp, 4
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4bfb0d
mov eax, 0x5c5900
mov dword [eax + 8], edx
jmp 0x4bfb3c
mov ecx, dword [esp + 0x30]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4bfb3c
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esi + 0x74]
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4bfb65
push dword [esp + 0x1c]
mov edx, 0x84
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.00490220
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x4bfb97
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
test dword [eax + 0x38], 0x200
jne 0x4bfbf4
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4bfbc2
push 0
push 0
push edx
mov edx, 0x88
mov ecx, esi
call fcn.00490220
add esp, 0xc
jmp 0x4bfbf4
mov edi, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x88
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4bfc1b
push 0
push dword [esp + 0x18]
mov edx, 0x89
mov ecx, esi
push dword [esp + 0x24]
call fcn.00490220
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4bfc4d
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4bfc67
lea ecx, [eax + eax*4]
mov edi, 0x10
mov eax, dword [ebx]
mov word [eax + ecx*4 - 0x12], di
mov edi, dword [esp + 0x2c]
test edx, edx
je 0x4bfc7f
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4bfc7f
movzx eax, al
mov dword [edi + eax*4 + 0x98], edx
inc byte [edi + 0x13]
mov ecx, dword [esi + 0x74]
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x78], ecx
jg 0x4bfca3
push 0
push dword [esp + 0x2c]
mov edx, 3
mov ecx, esi
push edi
call fcn.00490220
add esp, 0xc
jmp 0x4bfcd1
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 3
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4bfce3
mov eax, 0x5c5900
jmp 0x4bfcf7
mov ecx, dword [esp + 0x24]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebx]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4bfd1b
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x79
mov ecx, esi
call fcn.00490220
add esp, 0xc
jmp 0x4bfd4d
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4bfd6e
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x79
mov ecx, esi
call fcn.00490220
add esp, 0xc
jmp 0x4bfda0
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4bfdc3
push 0
push 0
push edi
mov edx, 0x79
mov ecx, esi
call fcn.00490220
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x79
mov dword [eax + ecx*4 + 4], edi
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