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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x101366b4]
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 + 0x1013a1c0]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0xffffffff
add esi, 0x1013a5c0
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edi
test edi, edi
je 0x1004a26d
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 0x1004a26d
test ecx, 0x8000
je 0x10049d8d
or eax, 1
mov dword [esi + 0x44], eax
test byte [esi + 0x44], 1
je 0x1004a26d
mov eax, dword [esp + 0xa0]
and eax, reloc.mswstr10.dll_Ordinal_4
mov dword [esp + 0x30], eax
jne 0x10049df2
push ebp
call fcn.1004dcc0
test eax, eax
je 0x10049df2
test byte [edi + 0xe4], 0x10
jne 0x10049df2
push 0
push 0
push 0
push 0xffffddd9
push 0
push 0
push ebp
push dword [esp + 0xac]
call fcn.100378e0
pop edi
pop esi
pop ebp
mov eax, 0xffffb137
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10117cfd
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 0x10002450
push ebx
push edi
call fcn.10047280
test eax, eax
js 0x1004a26f
cmp dword [esp + 0x1c], 0
jne 0x10049f5e
push ebp
call fcn.1004dcc0
test eax, eax
jne 0x1004a26d
push ebp
call fcn.1004dab0
test eax, eax
jne 0x1004a26d
mov eax, dword [esp + 0x24]
test dword [eax + 0xe4], 0x80000
jne 0x1004a26d
push ebx
push edi
call fcn.1004c720
test eax, eax
js 0x1004a26f
push 0
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x2c]
push dword [eax + 0x14]
push edi
call fcn.1003c590
test eax, eax
js 0x1004a26f
push 0x10005604
push dword [esp + 0x1c]
push edi
call fcn.1003d250
mov ebx, eax
test ebx, ebx
js 0x10049ed4
mov ecx, ebp
lea edx, [ecx + 2]
jmp 0x10049ea0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10049ea0
sub ecx, edx
sar ecx, 1
push 1
lea eax, [ecx + ecx]
push eax
push ebp
push dword [esp + 0x24]
push edi
call fcn.1003ca80
mov ebx, eax
test ebx, ebx
js 0x10049ed4
push 1
push dword [esp + 0x1c]
push edi
call fcn.1003d090
mov ebx, eax
push dword [esp + 0x18]
push edi
call fcn.1003c120
mov dword [esp + 0x18], 0xffffffff
cmp ebx, 0xfffff9bf
je 0x1004a26d
test ebx, ebx
jns 0x10049f0d
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10117cfd
add esp, 0x7c
ret 0x14
mov ebx, dword [esp + 0x2c]
push 0x10006b50
push dword [esp + 0x14]
push ebx
push edi
call fcn.1003d4d0
test eax, eax
js 0x1004a26f
imul eax, dword [ebx], 0x64
mov ecx, dword [esi + 0x44]
or ecx, 0x2000
push 1
mov dword [eax + 0x1013a604], ecx
imul ecx, dword [ebx], 0x64
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x1013a5d0], eax
imul eax, dword [ebx], 0x64
or dword [eax + 0x1013a620], 1
mov eax, dword [ebx]
or dword [esi + 0x60], 1
jmp 0x1004a263
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x50]
push 1
push 0x38
push eax
push 0
push ebx
push edi
call fcn.1003c7e0
test eax, eax
js 0x1004a26f
lea eax, [esp + 0x50]
push eax
push ebx
push edi
call fcn.10046bf0
mov ebx, eax
test ebx, ebx
js 0x1004a142
cmp dword [esp + 0x30], 0
jne 0x10049fc4
mov eax, dword [esi + 0x44]
test al, al
jns 0x10049fc4
test al, 0x10
jne 0x10049fc4
push 0
push 0
push 0
push 0xffffe016
push 0
push 0
push ebp
push edi
call fcn.100378e0
mov ebx, 0xfffff88d
jmp 0x1004a142
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
or dword [esi + 0x44], 8
push eax
push ebp
push 0x10002450
push ebx
push edi
call fcn.10047040
test eax, eax
js 0x1004a26f
cmp dword [esp + 0x1c], 0
je 0x10049ff4
or dword [esi + 0x44], 0x20000
push esi
push ebp
push ebx
push edi
call fcn.1004a5a0
mov ebx, eax
test ebx, ebx
js 0x1004a142
push 0
push 0x18
lea eax, [esp + 0x40]
push eax
push 0x10004ca0
push dword [esp + 0x20]
push edi
call fcn.1003c7e0
mov ebx, eax
test ebx, ebx
js 0x1004a142
mov eax, dword [esp + 0x3c]
push 0
push 0x18
mov dword [esi + 0x20], eax
lea eax, [esp + 0x40]
push eax
push 0x10004ce0
push dword [esp + 0x20]
push edi
call fcn.1003c7e0
mov ebx, eax
test ebx, ebx
js 0x1004a142
test dword [esi + 0x44], 0x20000
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x18], eax
je 0x1004a07c
push ebp
push esi
push dword [esp + 0x18]
push dword [esp + 0x20]
push edi
call fcn.1004c360
mov ebx, eax
test ebx, ebx
js 0x1004a142
push 8
push 4
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
push edi
call fcn.1003ba10
mov ebx, eax
test ebx, ebx
js 0x1004a142
push 8
push 4
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
push edi
call fcn.1003ba10
mov ebx, eax
test ebx, ebx
js 0x1004a142
cmp dword [esp + 0x28], 0x30000
jbe 0x1004a0ee
cmp dword [esp + 0x1c], 0
je 0x1004a0ee
push 0
push 0x18
lea eax, [esp + 0x40]
push eax
push 0x10004cf4
push dword [esp + 0x20]
push edi
call fcn.1003c7e0
mov ebx, eax
test ebx, ebx
js 0x1004a142
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x1c], eax
jmp 0x1004a0f5
mov dword [esi + 0x1c], 0xffffffff
movzx eax, word [esi + 0x4c]
test ax, ax
je 0x1004a142
shl eax, 3
push eax
call fcn.10117fe0
add esp, 4
mov dword [esi + 0x38], eax
test eax, eax
jne 0x1004a12b
pop edi
pop esi
pop ebp
mov eax, 0xfffffc0d
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10117cfd
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.100473e0
mov ebx, eax
push dword [esp + 0x54]
push edi
call fcn.1003c120
test ebx, ebx
js 0x10049ef6
mov eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0x14]
and eax, 4
mov dword [esp + 0xa0], eax
jne 0x1004a199
test byte [esi + 0x44], 0x40
je 0x1004a18f
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push edi
call fcn.1004c0c0
test eax, eax
js 0x1004a26f
mov eax, dword [esp + 0xa0]
jmp 0x1004a1a1
mov dword [esp + 0x20], 1
jmp 0x1004a1a1
mov dword [esp + 0x20], 0
test eax, eax
jne 0x1004a1bf
test byte [esi + 0x44], 0x40
je 0x1004a1bf
push ebp
push dword [esp + 0x14]
push ebx
push edi
call fcn.10049010
test eax, eax
js 0x1004a26f
push dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
push ebx
call fcn.1004dd50
mov eax, dword [esp + 0x24]
test byte [eax + 0xe4], 0x10
jne 0x1004a26d
push 0x10006a70
push ebx
mov ebx, dword [esp + 0x34]
push ebx
push edi
call fcn.1003d4d0
test eax, eax
js 0x1004a26f
imul eax, dword [ebx], 0x64
mov ecx, dword [esi + 0x44]
or ecx, 0x2000
push dword [esp + 0x20]
mov dword [eax + 0x1013a604], ecx
imul ecx, dword [ebx], 0x64
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x1013a5d0], eax
imul eax, dword [ebx], 0x64
movdqu xmm0, xmmword [esi]
add eax, 0x1013a5c0
movdqu xmmword [eax], xmm0
mov eax, dword [esi + 0x18]
imul ecx, dword [ebx], 0x64
mov dword [ecx + 0x1013a5d8], eax
imul ecx, dword [ebx], 0x64
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1013a5dc], eax
imul ecx, dword [ebx], 0x64
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x1013a5d4], eax
imul ecx, dword [ebx], 0x64
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x1013a5e0], eax
imul ecx, dword [ebx], 0x64
mov eax, dword [esi + 0x48]
mov dword [ecx + 0x1013a608], eax
mov eax, dword [ebx]
mov dword [esi + 0x50], eax
push dword [ebx]
call fcn.1004dd50
xor eax, eax
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10117cfd
add esp, 0x7c
ret 0x14