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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0x9c]
lea edi, [ebp + 0x9c]
mov ecx, edi
call dword [eax + 0x48]
xor esi, esi
cmp eax, esi
je 0x4dfcd7
cmp dword [ebp + 0xd0], esi
je 0x4df8c4
cmp eax, dword [ebp + 0xd4]
jl 0x4df8c4
mov eax, 1
jmp 0x4df8c6
xor eax, eax
cmp byte [ebp + 0x9a], 0
mov dword [ebp + 0xcc], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], esi
je 0x4df8e5
mov ebx, dword [ebp + 0x30]
sub ebx, dword [ebp + 0x28]
jmp 0x4df8eb
mov ebx, dword [ebp + 0x2c]
sub ebx, dword [ebp + 0x24]
mov edx, dword [edi]
or eax, 0xffffffff
add ebx, 1
mov ecx, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
call dword [edx + 0x2c]
test eax, eax
mov dword [esp + 0x20], eax
je 0x4dfa00
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call dword [eax + 0x34]
mov esi, dword [eax]
xor ecx, ecx
cmp dword [ebp + 0xd0], ecx
je 0x4df9a2
cmp dword [ebp + 0xcc], ecx
je 0x4df964
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x28], ecx
jne 0x4df990
cmp dword [eax + 0x2c], ecx
jne 0x4df990
mov edx, dword [eax + 0x24]
push edx
mov ecx, ebp
call fcn.004d9300
cmp eax, esi
je 0x4df990
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 0xc]
mov dword [ecx + 0x28], edx
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x2c], ecx
jmp 0x4df990
mov edx, dword [esi + 0xc]
mov dword [edx + 0x28], ecx
mov eax, dword [esi + 0xc]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 1
call dword [edx + 0x8c]
test eax, eax
je 0x4df990
mov edx, dword [eax]
push 0x77f5d4
mov ecx, eax
call dword [edx + 0x148]
cmp dword [ebp + 0xcc], 0
je 0x4df9a2
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x28], 0
jne 0x4df9f1
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x20]
sub eax, dword [ecx + 0x14]
sub edx, dword [ecx + 0x18]
mov cl, byte [ebp + 0x9a]
add dword [esp + 0x24], 1
add edx, 1
add eax, 1
test cl, cl
mov esi, edx
jne 0x4df9ca
mov esi, eax
mov ebx, dword [ebp + 0xbc]
add ebx, esi
add dword [esp + 0x18], ebx
cmp dword [esp + 0x28], 0xffffffff
mov ebx, dword [esp + 0x14]
jne 0x4df9f1
test cl, cl
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edx
jne 0x4df9f1
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x20], 0
jne 0x4df914
mov esi, dword [esp + 0x18]
cmp esi, ebx
jle 0x4dfa14
mov eax, esi
sub eax, ebx
cdq
idiv dword [esp + 0x24]
add eax, 1
mov dword [esp + 0x2c], eax
cmp byte [ebp + 0x99], 0
je 0x4dfa25
sub ebx, dword [esp + 0x1c]
mov eax, ebx
jmp 0x4dfa27
xor eax, eax
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x14], eax
call dword [edx + 0x2c]
test eax, eax
mov dword [esp + 0x20], eax
je 0x4dfcd7
mov edi, edi
mov eax, dword [ebp + 0x9c]
lea ecx, [ebp + 0x9c]
lea edx, [esp + 0x20]
push edx
call dword [eax + 0x34]
cmp dword [ebp + 0xcc], 0
mov esi, dword [eax]
je 0x4dfa6f
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, ebp
call fcn.004d9350
jmp 0x4dfa71
xor eax, eax
cmp dword [ebp + 0xcc], 0
je 0x4dfa8b
mov edx, dword [esi + 0xc]
cmp dword [edx + 0x28], 0
je 0x4dfa8b
test eax, eax
je 0x4dfa8b
mov ebx, dword [eax]
jmp 0x4dfa8f
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
sub edi, dword [eax + 0x14]
sub ecx, dword [eax + 0x18]
add edi, 1
add ecx, 1
cmp dword [ebp + 0xc8], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ecx
je 0x4dfabc
mov dword [esi], ebx
jmp 0x4dfc07
cmp byte [ebp + 0x9a], 0
je 0x4dfadc
mov ecx, dword [eax + 0x14]
lea eax, [ecx + edi - 1]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov edx, ebx
lea eax, [eax + ebx - 1]
jmp 0x4dfaf1
mov edx, dword [eax + 0x18]
lea eax, [edi + ebx - 1]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov ecx, ebx
lea eax, [edx + eax - 1]
mov dword [esp + 0x3c], eax
mov dword [esi], ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp dword [ebp + 0xcc], 0
je 0x4dfb3b
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x2c], 0
je 0x4dfb3b
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 1
call dword [edx + 0xb4]
jmp 0x4dfc07
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, ebp
call fcn.004d93a0
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 1
mov dword [esp + 0x2c], eax
call dword [edx + 0x8c]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4dfbfa
xor eax, eax
mov ecx, 0x7f
lea edi, [esp + 0x42]
mov word [esp + 0x40], 0
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x28]
cmp edi, 1
mov ecx, dword [esi + 4]
push eax
push 0x782c9c
jle 0x4dfbc3
mov edx, dword [ecx + 0xd8]
mov eax, dword [ecx]
push 1
push edx
push 0
push 0
call dword [eax + 0x134]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 0
call dword [eax + 0x13c]
push edi
lea ecx, [esp + 0x44]
push 0x77fb8c
push ecx
call fcn.0071f52c
add esp, 0xc
jmp 0x4dfbe5
mov eax, dword [ecx + 0xd8]
mov edx, dword [ecx]
push 0
push eax
push 0
push 0
call dword [edx + 0x134]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 0
call dword [edx + 0x13c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [esp + 0x40]
push edx
call dword [eax + 0x148]
mov edi, dword [esp + 0x24]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 1
call dword [eax + 0xb8]
cmp byte [ebp + 0x99], 0
mov eax, dword [esi + 4]
mov edx, dword [ebp]
mov ecx, ebp
push eax
je 0x4dfc78
call dword [edx + 0x74]
cmp dword [ebp + 0xcc], 0
je 0x4dfc67
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x4dfc67
mov edx, dword [eax + 0x20]
mov eax, dword [edx + 4]
mov ecx, dword [esi + 4]
mov edx, dword [eax + 0x14]
add eax, 0x14
cmp edx, dword [ecx + 0x14]
jne 0x4dfc67
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 0x18]
jne 0x4dfc67
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 0x1c]
jne 0x4dfc67
mov eax, dword [eax + 0xc]
cmp eax, dword [ecx + 0x20]
jne 0x4dfc67
mov edx, dword [ecx]
push 1
call dword [edx + 0xb4]
jmp 0x4dfc7b
mov esi, dword [esi + 4]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0xb8]
jmp 0x4dfc7b
call dword [edx + 0x78]
cmp byte [ebp + 0x99], 0
je 0x4dfca7
cmp byte [ebp + 0x9a], 0
je 0x4dfc91
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [ebp + 0xbc]
sub ecx, edi
add ebx, ecx
cmp dword [esp + 0x14], ebx
jle 0x4dfccc
jmp 0x4dfcc8
cmp byte [ebp + 0x9a], 0
je 0x4dfcb4
mov edi, dword [esp + 0x18]
mov edx, dword [ebp + 0xbc]
sub edx, dword [esp + 0x2c]
add edx, edi
add ebx, edx
cmp dword [esp + 0x14], ebx
jge 0x4dfccc
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x20], 0
jne 0x4dfa40
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret