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

Disassembly:
jmp 0x4d8ab0
sub esp, 0x70
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
push ebx
push esi
mov esi, dword [esp + 0x7c]
xor ebx, ebx
push edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x88]
push 2
sub esp, 8
mov dword [esp + 0x38], ecx
cmp dword [esi + 0x14], 0x10
mov ecx, esp
mov dword [esp + 0x4c], eax
mov eax, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
jb 0x4d8aff
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea eax, [esp + 0x44]
push eax
call fcn.00410b36
mov eax, dword [esp + 0x48]
add esp, 0x10
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0xf
test eax, eax
je 0x4d8b3a
push dword [esp + 0x3c]
lea ecx, [esp + 0x4c]
push eax
call fcn.00408698
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x64]
push esi
push eax
call fcn.004d6cb0
add esp, 0xc
lea ecx, [esp + 0x20]
push eax
push 0
call fcn.00415c2b
mov edx, dword [esp + 0x74]
cmp edx, 0x10
jb 0x4d8b8b
mov ecx, dword [esp + 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d8b81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d8bc3
push edx
push ecx
call fcn.004036ca
add esp, 8
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 0xf
mov byte [esp + 0x60], bl
cmp edx, 0x10
jb 0x4d8bd3
mov ecx, dword [esp + 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d8bc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d8bc9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov eax, dword [ecx + 0x4c]
mov esi, dword [ecx + 0x48]
mov dword [esp + 0x1c], eax
cmp esi, eax
je 0x4d8cf8
nop dword [eax]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0xf
test eax, eax
je 0x4d8c16
push dword [esp + 0x3c]
lea ecx, [esp + 0x4c]
push eax
call fcn.00408698
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x64]
push esi
push eax
call fcn.004d6cb0
add esp, 0xc
cmp edi, dword [esp + 0x28]
je 0x4d8c5c
mov dword [edi], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xf
mov byte [eax], bl
mov dword [esp + 0x24], edi
jmp 0x4d8c6b
push eax
push edi
lea ecx, [esp + 0x28]
call fcn.00415c2b
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x74]
cmp edx, 0x10
jb 0x4d8ca1
mov ecx, dword [esp + 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d8c97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d8bc3
push edx
push ecx
call fcn.004036ca
add esp, 8
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 0xf
mov byte [esp + 0x60], bl
cmp edx, 0x10
jb 0x4d8ce7
mov ecx, dword [esp + 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d8cdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d8bc3
push edx
push ecx
call fcn.004036ca
add esp, 8
add esi, 0x18
cmp esi, dword [esp + 0x1c]
jne 0x4d8bf0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x4d8e30
mov esi, dword [esp + 0x34]
nop dword [eax]
push dword [esp + 0x40]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00401582
mov dl, byte [esp + 0x14]
mov al, dl
not al
test al, 1
jne 0x4d8dca
test dl, 1
je 0x4d8d4d
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x30]
or ebx, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0
jmp 0x4d8d5a
or ebx, 6
lea eax, [esp + 0x44]
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [eax], 0
test bl, 4
je 0x4d8d76
mov ecx, dword [esp + 0x44]
and ebx, 0xfffffffb
test ecx, ecx
je 0x4d8d76
mov eax, dword [ecx]
push 1
call dword [eax]
test bl, 2
je 0x4d8d8a
and ebx, 0xfffffffd
test esi, esi
je 0x4d8d8a
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
test bl, 1
je 0x4d8da0
mov ecx, dword [esp + 0x30]
and ebx, 0xfffffffe
test ecx, ecx
je 0x4d8da0
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [esp + 0xf]
mov byte [esp + 0xf], 0
push eax
push ecx
mov ecx, dword [esp + 0x20]
mov eax, esp
mov dword [eax], ecx
call fcn.0040fe9d
add esp, 8
test byte [esp + 0x14], 1
je 0x4d8e18
mov ecx, dword [esp + 0x10]
test ecx, ecx
jmp 0x4d8e10
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4d8e18
mov eax, dword [ecx + 4]
sub eax, 0x10
cmp eax, 3
ja 0x4d8e0d
push dword [esp + 0x34]
push ecx
call fcn.004d61b0
add esp, 8
test al, al
je 0x4d8dbb
test byte [esp + 0x14], 1
je 0x4d8e07
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4d8e07
mov eax, dword [ecx]
push 1
call dword [eax]
mov ebx, dword [esp + 0x18]
jmp 0x4d8e32
test dl, 1
je 0x4d8e18
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x1c]
add eax, 0x18
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x4d8e30
mov ecx, dword [esp + 0x2c]
jmp 0x4d8d10
xor ebx, ebx
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4d8ed4
cmp esi, edi
je 0x4d8e89
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4d8e71
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x4d8e67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d8ec4
mov eax, edx
push ecx
push eax
call fcn.004036ca
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x4d8e42
mov ecx, dword [esp + 0x28]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x20]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4d8eca
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d8eca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.004036ca
add esp, 8
mov ecx, dword [esp + 0x78]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x70
ret 0xc