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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x5e0
mov esi, esp
mov dword [esi + 0x5c8], ebp
mov dword [esi + 0x5cc], esp
mov dword [esi + 0x5d8], 0xffffffff
mov dword [esi + 0x5d4], 0x49df90
lea eax, [esi + 0x5d0]
mov edi, dword [ebp + 8]
mov ecx, dword fs:[0]
mov dword [esi + 0x5d0], ecx
mov dword fs:[0], eax
movzx eax, byte [0x5781b4]
cmp al, 2
jne 0x49d5c4
mov ebx, dword [edi + 0x20]
mov eax, ebx
mov ecx, ebx
and eax, 7
shr ecx, 3
cmp eax, 1
mov al, 1
sbb ecx, 0xffffffff
cmp ecx, dword [ebp + 0x28]
jne 0x49d954
mov eax, dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x10]
add esp, 4
xorps xmm0, xmm0
lea edi, [esi + 0xa0]
movaps xmmword [esi + 0x110], xmm0
movaps xmmword [esi + 0x100], xmm0
movaps xmmword [esi + 0xf0], xmm0
movaps xmmword [esi + 0xe0], xmm0
movaps xmmword [esi + 0xd0], xmm0
movaps xmmword [esi + 0xc0], xmm0
movaps xmmword [esi + 0xb0], xmm0
movaps xmmword [esi + 0xa0], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0x120], xmm0
movsd qword [esi + 0x128], xmm1
movsd xmm0, qword [eax + 0x10]
movsd qword [esi + 0x130], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esi + 0x138], xmm0
movsd xmm0, qword [eax + 0x20]
movsd qword [esi + 0x140], xmm0
movsd xmm0, qword [eax + 0x28]
movsd qword [esi + 0x148], xmm0
movsd xmm0, qword [eax + 0x30]
movsd qword [esi + 0x150], xmm0
movsd xmm0, qword [eax + 0x38]
movsd qword [esi + 0x158], xmm0
mov dword [esi + 0x164], 0
mov dword [esi + 0x160], 0
mov dword [esi + 0x168], eax
mov dword [esi + 0x170], 0
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edi
call fcn.0048f8e0
add esp, 0xc
lea eax, [esi + 0x180]
push 0xd8
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0x248]
lea eax, [esi + 0x200]
mov edi, dword [ecx + 0x50]
lea ecx, [esi + 0x50]
push 0x50
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp edi, 0x81
jae 0x49d9fa
lea ecx, [esi + 0x584]
lea edx, [esi + 0x50]
push dword [esi + 0x250]
push edi
lea eax, [esi + 0x180]
push eax
call fcn.0048f650
add esp, 0xc
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
mov edi, dword [ebp + 0x28]
push edi
push dword [ebp + 0x24]
lea eax, [esi + 0x584]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
call dword [eax + 0x14]
add esp, 0x1c
test al, al
jne 0x49d952
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x50], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x54], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x58], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x5c], eax
lea eax, [esi + 0x50]
mov dword [esi + 0x60], ebx
push eax
push edi
push dword [ebp + 0x24]
call fcn.0049f430
add esp, 0xc
test eax, eax
je 0x49d952
mov ebx, dword [ebp + 8]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x5d8], 0
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x44]
mov ebx, dword [ebx + 0x40]
mov dword [esi + 0x180], ecx
mov dword [esi + 0x184], edi
mov dword [esi + 0x48], edx
mov dword [esi + 0x18c], edx
mov edx, dword [ebp + 8]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x188], ebx
mov ecx, dword [edx + 0x48]
mov edi, dword [edx + 0x6c]
mov edx, dword [esi + 0x1c]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x190], ecx
mov ecx, eax
mov dword [esi + 0x18], edi
push edi
lea eax, [esi + 0x180]
push eax
call fcn.0049a560
add esp, 8
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x180]
lea ebx, [esi + 0x188]
mov dword [esi + 0x5d8], 1
mov dword [esi + 4], edx
mov eax, dword [eax + 0x4c]
push edx
push ebx
push ecx
push eax
push edi
push edi
mov dword [esi + 0x14], edi
call fcn.004a7600
add esp, 0x18
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x180]
mov dword [esi + 0x5d8], 0
add eax, 0x54
push ecx
push eax
push dword [esi + 4]
push dword [esi + 0x14]
call fcn.004a0be0
add esp, 0x10
mov dword [esi + 0x14], edx
mov ebx, dword [esi + 0x1c]
test eax, eax
je 0x49d93c
mov ecx, dword [ebp + 8]
mov dword [esi + 0x28], eax
mov edi, dword [ecx + 0x5c]
mov edx, dword [ecx + 0x60]
mov eax, dword [ecx + 0x64]
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edx
mov dword [esi + 0xa8], eax
mov eax, dword [ecx + 0x68]
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xac], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x4c], ecx
cmp eax, ecx
mov dword [esi + 0xb0], eax
mov dword [esi + 0x2c], eax
jne 0x49da0a
lea eax, [edx + edx]
mov dword [esi + 4], edx
lea edx, [esi + 0x180]
mov dword [esi + 0x40], ebx
cmp eax, ebx
mov dword [esi + 0x2c], eax
jne 0x49da45
push 0x400
push 0
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp ebx, 0x101
jae 0x49da7a
lea ebx, [ebx*4]
push ebx
push dword [esi + 0x30]
lea eax, [esi + 0x180]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 4]
mov dword [esi + 0x44], ebx
test ecx, ecx
je 0x49d5d3
cmp ecx, 0x20000000
jae 0x49dabc
lea ebx, [ecx*4]
push 4
push ebx
call fcn.00402d30
mov ecx, dword [esi + 4]
add esp, 8
mov edx, eax
test eax, eax
jne 0x49d5d8
mov byte [esi + 3], 1
mov dword [esi + 0x5d8], 2
push ebx
push 4
call fcn.00500210
add esp, 8
jmp 0x49db03
mov ecx, 0x5781b4
call fcn.004fefa0
jmp 0x49d24c
mov edx, 4
lea eax, [esi + 0xa8]
mov dword [esi + 0x5d8], 0xf
push eax
push ecx
push edi
push dword [esi + 0x1c]
lea eax, [esi + 0x180]
push eax
push ecx
mov dword [esi + 0xc], edx
push edx
call fcn.004fb8e0
add esp, 0x1c
cmp eax, 1
mov eax, dword [ebp + 8]
jne 0x49da9d
mov eax, dword [eax + 0x70]
mov ecx, dword [esi + 0xa0]
mov dword [esi + 0x5d8], 3
push dword [esi + 4]
lea edi, [esi + 0xa8]
push edi
push ecx
push eax
mov eax, dword [esi + 0xc]
push eax
push eax
call fcn.004a7600
add esp, 0x18
mov eax, dword [ebp + 8]
lea ecx, [esi + 0xa0]
mov byte [esi + 3], 1
mov dword [esi + 0x5d8], 2
add eax, 0x78
push ecx
push eax
push dword [esi + 4]
push dword [esi + 0xc]
call fcn.004a0be0
add esp, 0x10
test eax, eax
je 0x49d8c8
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x3c], edx
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 1
mov dword [esi + 0x5d8], 4
mov dword [esi + 0x180], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x184], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x18c], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x188], eax
lea eax, [esi + 0x38]
mov dword [esi + 0x190], ecx
push ecx
lea ecx, [esi + 0x180]
push ecx
push eax
call fcn.004a0450
add esp, 0xc
mov dword [esi + 4], edx
mov ecx, dword [esi + 0x184]
mov edx, dword [esi + 0x180]
mov dword [esi + 0x5d8], 0xe
push ecx
push edx
mov dword [esi + 0xc], eax
push eax
mov eax, dword [esi + 0x28]
push eax
push eax
call fcn.004eb6f0
add esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x180]
mov dword [esi + 0x5d8], 0xd
mov eax, dword [eax]
push dword [esi + 0x14]
lea edx, [esi + 0x188]
push edx
push ecx
push eax
mov eax, dword [esi + 0x28]
push eax
push eax
call fcn.004a7600
add esp, 0x18
mov eax, dword [esi + 4]
lea edi, [esi + 0x50]
test eax, eax
je 0x49d73a
shl eax, 2
push 4
push eax
push dword [esi + 0xc]
call fcn.00402cf0
add esp, 0xc
mov byte [esi + 0xa], 1
mov byte [esi + 0xb], 0
mov dword [esi + 0x5d8], 4
push dword [esi + 0x18]
push edi
push dword [esi + 0x14]
push dword [esi + 0x28]
call fcn.004a05c0
add esp, 0x10
mov ecx, eax
test eax, eax
mov eax, dword [ebp + 8]
je 0x49d8f9
mov dword [esi + 0xc], ecx
add eax, 0x5c
lea ecx, [esi + 0x50]
mov dword [esi + 4], edx
mov byte [esi + 0x10], 1
mov byte [esi + 0x11], 1
mov dword [esi + 0x5d8], 5
push ecx
push eax
call fcn.0049f850
add esp, 8
mov edi, eax
test eax, eax
je 0x49d8e0
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x50]
lea ebx, [esi + 0x58]
mov dword [esi + 0x5d8], 6
mov dword [esi + 0x20], edx
mov eax, dword [eax + 0x24]
push edx
push ebx
push ecx
push eax
push edi
push edi
mov dword [esi + 0x24], edi
call fcn.004a7600
add esp, 0x18
mov eax, dword [esi + 0x50]
mov dword [esi + 0x5d8], 8
push dword [esi + 4]
lea ecx, [esi + 0x58]
push ecx
push eax
push dword [esi + 0x24]
mov eax, dword [esi + 0xc]
push eax
push eax
call fcn.004a7600
add esp, 0x18
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov byte [esi + 0x13], 1
mov dword [esi + 0x5d8], 9
push dword [esi + 0x18]
lea edx, [esi + 0x50]
push edx
push ecx
push eax
call fcn.004a05c0
add esp, 0x10
test eax, eax
je 0x49d908
lea ecx, [esi + 0x50]
mov byte [esi + 0x13], 0
push ecx
push dword [esi + 4]
push dword [esi + 0xc]
push edx
push eax
call fcn.004a0730
add esp, 0x14
mov ecx, dword [ebp + 8]
mov dword [esi + 0xa0], eax
lea eax, [esi + 0xa0]
mov dword [esi + 0xa4], edx
mov dword [esi + 0x5d8], 0xa
add ecx, 8
push eax
push ecx
call fcn.0049f220
add esp, 8
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x40], edx
mov edi, edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x18], eax
cmp edx, ecx
mov dword [esi + 0x2c], ecx
jne 0x49dad1
mov dword [esi + 0x5d8], 0xb
push ecx
push dword [esi + 0x30]
push eax
call fcn.004eb410
add esp, 0xc
cmp eax, 0xffffffff
je 0x49d969
mov ebx, dword [esi + 0x1c]
test ebx, ebx
je 0x49d8ad
push 4
push dword [esi + 0x44]
push dword [esi + 0x18]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0xa4]
mov edi, dword [esi + 0x24]
test eax, eax
je 0x49d926
shl eax, 2
push 4
push eax
push dword [esi + 0xa0]
jmp 0x49d91e
cmp dword [esi + 0x14], 0
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 0x28]
je 0x49d93c
mov ecx, dword [esi + 0x14]
shl ecx, 2
push 4
push ecx
push eax
jmp 0x49d934
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
test ecx, ecx
je 0x49d8f9
shl ecx, 2
push 4
push ecx
push eax
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x3c]
mov ebx, dword [esi + 0x1c]
test eax, eax
je 0x49d93c
mov edi, dword [esi + 0x38]
jmp 0x49d92d
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0x1c]
mov edi, dword [esi + 0x24]
test eax, eax
je 0x49d926
shl eax, 2
push 4
push eax
push dword [esi + 0xc]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x20]
test eax, eax
je 0x49d93c
shl eax, 2
push 4
push eax
push edi
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0x30]
test ebx, ebx
je 0x49d952
shl ebx, 2
push 4
push ebx
push eax
call fcn.00402cf0
add esp, 0xc
mov al, 1
mov ecx, dword [esi + 0x5d0]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x44]
test edi, edi
je 0x49d981
push 4
push ebx
push dword [esi + 0x18]
call fcn.00402cf0
add esp, 0xc
mov eax, dword [esi + 0xa0]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0xa4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x49d9ab
shl eax, 2
push 4
push eax
push dword [esi + 0x24]
call fcn.00402cf0
add esp, 0xc
test edi, edi
je 0x49d9bd
push 4
push ebx
push dword [esi + 0x30]
call fcn.00402cf0
add esp, 0xc
mov dword [esi + 0x5d8], 0x10
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [esi + 4]
push dword [esi + 0x18]
call fcn.0049e800
add esp, 0x10
mov eax, dword [esi + 4]
test eax, eax
je 0x49d9f3
shl eax, 2
push 4
push eax
push dword [esi + 0x18]
call fcn.00402cf0
add esp, 0xc
xor eax, eax
jmp 0x49d954
push 0x5276b4
push 0x80
push edi
call fcn.00500430
mov dword [esi + 0x180], 0
mov byte [esi + 3], 1
mov dword [esi + 0x5d8], 2
lea eax, [esi + 0x2c]
lea ecx, [esi + 0x4c]
push 0x529304
lea edx, [esi + 0x180]
push edx
push eax
push ecx
push 0
call fcn.004fef60
add esp, 0x14
jmp 0x49db03
mov dword [esi + 0x180], 0
mov byte [esi + 3], 1
mov dword [esi + 0x5d8], 2
lea eax, [esi + 0x2c]
lea ecx, [esi + 0x40]
push 0x529314
push edx
push eax
push ecx
push 0
call fcn.004fef30
add esp, 0x14
jmp 0x49db03
mov byte [esi + 3], 1
mov dword [esi + 0x5d8], 2
push 0x529324
push pe_nt_image_headers32
push ebx
call fcn.00500430
add esp, 0xc
jmp 0x49db03
lea eax, [esi + 0x2c]
push 0x529cd8
push 0x529b20
push eax
push 0x2b
push 0x529af4
call fcn.00500340
add esp, 0x14
jmp 0x49db03
mov byte [esi + 3], 1
mov dword [esi + 0x5d8], 2
call fcn.004e3430
jmp 0x49db03
mov dword [esi + 0x180], 0
mov dword [esi + 0x5d8], 0xb
lea eax, [esi + 0x2c]
lea ecx, [esi + 0x40]
push 0x529548
lea edx, [esi + 0x180]
push edx
push eax
push ecx
push 0
call fcn.004fef30
add esp, 0x14
ud2