Function at 0x4bf020
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 0x4bf078
mov eax, dword [edx + 0x10]
xor ebx, ebx
add eax, 0xc
cmp dword [eax], ecx
je 0x4bf078
nop dword [eax]
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x4bf070
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.004b89f0
add esp, 0xc
test eax, eax
jne 0x4bf961
cmp ebx, 1
je 0x4bf0cc
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*8 + 4]
cmp byte [eax + 9], 0
je 0x4bf0cc
mov eax, dword [esp + 0x30]
mov edx, ebx
mov ecx, edi
push dword [eax]
push 1
push dword [eax + 0x14]
call fcn.004b8a80
add esp, 0xc
mov esi, dword [edi + 8]
test esi, esi
jne 0x4bf0f5
cmp dword [edi + 0x74], esi
jne 0x4bf0e4
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x4bf0e4
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0048fb60
mov esi, eax
test esi, esi
je 0x4bf961
mov eax, dword [ebp + 8]
test eax, eax
js 0x4bf106
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
jmp 0x4bf111
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x28], ecx
mov edx, eax
mov ecx, edi
call fcn.004c29a0
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 0x4bf131
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 0x4bf165
push eax
push 0
push edx
mov edx, 0x76
mov ecx, esi
call fcn.0048fdb0
lea edx, [esi + 0x70]
add esp, 0xc
mov dword [esp + 0xc], edx
jmp 0x4bf1a6
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 0x4bf1c1
push dword [esp + 0x24]
mov edx, 0xfffffff7
call fcn.004908c0
add esp, 4
jmp 0x4bf1fb
test eax, eax
jns 0x4bf1c9
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 0x4bf1ec
push 0xfffffffffffffff7
push dword [esp + 0x28]
mov edx, ecx
mov ecx, esi
call fcn.00490b10
add esp, 8
jmp 0x4bf1fb
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4bf1fb
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.004ccef0
mov edx, dword [esi + 0x74]
add esp, 0xc
mov dword [esp + 0x30], edx
cmp dword [esi + 0x78], edx
jg 0x4bf239
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x26
mov ecx, esi
call fcn.0048fdb0
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x4bf26f
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 0x4bf27e
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
jmp 0x4bf28d
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.004c53f0
mov ecx, dword [esi + 0x74]
add esp, 0x18
cmp dword [esi + 0x78], ecx
jg 0x4bf2e0
push 0
push dword [esp + 0x18]
mov edx, 0x8a
mov ecx, esi
push dword [esp + 0x18]
call fcn.0048fdb0
add esp, 0xc
jmp 0x4bf316
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 0x4bf348
mov eax, dword [edi + 8]
not edx
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4bf33c
push edx
mov edx, dword [edi + 8]
call fcn.004905d0
add esp, 4
jmp 0x4bf348
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 0x4bf371
push 0
push eax
push dword [esp + 0x28]
mov edx, 5
mov ecx, esi
call fcn.0048fdb0
add esp, 0xc
jmp 0x4bf3a7
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 0x4bf3c1
mov eax, 0x5c4868
jmp 0x4bf3d9
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 0x4bf430
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4bf402
push 0
push ebx
push dword [esp + 0x30]
mov edx, 0x90
mov ecx, esi
call fcn.0048fdb0
add esp, 0xc
jmp 0x4bf430
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 0x4bf454
push ebx
push dword [esp + 0x2c]
mov edx, 0x70
mov ecx, esi
push dword [esp + 0x24]
call fcn.0048fdb0
add esp, 0xc
mov edx, eax
jmp 0x4bf48a
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 0x4bf4a9
push dword [esp + 0x24]
mov edx, 0xfffffff7
call fcn.004908c0
mov ebx, dword [esp + 0x10]
add esp, 4
jmp 0x4bf4e7
test edx, edx
jns 0x4bf4b1
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 0x4bf4d8
push 0xfffffffffffffff7
push dword [esp + 0x28]
mov edx, ecx
mov ecx, esi
call fcn.00490b10
add esp, 8
jmp 0x4bf4e7
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4bf4e7
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf7
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4bf509
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 0x4bf532
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x24
mov ecx, esi
call fcn.0048fdb0
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x4bf564
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 0x4bf697
mov edx, dword [esi + 0x74]
mov dword [esp + 0x30], edx
cmp dword [esi + 0x78], edx
jg 0x4bf59b
push 0
push 1
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0048fdb0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x30], edx
jmp 0x4bf5d1
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 0x4bf605
push dword [esp + 0x14]
mov ecx, esi
push edx
push dword [esp + 0x18]
mov edx, 0x83
call fcn.0048fdb0
add esp, 0xc
mov ecx, eax
jmp 0x4bf63b
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 0x4bf655
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.004c2150
mov eax, dword [esi]
add esp, 4
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4bf67d
mov eax, 0x5c4868
mov dword [eax + 8], edx
jmp 0x4bf6ac
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 0x4bf6ac
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 0x4bf6d5
push dword [esp + 0x1c]
mov edx, 0x84
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.0048fdb0
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x4bf707
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 0x4bf764
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4bf732
push 0
push 0
push edx
mov edx, 0x88
mov ecx, esi
call fcn.0048fdb0
add esp, 0xc
jmp 0x4bf764
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 0x4bf78b
push 0
push dword [esp + 0x18]
mov edx, 0x89
mov ecx, esi
push dword [esp + 0x24]
call fcn.0048fdb0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4bf7bd
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 0x4bf7d7
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 0x4bf7ef
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4bf7ef
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 0x4bf813
push 0
push dword [esp + 0x2c]
mov edx, 3
mov ecx, esi
push edi
call fcn.0048fdb0
add esp, 0xc
jmp 0x4bf841
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 0x4bf853
mov eax, 0x5c4868
jmp 0x4bf867
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 0x4bf88b
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x79
mov ecx, esi
call fcn.0048fdb0
add esp, 0xc
jmp 0x4bf8bd
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 0x4bf8de
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x79
mov ecx, esi
call fcn.0048fdb0
add esp, 0xc
jmp 0x4bf910
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 0x4bf933
push 0
push 0
push edi
mov edx, 0x79
mov ecx, esi
call fcn.0048fdb0
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