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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [eax + 0x10c]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0xb4]
add ecx, dword [eax + 0x48]
mov ebx, dword [esi + 0x18]
mov dword [ebp - 0x60], ecx
mov ecx, dword [eax + 0xb8]
add ecx, dword [eax + 0x50]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x5c], ecx
mov ecx, 0x7fffffff
mov dword [ebp - 0x58], ecx
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x54], edx
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 0x4c], ecx
call fcn.4ed92bb1
test eax, eax
jne 0x4ed9733f
mov eax, dword [ebp + 0x18]
and dword [ebp - 8], 0
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push esi
call fcn.4ed9dc93
mov edi, eax
jmp 0x4ed97334
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jg 0x4ed9733c
mov eax, dword [edi + 0x1c]
test al, 1
je 0x4ed97159
test al, 4
je 0x4ed97159
test al, 8
je 0x4ed97159
cmp ecx, ebx
je 0x4ed9733c
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jg 0x4ed97198
mov eax, dword [edi + 0x1c]
mov edx, eax
and edx, 1
je 0x4ed97176
test al, 4
je 0x4ed97176
test al, 8
je 0x4ed97176
cmp ecx, ebx
je 0x4ed97198
cmp edx, 1
jne 0x4ed9717f
test al, 4
jne 0x4ed97198
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push edi
call fcn.4ed9dc55
mov edi, eax
test edi, edi
je 0x4ed9733c
jmp 0x4ed97159
test edi, edi
je 0x4ed9733c
cmp ecx, ebx
jg 0x4ed97334
mov eax, dword [edi + 0x1c]
test al, 1
je 0x4ed971bf
test al, 4
je 0x4ed971bf
test al, 8
je 0x4ed971bf
cmp ecx, ebx
je 0x4ed97334
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.4ed92daf
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push edi
call fcn.4ed9dc55
mov ebx, eax
mov eax, dword [ebx + 0x2c]
lea esi, [ebx + 0x3c]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x40], eax
movsd dword es:[edi], dword [esi]
xor esi, esi
mov ecx, dword [ebx + 0x10]
cmp ecx, dword [ebp - 0x10]
jg 0x4ed97260
mov eax, dword [ebx + 0x1c]
mov edx, eax
and edx, 1
je 0x4ed9721d
test al, 4
je 0x4ed9721d
test al, 8
je 0x4ed9721d
cmp ecx, dword [ebp - 0x10]
je 0x4ed97260
cmp edx, 1
jne 0x4ed97226
test al, 4
jne 0x4ed97260
test edx, edx
jne 0x4ed9724b
mov eax, dword [ebx + 0x3c]
cmp dword [ebp - 0x24], eax
jge 0x4ed97235
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x40]
cmp dword [ebp - 0x20], eax
jge 0x4ed97240
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x44]
cmp dword [ebp - 0x1c], eax
jge 0x4ed9724b
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov esi, ebx
push ebx
call fcn.4ed9dc55
mov ebx, eax
test ebx, ebx
jne 0x4ed971fe
mov esi, dword [esi + 0x2c]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov dword [ebp + 0x18], ebx
push ebx
call fcn.4ed9dc55
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
push dword [ebp + 0x18]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], eax
call fcn.4ed96b8f
test eax, eax
je 0x4ed972dd
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp - 0x3c]
call fcn.4ed9dc55
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 0x2c]
mov eax, dword [ebp - 0x18]
push esi
push dword [eax + 4]
call dword [eax + 0x78]
test eax, eax
jne 0x4ed9733e
cmp dword [ebp - 0x2c], eax
je 0x4ed971fc
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x18]
mov eax, ebx
sub eax, dword [ebp - 0x14]
test dword [ecx + 0x1c], 0x800000
je 0x4ed972f4
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
call dword [eax + 0x68]
test eax, eax
jne 0x4ed9733e
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
test edi, edi
jne 0x4ed97137
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14