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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], edx
push ebx
push esi
mov esi, ecx
push edi
mov ebx, dword [esi + 8]
test eax, eax
je 0x10077d4f
cmp dword [edx + 0x24], 0
je 0x10077d49
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x20], ecx
mov edi, dword [ecx + 0x74]
lea eax, [edi + 1]
mov dword [ecx + 0x74], eax
lea eax, [edi - 1]
test edi, eax
jne 0x10077ce3
mov edx, dword [ecx + 0x78]
lea eax, [edi*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.10033d80
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x10077cf1
mov dword [eax + edi*4], 0xffffffff
mov eax, dword [ebp + 0x14]
not edi
mov ecx, dword [ebp + 8]
push 0
push 0
mov dword [eax], edi
inc dword [esi + 0x6c]
mov edi, dword [esi]
mov dword [esi + 0x68], ecx
mov ecx, edi
mov eax, dword [eax]
mov edx, dword [edx + 0x24]
mov dword [esp + 0x28], eax
call fcn.10066a40
add esp, 8
mov dword [esp + 0x1c], eax
cmp byte [edi + 0x45], 0
jne 0x10077d3a
push 0x10
push dword [esp + 0x24]
mov edx, eax
mov ecx, esi
call fcn.1006b0c0
mov eax, dword [esp + 0x24]
add esp, 8
mov edx, eax
mov ecx, edi
call fcn.10066910
mov edx, dword [esp + 0x18]
jmp 0x10077d4f
mov dword [eax], 0
cmp dword [ebp + 0x10], 0
je 0x10077d61
test byte [edx + 0x38], 8
je 0x10077d61
movzx eax, word [edx + 0x32]
jmp 0x10077d65
movzx eax, word [edx + 0x34]
mov ecx, dword [esi + 0x3c]
movzx edi, ax
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x10], eax
cmp edi, ecx
jg 0x10077d8a
add eax, edi
sub ecx, edi
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x40], eax
jmp 0x10077d99
mov eax, dword [esi + 0x4c]
lea ecx, [eax + 1]
add eax, edi
mov dword [esp + 0x10], ecx
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x10077db0
cmp ecx, dword [ebp + 0x1c]
jne 0x10077dab
cmp dword [eax + 0x24], 0
je 0x10077db0
xor eax, eax
mov dword [ebp + 0x18], eax
mov edx, dword [esp + 0x18]
xor edi, edi
cmp word [esp + 0xc], di
je 0x10077ed6
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ecx
nop dword [eax]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x10077df5
mov eax, dword [eax + 4]
movzx ecx, word [eax + edi*2]
mov eax, dword [edx + 4]
cmp cx, word [eax + edi*2]
jne 0x10077df1
cmp cx, 0xfffe
jne 0x10077eb4
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 4]
movzx eax, word [eax + edi*2]
cmp ax, 0xfffe
jne 0x10077e56
mov eax, dword [ebp + 8]
mov ecx, dword [esi]
mov dword [esi + 0x68], eax
mov eax, dword [edx + 0x28]
mov edx, dword [esp + 0x1c]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [edx + eax]
call fcn.10066a40
mov ecx, dword [esp + 0x28]
add esp, 8
mov dword [esp + 0x24], eax
cmp byte [ecx + 0x45], 0
jne 0x10077e49
push dword [esp + 0x14]
mov edx, eax
mov ecx, esi
call fcn.1006a9b0
mov eax, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esp + 0x20]
mov edx, eax
call fcn.10066910
jmp 0x10077e6a
mov edx, dword [edx + 0xc]
push ecx
mov ecx, dword [esi + 8]
cwde
push eax
push dword [ebp + 8]
call fcn.100692c0
add esp, 0xc
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
lea eax, [edx - 1]
cmp eax, dword [ecx + 0x60]
jle 0x10077eb4
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
add eax, 0xffffffec
mov dword [esp + 0x24], eax
cmp byte [eax], 0x27
jne 0x10077eb4
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
jne 0x10077eb4
push dword [eax + 0x10]
movsx edx, byte [eax + 1]
call fcn.10052480
mov eax, dword [esp + 0x28]
add esp, 4
mov word [eax], 0xa0
mov dword [eax + 0x10], 0
mov ecx, dword [esp + 0x14]
inc edi
mov edx, dword [esp + 0xc]
inc ecx
add dword [esp + 0x1c], 0x18
movzx eax, dx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
cmp edi, eax
jl 0x10077dd0
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10077f04
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x10077f37
mov ecx, dword [esp + 0xc]
mov edx, 0x31
movzx eax, cx
mov ecx, ebx
push edi
push eax
push dword [esp + 0x18]
call fcn.10051a30
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, ebx
movzx eax, cx
mov ecx, esi
push eax
call fcn.10069210
mov ecx, dword [esp + 0x10]
add esp, 4
movzx eax, cx
cmp eax, dword [esi + 0x3c]
jle 0x10077f2e
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 4]
mov ebx, dword [esp + 0x10]
movzx edx, di
mov edi, dword [ebp + 0xc]
mov word [eax + ecx*4], 0x31
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10077f08