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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aed8d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5fa040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
cmp byte [edi + 0x60], 0
mov edx, dword [ebp + 0xc]
jne 0x4a341a
cmp dword [edi + 0x2c], edx
jne 0x4a3432
xor ecx, ecx
jmp 0x4a3465
mov esi, dword [edi + 0x24]
xor ecx, ecx
test esi, esi
je 0x4a3432
mov eax, dword [edi + 0x20]
cmp dword [eax], edx
je 0x4a3461
inc ecx
add eax, 4
cmp ecx, esi
jb 0x4a3426
mov ecx, dword [edi + 0x18]
xor esi, esi
cmp byte [edi + 0x60], 0
jne 0x4a349d
lea ebx, [edi + 0x14]
test ecx, ecx
je 0x4a345c
mov eax, dword [ebx]
add eax, 4
nop dword [eax]
cmp dword [eax], edx
je 0x4a34b6
inc esi
add eax, 8
cmp esi, ecx
jb 0x4a3450
or esi, 0xffffffff
jmp 0x4a34b6
test ecx, ecx
js 0x4a3432
mov eax, dword [ebp + 8]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x4a3702
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4a3702
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x10], 0
mov dword [eax], esi
jmp 0x4a3535
test ecx, ecx
je 0x4a34b0
mov eax, dword [edi + 0x14]
cmp dword [eax], edx
je 0x4a34b3
inc esi
add eax, 8
cmp esi, ecx
jb 0x4a34a4
or esi, 0xffffffff
lea ebx, [edi + 0x14]
test esi, esi
jns 0x4a34c1
mov ebx, 0x80070057
jmp 0x4a3535
cmp byte [edi + 0x60], 0
mov eax, dword [ebx]
lea ecx, [eax + esi*8]
je 0x4a34d1
mov eax, dword [ecx + 4]
jmp 0x4a34d9
mov ecx, dword [ecx]
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + ecx*4]
lea ecx, [eax*4]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x6c]
mov dword [ebp + 0xc], ecx
mov ebx, dword [ecx + eax]
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebx]
test ecx, ecx
jne 0x4a34f8
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x5c1f64
push ecx
call dword [eax]
cmp dword [ebp - 0x10], 0
je 0x4a3530
cmp byte [edi + 0x60], 0
je 0x4a355f
mov eax, dword [edi + 0x30]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
xor bl, bl
mov eax, dword [edx + eax]
mov dword [ebp - 0x18], eax
cmp ecx, 1
je 0x4a3561
test ecx, ecx
je 0x4a3615
mov ebx, 0x80004001
mov dword [ebp - 4], 0x11
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4a3549
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor bl, bl
mov dword [ebp + 0xc], 0
mov byte [ebp - 4], 5
lea edx, [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
push edx
push 0x5c2044
mov ecx, dword [ecx]
push ecx
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4a35fb
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x18]
mov ecx, edi
push dword [ebp + 8]
call fcn.004a33d0
mov ebx, eax
test ebx, ebx
jne 0x4a35ba
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
je 0x4a35e5
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4a35cb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4a3535
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4a3535
mov bl, 1
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4a35f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4a3609
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
test bl, bl
je 0x4a3530
cmp dword [edi + 0x7c], esi
ja 0x4a365f
nop word [eax + eax]
lea ecx, [edi + 0x78]
call fcn.00439780
push 0xc
call fcn.00587dd8
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov ecx, dword [edi + 0x7c]
lea eax, [ecx + 1]
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x78]
mov dword [eax + ecx*4], edx
cmp dword [edi + 0x7c], esi
jbe 0x4a3620
mov eax, dword [edi + 0x78]
mov edi, dword [eax + esi*4]
cmp dword [edi + 8], 0
jne 0x4a3530
cmp dword [edi + 4], 0
jne 0x4a3530
push 0x18
call fcn.00587dd8
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [esi + 8], 0
mov dword [esi], vtable.COutStreamCalcSize.0
mov dword [esi + 4], vtable.COutStreamCalcSize.1.0
push esi
mov dword [esi + 0xc], 0
call dword [0x5cc3a4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4a36b7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 8], esi
mov dword [edi + 4], esi
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4a36ca
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4a36d7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4a36f5
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4a3702
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x10], 0
mov dword [eax], esi
jmp 0x4a3535