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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov edx, dword [ebp + 0x1c]
mov dword [edx], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
je 0x4fb509
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x1c]
jmp 0x4fb90c
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], 2
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
je 0x4fb65c
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
add eax, 0x78
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
add ecx, 0x20
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x1c]
call dword [eax + 0x10]
add esp, 0x20
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
xor edx, edx
cmp dword [ecx + 0x20], 1
sete dl
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4fb5ae
cmp dword [ebp + 0x20], 0
jne 0x4fb5ae
cmp dword [ebp - 0x18], 0
je 0x4fb5b8
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 1
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 1
jne 0x4fb5ce
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
jmp 0x4fb654
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
je 0x4fb654
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 1
jmp 0x4fb5f2
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx + 8]
jae 0x4fb64c
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x18
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x78]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x28]
call dword [edx + 0x14]
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x18], 0
jne 0x4fb641
cmp dword [ebp + 0x14], 0
je 0x4fb64a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
cmp ecx, dword [ebp - 8]
jne 0x4fb64a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x24], eax
jmp 0x4fb5e9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x24]
mov dword [ecx], edx
mov eax, dword [ebp - 0x14]
jmp 0x4fb90c
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 1
je 0x4fb6a3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
jne 0x4fb69c
push 0x60000
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call dword [edx]
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
jne 0x4fb69c
mov eax, 2
jmp 0x4fb90c
mov dword [ebp + 0x24], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], 2
mov dword [ebp - 0x34], 0
jmp 0x4fb6d4
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x34]
cmp eax, dword [edx + 8]
jae 0x4fb8ec
mov ecx, dword [ebp - 0x34]
imul ecx, ecx, 0x18
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x78]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x34], 0
jne 0x4fb712
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
sub eax, dword [edx]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x40], ecx
jmp 0x4fb75a
mov edx, dword [ebp - 0x34]
sub edx, 1
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
shl eax, 0x11
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
add edx, eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 8]
add edx, dword [ecx + eax*4 + 0x30]
mov dword [ebp - 0x58], edx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp + 8]
mov edx, dword [eax + edx*4 + 0x3c]
sub edx, dword [esi + ecx*4 + 0x30]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x24]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
sub ecx, 1
cmp dword [ebp - 0x34], ecx
jne 0x4fb77b
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
sub ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
jmp 0x4fb7ae
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp + 8]
mov edx, dword [eax + edx*4 + 0x30]
cmp edx, dword [esi + ecx*4 + 0x3c]
je 0x4fb796
jmp 0x4fb6cb
mov eax, dword [ebp - 0x34]
shl eax, 0x11
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
add edx, eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x3c], 0x20000
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax*4 + 0x68], 0
je 0x4fb7d3
cmp dword [ebp - 0x2c], 0
jne 0x4fb7ce
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 0x68]
mov dword [ebp - 0x2c], ecx
jmp 0x4fb6cb
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x50]
call dword [edx + 0x10]
add esp, 0x20
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4fb820
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x54]
mov dword [ecx + eax*4 + 0x68], edx
cmp dword [ebp - 0x2c], 0
jne 0x4fb820
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
xor ecx, ecx
cmp dword [ebp - 0x48], 1
sete cl
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0
jne 0x4fb851
mov dword [ebp - 0x30], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 1
jne 0x4fb851
cmp dword [ebp - 0x54], 0
jne 0x4fb851
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x20], ecx
cmp dword [ebp - 0x34], 0
jne 0x4fb86f
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
add eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov edx, dword [ebp + 0x18]
add edx, dword [ebp - 0x4c]
mov dword [ebp + 0x18], edx
jmp 0x4fb886
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x2c]
add edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4 + 0x2c], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
sub eax, 1
cmp dword [ebp - 0x34], eax
jne 0x4fb8ac
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
add edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x3c]
mov dword [ebp + 0xc], ecx
jmp 0x4fb8d4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + edx*4 + 0x3c], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov dword [eax + edx*4 + 0x30], 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x44]
mov dword [edx + ecx*4 + 0x24], eax
cmp dword [ebp - 0x3c], 0
jne 0x4fb8e0
cmp dword [ebp - 0x4c], 0
je 0x4fb8e7
mov dword [ebp - 0x38], 1
jmp 0x4fb6cb
cmp dword [ebp - 0x38], 0
jne 0x4fb907
cmp dword [ebp - 0x30], 0
je 0x4fb902
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], 1
mov eax, dword [ebp - 0x2c]
jmp 0x4fb90c
jmp 0x4fb6a3
pop esi
mov esp, ebp
pop ebp
ret