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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x88]
push ebx
mov ebx, dword [esp + 0x88]
push ebp
mov ebp, dword [esp + 0x94]
push esi
mov dword [esp + 0x28], eax
mov eax, dword [eax]
imul esi, eax, 0x64
push edi
mov edi, dword [ebx*4 + 0x10139180]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0xffffffff
add esi, 0x10139580
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edi
test edi, edi
je 0x10049e0d
mov dword [esi + 0x10], ebx
xor ecx, ecx
mov eax, dword [edi + 0xe8]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0xe4]
and dword [esi + 0x60], 0xfffffffe
and eax, 0xfffdffff
mov dword [esi + 0x44], eax
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x54], 0xffffffff
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x58], ecx
mov dword [esi + 0x34], ecx
mov ecx, dword [edi + 0xe4]
test cl, 0x20
jne 0x10049e0d
test ecx, 0x8000
je 0x1004992d
or eax, 1
mov dword [esi + 0x44], eax
test byte [esi + 0x44], 1
je 0x10049e0d
mov eax, dword [esp + 0xa0]
and eax, reloc.mswstr10.dll_Ordinal_4
mov dword [esp + 0x30], eax
jne 0x10049992
push ebp
call fcn.1004d880
test eax, eax
je 0x10049992
test byte [edi + 0xe4], 0x10
jne 0x10049992
push 0
push 0
push 0
push 0xffffddd9
push 0
push 0
push ebp
push dword [esp + 0xac]
call fcn.10037730
pop edi
pop esi
pop ebp
mov eax, 0xffffb137
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1011705d
add esp, 0x7c
ret 0x14
mov edi, dword [esp + 0x90]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x20]
push eax
push ebp
push 0x10002410
push ebx
push edi
call fcn.10046e20
test eax, eax
js 0x10049e0f
cmp dword [esp + 0x1c], 0
jne 0x10049afe
push ebp
call fcn.1004d880
test eax, eax
jne 0x10049e0d
push ebp
call fcn.1004d670
test eax, eax
jne 0x10049e0d
mov eax, dword [esp + 0x24]
test dword [eax + 0xe4], 0x80000
jne 0x10049e0d
push ebx
push edi
call fcn.1004c2e0
test eax, eax
js 0x10049e0f
push 0
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x2c]
push dword [eax + 0x14]
push edi
call fcn.1003c190
test eax, eax
js 0x10049e0f
push 0x1000557c
push dword [esp + 0x1c]
push edi
call fcn.1003ce50
mov ebx, eax
test ebx, ebx
js 0x10049a74
mov ecx, ebp
lea edx, [ecx + 2]
jmp 0x10049a40
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10049a40
sub ecx, edx
sar ecx, 1
push 1
lea eax, [ecx + ecx]
push eax
push ebp
push dword [esp + 0x24]
push edi
call fcn.1003c680
mov ebx, eax
test ebx, ebx
js 0x10049a74
push 1
push dword [esp + 0x1c]
push edi
call fcn.1003cc90
mov ebx, eax
push dword [esp + 0x18]
push edi
call fcn.1003bd20
mov dword [esp + 0x18], 0xffffffff
cmp ebx, 0xfffff9bf
je 0x10049e0d
test ebx, ebx
jns 0x10049aad
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1011705d
add esp, 0x7c
ret 0x14
mov ebx, dword [esp + 0x2c]
push 0x10006ac8
push dword [esp + 0x14]
push ebx
push edi
call fcn.1003d0d0
test eax, eax
js 0x10049e0f
imul eax, dword [ebx], 0x64
mov ecx, dword [esi + 0x44]
or ecx, 0x2000
push 1
mov dword [eax + 0x101395c4], ecx
imul ecx, dword [ebx], 0x64
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10139590], eax
imul eax, dword [ebx], 0x64
or dword [eax + 0x101395e0], 1
mov eax, dword [ebx]
or dword [esi + 0x60], 1
jmp 0x10049e03
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x50]
push 1
push 0x38
push eax
push 0
push ebx
push edi
call fcn.1003c3e0
test eax, eax
js 0x10049e0f
lea eax, [esp + 0x50]
push eax
push ebx
push edi
call fcn.10046790
mov ebx, eax
test ebx, ebx
js 0x10049ce2
cmp dword [esp + 0x30], 0
jne 0x10049b64
mov eax, dword [esi + 0x44]
test al, al
jns 0x10049b64
test al, 0x10
jne 0x10049b64
push 0
push 0
push 0
push 0xffffe016
push 0
push 0
push ebp
push edi
call fcn.10037730
mov ebx, 0xfffff88d
jmp 0x10049ce2
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
or dword [esi + 0x44], 8
push eax
push ebp
push 0x10002410
push ebx
push edi
call fcn.10046be0
test eax, eax
js 0x10049e0f
cmp dword [esp + 0x1c], 0
je 0x10049b94
or dword [esi + 0x44], 0x20000
push esi
push ebp
push ebx
push edi
call fcn.1004a160
mov ebx, eax
test ebx, ebx
js 0x10049ce2
push 0
push 0x18
lea eax, [esp + 0x40]
push eax
push 0x10004c18
push dword [esp + 0x20]
push edi
call fcn.1003c3e0
mov ebx, eax
test ebx, ebx
js 0x10049ce2
mov eax, dword [esp + 0x3c]
push 0
push 0x18
mov dword [esi + 0x20], eax
lea eax, [esp + 0x40]
push eax
push 0x10004c58
push dword [esp + 0x20]
push edi
call fcn.1003c3e0
mov ebx, eax
test ebx, ebx
js 0x10049ce2
test dword [esi + 0x44], 0x20000
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x18], eax
je 0x10049c1c
push ebp
push esi
push dword [esp + 0x18]
push dword [esp + 0x20]
push edi
call fcn.1004bf20
mov ebx, eax
test ebx, ebx
js 0x10049ce2
push 8
push 4
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
push edi
call fcn.1003b620
mov ebx, eax
test ebx, ebx
js 0x10049ce2
push 8
push 4
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
push edi
call fcn.1003b620
mov ebx, eax
test ebx, ebx
js 0x10049ce2
cmp dword [esp + 0x28], 0x30000
jbe 0x10049c8e
cmp dword [esp + 0x1c], 0
je 0x10049c8e
push 0
push 0x18
lea eax, [esp + 0x40]
push eax
push 0x10004c6c
push dword [esp + 0x20]
push edi
call fcn.1003c3e0
mov ebx, eax
test ebx, ebx
js 0x10049ce2
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x1c], eax
jmp 0x10049c95
mov dword [esi + 0x1c], 0xffffffff
movzx eax, word [esi + 0x4c]
test ax, ax
je 0x10049ce2
shl eax, 3
push eax
call fcn.10117340
add esp, 4
mov dword [esi + 0x38], eax
test eax, eax
jne 0x10049ccb
pop edi
pop esi
pop ebp
mov eax, 0xfffffc0d
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1011705d
add esp, 0x7c
ret 0x14
lea ecx, [esp + 0x50]
push ecx
push dword [esp + 0x14]
push ebp
push eax
push dword [esp + 0x24]
push edi
call fcn.10046f80
mov ebx, eax
push dword [esp + 0x54]
push edi
call fcn.1003bd20
test ebx, ebx
js 0x10049a96
mov eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0x14]
and eax, 4
mov dword [esp + 0xa0], eax
jne 0x10049d39
test byte [esi + 0x44], 0x40
je 0x10049d2f
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push edi
call fcn.1004bc80
test eax, eax
js 0x10049e0f
mov eax, dword [esp + 0xa0]
jmp 0x10049d41
mov dword [esp + 0x20], 1
jmp 0x10049d41
mov dword [esp + 0x20], 0
test eax, eax
jne 0x10049d5f
test byte [esi + 0x44], 0x40
je 0x10049d5f
push ebp
push dword [esp + 0x14]
push ebx
push edi
call fcn.10048bb0
test eax, eax
js 0x10049e0f
push dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
push ebx
call fcn.1004d910
mov eax, dword [esp + 0x24]
test byte [eax + 0xe4], 0x10
jne 0x10049e0d
push 0x100069e8
push ebx
mov ebx, dword [esp + 0x34]
push ebx
push edi
call fcn.1003d0d0
test eax, eax
js 0x10049e0f
imul eax, dword [ebx], 0x64
mov ecx, dword [esi + 0x44]
or ecx, 0x2000
push dword [esp + 0x20]
mov dword [eax + 0x101395c4], ecx
imul ecx, dword [ebx], 0x64
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10139590], eax
imul eax, dword [ebx], 0x64
movdqu xmm0, xmmword [esi]
add eax, 0x10139580
movdqu xmmword [eax], xmm0
mov eax, dword [esi + 0x18]
imul ecx, dword [ebx], 0x64
mov dword [ecx + 0x10139598], eax
imul ecx, dword [ebx], 0x64
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1013959c], eax
imul ecx, dword [ebx], 0x64
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x10139594], eax
imul ecx, dword [ebx], 0x64
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x101395a0], eax
imul ecx, dword [ebx], 0x64
mov eax, dword [esi + 0x48]
mov dword [ecx + 0x101395c8], eax
mov eax, dword [ebx]
mov dword [esi + 0x50], eax
push dword [ebx]
call fcn.1004d910
xor eax, eax
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011705d
add esp, 0x7c
ret 0x14