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

Disassembly:
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, SysReAllocString
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.3011c449
test eax, eax
jne 0x3011cce3
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.3012aa2e
mov edi, eax
jmp 0x3011ccd8
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jg 0x3011cce0
mov eax, dword [edi + 0x1c]
test al, 1
je 0x3011cb01
test al, 4
je 0x3011cb01
test al, 8
je 0x3011cb01
cmp ecx, ebx
je 0x3011cce0
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jg 0x3011cb3f
mov eax, dword [edi + 0x1c]
mov edx, eax
and edx, 1
je 0x3011cb1e
test al, 4
je 0x3011cb1e
test al, 8
je 0x3011cb1e
cmp ecx, ebx
je 0x3011cb3f
cmp edx, 1
jne 0x3011cb27
test al, 4
jne 0x3011cb3f
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push edi
call fcn.3012a9f7
mov edi, eax
test edi, edi
jne 0x3011cb01
jmp 0x3011cce0
test edi, edi
je 0x3011cce0
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jg 0x3011ccd8
mov eax, dword [edi + 0x1c]
test al, 1
je 0x3011cb69
test al, 4
je 0x3011cb69
test al, 8
je 0x3011cb69
cmp ecx, ebx
je 0x3011ccd8
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.3011c359
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push edi
call fcn.3012a9f7
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 0x3011cc0a
mov eax, dword [ebx + 0x1c]
mov edx, eax
and edx, 1
je 0x3011cbc7
test al, 4
je 0x3011cbc7
test al, 8
je 0x3011cbc7
cmp ecx, dword [ebp - 0x10]
je 0x3011cc0a
cmp edx, 1
jne 0x3011cbd0
test al, 4
jne 0x3011cc0a
test edx, edx
jne 0x3011cbf5
mov eax, dword [ebx + 0x3c]
cmp dword [ebp - 0x24], eax
jge 0x3011cbdf
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x40]
cmp dword [ebp - 0x20], eax
jge 0x3011cbea
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x44]
cmp dword [ebp - 0x1c], eax
jge 0x3011cbf5
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov esi, ebx
push ebx
call fcn.3012a9f7
mov ebx, eax
test ebx, ebx
jne 0x3011cba8
mov esi, dword [esi + 0x2c]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov dword [ebp + 0x18], ebx
push ebx
call fcn.3012a9f7
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp - 4]
lea edi, [ebp - 0x48]
push ebx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x28], eax
call fcn.3011c54b
test eax, eax
je 0x3011cc81
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.3012a9f7
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 0x3011cce2
cmp dword [ebp - 0x2c], eax
je 0x3011cba6
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x18]
mov eax, esi
sub eax, dword [ebp - 0x14]
test byte [ecx + 0x1e], 0x80
je 0x3011cc98
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 0x3011cce2
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], eax
test edi, edi
jne 0x3011cadf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14