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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x20]
push ebx
push esi
mov esi, dword [ebp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], esi
push edi
test eax, eax
jne 0x49cd5e
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 0x20
cmp dword [ebp + 0xc], 0
je 0x49cd7d
mov eax, 0x80004001
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 0x20
cmp byte [edx + 0x18], 0
je 0x49cd64
xorps xmm0, xmm0
xor ecx, ecx
movlpd qword [esp + 0x30], xmm0
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
test eax, eax
je 0x49cdbd
mov edx, dword [edx + 0xc]
mov esi, dword [esp + 0x20]
mov eax, dword [esi + ecx*4]
mov eax, dword [edx + eax*4]
cmp byte [eax + 0x4c], 0
je 0x49cdb3
add ebx, dword [eax + 0x18]
adc edi, dword [eax + 0x1c]
inc ecx
cmp ecx, dword [ebp + 0x14]
jb 0x49cda1
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push edi
push ebx
push esi
call dword [eax + 0xc]
test eax, eax
jne 0x49ce3b
mov eax, dword [esi]
push 0
push dword [ebp + 0x14]
push esi
call dword [eax + 0x20]
test eax, eax
jne 0x49ce3b
push dword [esp + 0x18]
xorps xmm0, xmm0
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x64]
movq qword [esp + 0x64], xmm0
call fcn.00412680
cmp dword [esp + 0x64], 0
je 0x49ce28
mov ecx, dword [esp + 0x60]
call fcn.0041b2a0
test al, al
jne 0x49ce4f
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
movzx eax, word [ecx + eax*2 - 2]
cmp eax, 0x5c
je 0x49ce4f
cmp eax, 0x2f
je 0x49ce4f
cmp dword [ebp + 0x14], 1
mov byte [esp + 0x13], 1
jbe 0x49ce54
mov esi, 0x80070057
push dword [esp + 0x60]
call fcn.004df97b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 0x20
mov byte [esp + 0x13], 0
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
xorps xmm0, xmm0
push esi
movlpd qword [esp + 0x38], xmm0
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x49ce2d
mov dword [esp + 0x18], eax
cmp dword [ebp + 0x14], eax
jbe 0x49d0c6
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 4]
mov dword [esp + 0x28], ecx
jmp 0x49ce90
mov ecx, dword [esp + 0x20]
xorps xmm0, xmm0
movq qword [esp + 0x6c], xmm0
mov dword [esp + 0x74], 0
mov ecx, dword [ecx + eax*4]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x24], ecx
mov esi, dword [eax + ecx*4]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x30], esi
call fcn.00412780
cmp byte [esp + 0x13], 0
jne 0x49cf36
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
push esi
lea ecx, [esp + 0x4c]
movq qword [esp + 0x4c], xmm0
call fcn.00412780
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
test eax, eax
je 0x49cf1b
cmp word [esi + eax*2 - 2], 0x3a
jne 0x49cf1b
push dword [esp + 0x24]
dec eax
xor ecx, ecx
mov dword [esp + 0x50], eax
mov word [esi + eax*2], cx
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
push eax
call fcn.0049cb40
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x70]
call fcn.00412bd0
push esi
call fcn.004df97b
mov esi, dword [esp + 0x30]
add esp, 4
lea eax, [esp + 0x54]
mov dword [esp + 0x5c], 0
xorps xmm0, xmm0
mov ecx, esi
push eax
movq qword [esp + 0x58], xmm0
call fcn.0049baf0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x28]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
call fcn.0049cbf0
test eax, eax
jne 0x49d0a4
cmp byte [esi + 0x4c], al
jne 0x49cf99
add ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
adc edi, dword [esp + 0x44]
push edi
push ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov esi, eax
test esi, esi
jne 0x49d0a9
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x78]
push edx
lea edx, [esp + 0x40]
mov dword [esp + 0x40], 0
push edx
push dword [esp + 0x74]
mov eax, dword [ecx]
lea edx, [esp + 0x4c]
push edx
push 0
push 0
push dword [esp + 0x6c]
push ecx
call dword [eax + 0x14]
mov esi, eax
test esi, esi
jne 0x49cffa
cmp dword [esp + 0x78], eax
jne 0x49d009
mov ecx, dword [esp + 0x44]
cmp edi, ecx
jb 0x49cfe8
mov eax, dword [esp + 0x40]
ja 0x49cfe4
cmp ebx, eax
jb 0x49cfe8
sub ebx, eax
sbb edi, ecx
mov ecx, dword [esp + 0x14]
push edi
push ebx
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x49d06b
push dword [esp + 0x3c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x49d0a9
mov ecx, dword [esp + 0x14]
push dword [esp + 0x54]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
jne 0x49cffa
push dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov eax, 0x400000
push dword [esp + 0x38]
mov edx, dword [esp + 0x44]
push dword [esp + 0x38]
cmp dword [ecx + 0x48], 2
mov ecx, 0x12000
cmove eax, ecx
push eax
push dword [esp + 0x54]
push dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x70]
call fcn.0049bbc0
mov esi, eax
test esi, esi
jne 0x49cffa
mov eax, dword [esp + 0x40]
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
adc dword [esp + 0x34], eax
push dword [esp + 0x3c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [esp + 0x54]
call fcn.004df97b
add esp, 4
push dword [esp + 0x6c]
call fcn.004df97b
mov eax, dword [esp + 0x1c]
add esp, 4
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ebp + 0x14]
jae 0x49d0c6
mov edx, dword [esp + 0x1c]
jmp 0x49ce90
mov esi, 0x80004005
push dword [esp + 0x54]
call fcn.004df97b
add esp, 4
push dword [esp + 0x6c]
call fcn.004df97b
add esp, 4
jmp 0x49ce2d
xor esi, esi
jmp 0x49ce2d