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

Disassembly:
push 0x28
mov eax, 0xaae079
call fcn.00aac8eb
mov esi, ecx
mov dword [ebp - 0x24], esi
xor ebx, ebx
mov eax, ebx
mov dword [ebp - 0x20], ebx
cmp dword [esi + 0x7c], ebx
jbe 0x413f0b
cmp byte [esi + 0x60], 0
lea ecx, [eax]
mov eax, dword [esi + 0x78]
mov edi, dword [eax + ecx*4]
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], edi
je 0x413e11
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], 1
jmp 0x413e1e
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], eax
lea ecx, [edi + 0x70]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x14], ecx
jmp 0x413e59
mov eax, dword [ecx]
dec edi
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x413e59
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x413e48
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
push 4
push eax
call fcn.00a87ab9
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
test edi, edi
jne 0x413e29
mov edi, dword [ebp - 0x1c]
mov dword [ecx + 4], ebx
test edi, edi
je 0x413e74
call fcn.0040ecc3
mov ecx, dword [ebp - 0x14]
sub edi, 1
jne 0x413e67
mov edi, dword [ebp - 0x28]
mov ecx, dword [edi + 0x80]
jmp 0x413eb7
mov eax, dword [edi + 0x7c]
dec ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x413eb7
mov dword [ebp - 4], 1
mov ecx, dword [eax]
test ecx, ecx
je 0x413ea6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
push 4
push eax
call fcn.00a87ab9
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x413e7f
mov dword [edi + 0x80], ebx
cmp dword [ebp - 0x18], ecx
jbe 0x413efb
mov esi, dword [ebp - 0x18]
lea ecx, [edi + 0x7c]
call fcn.00408b56
push 4
call fcn.00a87b44
mov dword [ebp - 0x30], eax
pop ecx
mov dword [eax], ebx
mov edx, dword [edi + 0x80]
lea ecx, [edx + 1]
mov dword [edi + 0x80], ecx
mov ecx, dword [edi + 0x7c]
mov dword [ecx + edx*4], eax
sub esi, 1
jne 0x413ec9
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [esi + 0x7c]
jb 0x413dee
mov ecx, ebx
mov dword [ebp - 0x2c], ebx
cmp dword [esi + 0x18], ebx
jbe 0x414080
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 0x3c]
mov ebx, dword [edi + ecx*8]
mov edx, dword [eax + ebx*4]
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x20], edx
sub ebx, dword [eax + edx*4]
mov al, byte [esi + 0x60]
test al, al
je 0x413f41
mov dword [ebp - 0x1c], edx
mov edx, dword [edi + ecx*8 + 4]
mov dword [ebp - 0x20], edx
jmp 0x413f4b
mov eax, dword [edi + ecx*8 + 4]
mov dword [ebp - 0x1c], eax
mov al, byte [esi + 0x60]
and dword [ebp - 0x28], 0
mov edi, ebx
test al, al
push 0xc
cmovne edi, dword [ebp - 0x28]
mov dword [ebp - 0x28], edi
xor edi, edi
test al, al
mov eax, dword [esi + 0x6c]
cmovne edi, ebx
mov dword [ebp - 0x30], edi
mov ebx, dword [eax + ecx*4]
mov ecx, dword [esi + 0x78]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x7c]
mov edi, dword [eax + edi*4]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 0x70]
mov esi, dword [eax + ecx*4]
call fcn.00a87b44
pop ecx
push eax
mov ecx, esi
mov dword [ebp - 0x34], eax
and dword [eax + 4], 0
mov dword [eax], vtable.CBinderInStream.0
mov dword [eax + 8], ebx
call fcn.0040ed53
push 0xc
call fcn.00a87b44
pop ecx
push eax
mov ecx, edi
mov dword [ebp - 0x34], eax
and dword [eax + 4], 0
mov dword [eax], vtable.CBinderOutStream.0
mov dword [eax + 8], ebx
call fcn.0040ed53
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x413fee
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
mov edi, 0xabe718
push edi
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x414010
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push edi
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x41404a
test ecx, ecx
je 0x41404a
mov ecx, dword [eax]
mov edi, 0x80000
push edi
push dword [ebp - 0x28]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push edi
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x41405b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 5
test eax, eax
je 0x41406c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [esi + 0x18]
jb 0x413f19
cmp byte [esi + 0x60], 0
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + ecx*4]
je 0x4140a3
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 0x70]
push dword [eax]
mov ecx, dword [ecx]
call fcn.0040ed53
mov edi, dword [ebp + 0xc]
jmp 0x4140b2
mov edi, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [edi]
mov ecx, dword [ecx]
call fcn.0040ed53
cmp dword [esi + 0x24], ebx
jbe 0x414115
mov ecx, dword [ebp + 8]
sub edi, ecx
mov dword [ebp + 0xc], edi
mov eax, dword [esi + 0x20]
mov edi, dword [eax + ebx*4]
mov eax, dword [esi + 0x3c]
mov edx, dword [eax + edi*4]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x30]
sub edi, dword [eax + edx*4]
cmp byte [esi + 0x60], 0
je 0x4140f6
mov eax, dword [ebp + 0xc]
push dword [eax + ecx]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x7c]
mov ecx, dword [ecx + edi*4]
call fcn.0040ed53
jmp 0x414106
push dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x70]
mov ecx, dword [ecx + edi*4]
call fcn.0040ed53
mov ecx, dword [ebp + 8]
inc ebx
add ecx, 4
mov dword [ebp + 8], ecx
cmp ebx, dword [esi + 0x24]
jb 0x4140bf
xor eax, eax
call fcn.00aac8b9
ret 8