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

Disassembly:
jmp 0x4dcf60
sub esp, 0x6c
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x5c]
push edi
mov dword [esp + 0x1c], ecx
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x2c], ebp
xor edi, edi
mov dword [esp + 0x20], ebx
push eax
mov ecx, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebp
call fcn.0040fda8
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x38]
movq xmm0, qword [esp + 0x60]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x44]
movq qword [esp + 0x38], xmm0
movq xmm0, qword [esp + 0x6c]
push eax
movq qword [esp + 0x48], xmm0
call fcn.0040f76d
test al, al
jne 0x4dd21b
nop dword [eax]
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ebx
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x38], ebx
push eax
lea ecx, [esp + 0x40]
call fcn.00409dd6
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4dd208
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
call fcn.00404a61
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4dd1b3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
cmp edi, ebp
je 0x4dd058
movq xmm0, qword [esp + 0x54]
movq qword [edi], xmm0
mov dword [edi + 8], ecx
add edi, 0xc
mov dword [esp + 0x24], edi
jmp 0x4dd073
lea eax, [esp + 0x54]
push eax
push edi
lea ecx, [esp + 0x28]
call fcn.004dbc70
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x2c], ebp
lea ecx, [esp + 0x38]
call fcn.00403b34
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040f76d
test al, al
je 0x4dcfe0
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], ebx
cmp ebx, edi
je 0x4dd21b
mov ecx, edi
sub ecx, ebx
cmp ecx, 0x18
jl 0x4dd0cd
mov eax, 0x2aaaaaab
imul ecx
push 0x4dcb50
sar edx, 1
mov eax, edx
shr eax, 0x1f
push 0xc
add eax, edx
push eax
push ebx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x10
mov ecx, esi
call fcn.004126de
mov esi, ebx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esi]
mov ecx, 0
add eax, ebp
mov dword [esp + 0x50], 0
mov dword [esp + 0x44], eax
adc ecx, edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x48], ecx
xor ecx, ecx
cmp esi, edi
sete cl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x4c], ecx
lea ecx, [esi + 4]
cmp edx, dword [ebx + 0x18]
je 0x4dd141
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 8], eax
mov dword [edx + 0xc], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
add dword [ebx + 0x14], 0x18
jmp 0x4dd150
push ecx
lea eax, [esp + 0x48]
push eax
push edx
lea ecx, [ebx + 0x10]
call fcn.00407707
mov edx, dword [esp + 0x14]
add esi, 0xc
cmp esi, edi
jne 0x4dd0e0
mov esi, dword [esp + 0x80]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
mov dword [esi], 0
test ebx, ebx
je 0x4dd268
sub ebp, ebx
mov eax, 0x2aaaaaab
imul ebp
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 2
cmp ecx, 0x1000
jb 0x4dd25e
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dd1fe
jmp 0x4dd25e
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ebx
mov dword [esi], eax
test ecx, ecx
je 0x4dd268
sub ebp, ecx
mov eax, 0x2aaaaaab
imul ebp
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ecx
shl edx, 2
cmp edx, 0x1000
jb 0x4dd204
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4dd204
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
jmp 0x4dd260
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov dword [esi], eax
jmp 0x4dd1c4
mov esi, dword [esp + 0x80]
mov dword [esi], 0
test ebx, ebx
je 0x4dd268
sub ebp, ebx
mov eax, 0x2aaaaaab
imul ebp
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 2
cmp ecx, 0x1000
jb 0x4dd25e
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dd1fe
push ecx
push ebx
call fcn.004036ca
add esp, 8
mov ecx, dword [esp + 0x78]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x6c
ret 8