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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
xor eax, eax
mov dword [esp + 0x1c], edx
cmp dword [edx + 0x2c], 0
mov edi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x28]
mov esi, dword [edi + 8]
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], 0
mov byte [edx], 1
mov dword [esp + 0x10], eax
jle 0x4b6d9a
nop
mov eax, dword [eax]
mov dword [esp + 0x30], 0
mov edx, dword [eax + 0x14]
mov dword [esp + 0x2c], edx
test edx, edx
je 0x4b6a48
mov ebx, dword [edx]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], eax
cmp ebx, ecx
jg 0x4b6a28
sub ecx, ebx
add eax, ebx
push 1
mov dword [edi + 0x3c], ecx
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov ecx, edi
mov dword [edi + 0x40], eax
call fcn.00491f90
add esp, 0xc
jmp 0x4b6a58
mov eax, dword [edi + 0x4c]
push 1
push 0
lea ecx, [eax + 1]
add eax, ebx
mov dword [esp + 0x14], ecx
push ecx
mov ecx, edi
mov dword [edi + 0x4c], eax
call fcn.00491f90
add esp, 0xc
jmp 0x4b6a58
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0x10]
cmp dword [edx + 0xc], 0
jl 0x4b6aca
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x30], ecx
mov ebx, dword [ecx + 0x74]
lea eax, [ebx + 1]
mov dword [ecx + 0x74], eax
lea eax, [ebx - 1]
test ebx, eax
jne 0x4b6a9b
mov edx, dword [ecx + 0x78]
lea eax, [ebx*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.0045a1b0
mov ecx, dword [esp + 0x38]
add esp, 8
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x4b6aa9
mov dword [eax + ebx*4], 0xffffffff
push dword [esp + 0xc]
mov edx, dword [edx + 0xc]
or eax, 0xffffffff
sub eax, ebx
mov ecx, edi
push 1
push eax
mov dword [esp + 0x3c], eax
call fcn.004af0f0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [edx + 4]
test byte [eax + 2], 0x20
je 0x4b6be7
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x20], eax
xor ebx, ebx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x2c], ecx
lea ebx, [ebx]
cmp ebx, dword [esp + 0x14]
jge 0x4b6b55
mov edx, dword [ecx]
mov ecx, edi
call fcn.0048cf80
mov ecx, dword [esp + 0x2c]
inc ebx
add ecx, 0x18
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x4b6af0
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x4b6b32
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x24], ecx
je 0x4b6b32
inc dword [edi + 0x4c]
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
cmp dword [eax + 0x58], edx
jg 0x4b6b60
push 0
push 0
push ecx
mov edx, 0x22
mov ecx, esi
call fcn.004791e0
add esp, 0xc
mov edx, eax
jmp 0x4b6b9b
test eax, eax
jne 0x4b6b13
mov eax, dword [edi]
mov ebx, dword [eax + 8]
jmp 0x4b6b17
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x24]
mov word [eax + ecx*4], 0x22
mov byte [eax + ecx*4 + 3], 0
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]
cmp byte [ecx + 0x45], 0
je 0x4b6bb3
push ebx
mov edx, 0xfffffffc
call fcn.00479ca0
add esp, 4
jmp 0x4b6be7
test edx, edx
jns 0x4b6bbb
mov edx, dword [esi + 0x20]
dec edx
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b6bdc
push 0xfffffffffffffffc
push ebx
mov edx, eax
mov ecx, esi
call fcn.00479ec0
add esp, 8
jmp 0x4b6be7
test ebx, ebx
je 0x4b6be7
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xfc
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x20]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x2c], ecx
cmp dword [eax + 0x58], edx
jg 0x4b6c1a
push ecx
push dword [esp + 0x10]
mov edx, 0x8f
mov ecx, esi
push 0
call fcn.004791e0
add esp, 0xc
mov edx, eax
jmp 0x4b6c55
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x24]
mov word [eax + ecx*4], 0x8f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x4b6c6d
push ebx
mov edx, 0xfffffffb
call fcn.00479ca0
add esp, 4
jmp 0x4b6ca1
test edx, edx
jns 0x4b6c75
mov edx, dword [esi + 0x20]
dec edx
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b6c96
push 0xfffffffffffffffb
push ebx
mov edx, eax
mov ecx, esi
call fcn.00479ec0
add esp, 8
jmp 0x4b6ca1
test ebx, ebx
je 0x4b6ca1
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xfb
mov eax, dword [esi]
mov ebx, dword [esp + 0x14]
cmp byte [eax + 0x45], 0
jne 0x4b6cba
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], bl
mov edx, dword [esp + 0xc]
mov ecx, edi
push ebx
call fcn.00490680
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, edi
push ebx
call fcn.00490680
add esp, 4
cmp ebx, dword [edi + 0x3c]
jle 0x4b6ce7
mov eax, dword [esp + 0xc]
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b6d15
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x4b6d07
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov ecx, edi
dec eax
mov dword [edx + 0x60], eax
call fcn.00490a20
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
inc ebx
mov eax, dword [esp + 0x10]
add eax, 0x10
mov dword [esp + 0x34], ebx
mov dword [esp + 0x10], eax
cmp ebx, dword [ecx + 0x2c]
jl 0x4b69e0
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4b6d9a
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov dword [esp + 0x28], ebx
cmp dword [eax + 0x58], ebx
jg 0x4b6d67
push 0
push 0
push edx
mov edx, 0x2d
mov ecx, esi
call fcn.004791e0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x4b6d9a
lea eax, [ebx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x2d
mov byte [eax + ecx*4 + 3], 0
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, edi
call fcn.00490a20
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x24], 0
mov ebx, dword [eax + 0x1c]
jle 0x4b6dd3
add ebx, 0x14
xor esi, esi
push dword [ebx - 4]
mov edx, dword [ebx]
mov ecx, edi
call fcn.00491d90
mov eax, dword [esp + 0x20]
lea ebx, [ebx + 0x18]
inc esi
add esp, 4
cmp esi, dword [eax + 0x24]
jl 0x4b6db3
mov esi, dword [esp + 0x24]
mov ecx, edi
mov byte [eax], 0
call fcn.00490a20
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4b6e1d
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov edx, dword [esi + 0x20]
test ebx, ebx
jns 0x4b6df9
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x4b6e10
mov eax, 0x5a2a64
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret