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

Disassembly:
push 0x24
mov eax, 0x44a842
call fcn.00448e99
mov edi, ecx
mov dword [ebp - 0x18], edi
xor esi, esi
mov eax, esi
mov dword [ebp - 0x20], esi
cmp dword [edi + 0x7c], eax
jbe 0x41406a
mov dl, byte [edi + 0x60]
mov ecx, eax
mov eax, dword [edi + 0x78]
shl ecx, 2
mov ebx, dword [ecx + eax]
mov eax, dword [edi + 8]
add eax, ecx
mov dword [ebp - 0x28], ebx
test dl, dl
je 0x413f66
mov dword [ebp - 0x1c], 1
jmp 0x413f6b
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
test dl, dl
je 0x413f76
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x413f7d
mov dword [ebp - 0x14], 1
lea ecx, [ebx + 0x70]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
jmp 0x413fb8
mov eax, dword [ecx]
dec ebx
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x413fb8
mov dword [ebp - 4], esi
mov ecx, dword [eax]
test ecx, ecx
je 0x413fa7
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.0043b7dd
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
test ebx, ebx
jne 0x413f88
mov ebx, dword [ebp - 0x1c]
mov dword [ecx + 4], esi
test ebx, ebx
je 0x413fd3
call fcn.0040ed7e
mov ecx, dword [ebp - 0x10]
sub ebx, 1
jne 0x413fc6
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx + 0x80]
jmp 0x414016
mov eax, dword [ebx + 0x7c]
dec ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x414016
mov dword [ebp - 4], 1
mov ecx, dword [eax]
test ecx, ecx
je 0x414005
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.0043b7dd
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x413fde
mov dword [ebx + 0x80], esi
cmp dword [ebp - 0x14], ecx
jbe 0x41405a
mov edi, dword [ebp - 0x14]
lea ecx, [ebx + 0x7c]
call fcn.00408ca7
push 4
call fcn.0043b85d
mov dword [ebp - 0x2c], eax
pop ecx
mov dword [eax], esi
mov edx, dword [ebx + 0x80]
lea ecx, [edx + 1]
mov dword [ebx + 0x80], ecx
mov ecx, dword [ebx + 0x7c]
mov dword [ecx + edx*4], eax
sub edi, 1
jne 0x414028
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [edi + 0x7c]
jb 0x413f43
mov edx, esi
mov dword [ebp - 0x2c], esi
cmp dword [edi + 0x18], edx
jbe 0x4141e5
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x3c]
mov esi, dword [ecx + edx*8]
mov ebx, dword [eax + esi*4]
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x20], ebx
sub esi, dword [eax + ebx*4]
mov al, byte [edi + 0x60]
test al, al
je 0x4140a0
mov edi, dword [ecx + edx*8 + 4]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x18]
jmp 0x4140a3
mov dword [ebp - 0x1c], ebx
test al, al
jne 0x4140ae
mov ebx, dword [ecx + edx*8 + 4]
mov dword [ebp - 0x20], ebx
and dword [ebp - 0x28], 0
mov ecx, esi
test al, al
push 0xc
cmovne ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
test al, al
cmovne ecx, esi
mov dword [ebp - 0x28], ecx
mov ecx, dword [edi + 0x78]
mov eax, dword [ecx + ebx*4]
mov ebx, dword [ebp - 0x28]
mov eax, dword [eax + 0x7c]
mov ebx, dword [eax + ebx*4]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0x70]
mov esi, dword [eax + ecx*4]
mov eax, dword [edi + 0x6c]
mov edi, dword [eax + edx*4]
call fcn.0043b85d
pop ecx
push eax
mov ecx, esi
mov dword [ebp - 0x30], eax
and dword [eax + 4], 0
mov dword [eax], vtable.CBinderInStream.0
mov dword [eax + 8], edi
call fcn.0040ee10
push 0xc
call fcn.0043b85d
pop ecx
xor esi, esi
mov dword [ebp - 0x30], eax
push eax
mov dword [eax + 4], esi
mov ecx, ebx
mov dword [eax], vtable.CBinderOutStream.0
mov dword [eax + 8], edi
call fcn.0040ee10
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], esi
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x414153
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
mov ebx, 0x4525b8
push ebx
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x414175
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push ebx
push ecx
call dword [eax]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x4141af
test ecx, ecx
je 0x4141af
mov ecx, dword [eax]
mov ebx, 0x80000
push ebx
push dword [ebp - 0x24]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
push ebx
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4141c0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 5
test eax, eax
je 0x4141d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, dword [edi + 0x18]
jb 0x414078
cmp byte [edi + 0x60], 0
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x78]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
je 0x414205
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx]
call fcn.0040ee10
jmp 0x414214
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax]
mov ecx, dword [ecx]
call fcn.0040ee10
cmp dword [edi + 0x24], esi
jbe 0x41426c
sub dword [ebp + 0xc], ebx
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + esi*4]
mov eax, dword [edi + 0x3c]
mov edx, dword [eax + ecx*4]
mov eax, dword [edi + 0x30]
sub ecx, dword [eax + edx*4]
cmp byte [edi + 0x60], 0
mov eax, dword [edi + 0x78]
mov dword [ebp + 8], ecx
mov ecx, dword [eax + edx*4]
je 0x414253
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax + ebx]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + eax*4]
call fcn.0040ee10
jmp 0x414263
mov ecx, dword [ecx + 0x70]
mov eax, dword [ebp + 8]
push dword [ebx]
mov ecx, dword [ecx + eax*4]
call fcn.0040ee10
inc esi
add ebx, 4
cmp esi, dword [edi + 0x24]
jb 0x41421c
xor eax, eax
call fcn.00448e62
ret 8