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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov ecx, dword [ebp + 0x10]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [ecx]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x18], edx
mov ebx, dword [edi]
mov dword [ecx], eax
mov dword [edi], eax
mov dword [ebp - 0x2c], ebx
cmp dword [esi + 0x18], eax
je 0x4b7a4b
mov eax, dword [esi + 0x1c]
jmp 0x4b7cdb
cmp dword [esi + 0xc], 0
lea eax, [esi + 0x20]
mov dword [eax], 2
je 0x4b7b16
push eax
push dword [ebp + 0x24]
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], ebx
push dword [ebp + 0x20]
mov dword [ebp + 8], edx
push eax
push dword [ebp + 0x18]
lea eax, [ebp + 8]
push eax
push 0
push dword [esi + 0x78]
call dword [esi + 0x88]
mov ecx, dword [ebp + 0x1c]
mov ebx, eax
mov eax, dword [esi + 0x20]
add esp, 0x20
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [esi + 0x1c], ebx
mov dword [edi], ecx
xor edi, edi
mov eax, dword [esi + 0x14]
inc edi
add eax, edx
mov dword [ebp - 0x28], ebx
mov dword [esi + 0x14], eax
test ebx, ebx
jne 0x4b7ab3
cmp dword [ebp + 0x20], ebx
jne 0x4b7ab3
cmp dword [ebp - 0x14], edi
jne 0x4b7ab6
mov dword [esi + 0x18], edi
cmp dword [esi + 8], edi
jne 0x4b7ac2
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
jmp 0x4b7b0f
cmp dword [esi + 0x18], 0
je 0x4b7b0f
mov dword [ebp - 0x10], edi
cmp dword [esi + 8], edi
jbe 0x4b7b0a
lea ebx, [esi + 0x90]
push eax
push dword [esi + 0xc]
push dword [ebx]
call dword [ebx + 0x14]
add esp, 0xc
cmp dword [ebp - 0x14], edi
je 0x4b7af5
cmp dword [ebp + 0x14], 0
je 0x4b7af8
mov ecx, dword [ebp - 0x18]
cmp dword [esi + 0x14], ecx
jne 0x4b7af8
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x10]
add ebx, 0x18
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [esi + 8]
jb 0x4b7ad6
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, ebx
jmp 0x4b7cdb
xor edi, edi
inc edi
cmp dword [esi + 8], edi
je 0x4b7b48
cmp dword [esi + 4], 0
jne 0x4b7b42
mov ecx, dword [esi]
push 0x60000
push ecx
call dword [ecx]
mov dword [esi + 4], eax
pop ecx
pop ecx
test eax, eax
jne 0x4b7b3f
push 2
pop eax
jmp 0x4b7cdb
lea eax, [esi + 0x20]
and dword [ebp - 0x1c], 0
jmp 0x4b7b4e
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0xc], edx
and dword [ebp - 8], 0
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], edx
mov dword [eax], 2
cmp dword [esi + 8], edx
jbe 0x4b7cd6
lea eax, [ebx + 5]
imul eax, eax, 0x18
add eax, esi
mov dword [ebp - 0x30], eax
test ebx, ebx
jne 0x4b7b96
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ecx]
jmp 0x4b7bba
lea ecx, [ebx - 1]
shl ecx, 0x11
add ecx, dword [esi + ebx*4 + 0x2c]
add ecx, dword [esi + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + ebx*4 + 0x20]
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + ebx*4 + 0x38]
sub ecx, dword [esi + ebx*4 + 0x2c]
mov dword [ebp - 0x14], ecx
mov eax, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 8]
dec eax
cmp ebx, eax
jne 0x4b7bdb
mov esi, dword [ebp - 0x18]
sub esi, dword [ecx]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
jmp 0x4b7bf6
mov eax, dword [esi + ebx*4 + 0x30]
cmp eax, dword [esi + ebx*4 + 0x3c]
jne 0x4b7cb8
mov eax, ebx
mov ecx, 0x20000
shl eax, 0x11
add eax, dword [esi + 4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + ebx*4 + 0x68]
test ecx, ecx
je 0x4b7c16
mov eax, dword [ebp - 8]
test edx, edx
jne 0x4b7cbb
mov edx, ecx
mov dword [ebp - 4], edx
jmp 0x4b7cbb
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push dword [ebp - 0x20]
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov eax, dword [ebp - 0x30]
push dword [eax]
call dword [eax + 0x10]
mov ecx, eax
add esp, 0x20
test ecx, ecx
je 0x4b7c4c
mov edx, dword [ebp - 4]
test edx, edx
mov dword [esi + ebx*4 + 0x68], ecx
cmove edx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x34]
cmp eax, edi
push 0
pop edx
sete dl
mov dword [ebp - 0x30], edx
je 0x4b7c6c
and dword [ebp - 0x28], 0
cmp dword [esi + 8], edi
jne 0x4b7c6c
test ecx, ecx
jne 0x4b7c6c
mov dword [esi + 0x20], eax
mov ecx, dword [ebp - 0x10]
test ebx, ebx
jne 0x4b7c7d
mov eax, dword [ebp + 0x1c]
add dword [eax], ecx
add dword [ebp - 0xc], ecx
jmp 0x4b7c81
add dword [esi + ebx*4 + 0x2c], ecx
mov eax, dword [esi + 8]
dec eax
cmp ebx, eax
mov eax, dword [ebp - 0x14]
jne 0x4b7c96
mov edx, dword [ebp + 0x10]
add dword [edx], eax
add dword [ebp + 0xc], eax
jmp 0x4b7ca6
mov edx, dword [ebp - 0x30]
and dword [esi + ebx*4 + 0x30], 0
mov dword [esi + ebx*4 + 0x3c], eax
mov dword [esi + ebx*4 + 0x24], edx
mov edx, dword [ebp - 4]
test eax, eax
jne 0x4b7cb1
test ecx, ecx
je 0x4b7cb8
mov eax, edi
mov dword [ebp - 8], eax
jmp 0x4b7cbb
mov eax, dword [ebp - 8]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x4b7b71
test eax, eax
lea eax, [esi + 0x20]
jne 0x4b7b54
cmp dword [ebp - 0x28], 0
je 0x4b7cd9
mov dword [esi + 0x20], edi
mov eax, edx
pop edi
pop esi
pop ebx
leave
ret