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

Disassembly:
jmp 0x4c3960
sub esp, 0x164
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x160], eax
push ebp
push esi
push edi
push 1
mov esi, ecx
call fcn.00405a42
lea eax, [esp + 0xf]
mov byte [esp + 0xf], 0
push eax
lea eax, [esp + 0x18]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0040fe16
test al, al
je 0x4c3c13
mov al, byte [esp + 0xf]
test al, al
je 0x4c39b2
mov al, 1
jmp 0x4c3c15
mov ecx, dword [esi + 0x14]
mov ebp, dword [esi + 0x1c]
mov dword [esp + 0x20], ecx
xor ecx, ecx
test ebp, ebp
cmovs ebp, ecx
mov ecx, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x18], edi
test ecx, ecx
jne 0x4c39fc
lea eax, [esp + 0xf]
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
push ebp
lea eax, [esp + 0x20]
push eax
call fcn.00405862
test al, al
je 0x4c3c13
mov al, byte [esp + 0xf]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x64], 0
lea edx, [esp + 0x6c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], 0x100
push ebx
test al, al
jne 0x4c3b0a
nop dword [eax]
lea eax, [esp + 0x13]
push eax
push ebp
push ecx
mov ecx, esi
call fcn.00403f9e
test al, al
je 0x4c3b03
cmp byte [esp + 0x13], 0
jne 0x4c3b0a
mov ebx, dword [esi + 0x14]
mov ecx, esi
push fcn.00408ee0
call fcn.0040f696
cmp ebx, dword [esi + 0x14]
je 0x4c3ae6
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
sub eax, ecx
mov byte [esp + 0x14], 0xa
cmp edi, eax
jbe 0x4c3a84
lea eax, [ecx + edi]
push 1
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x70]
call fcn.00405e1b
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x68]
add eax, ecx
push edi
push eax
call fcn.00401c9e
mov ecx, dword [esp + 0x74]
add esp, 0xc
mov eax, dword [esp + 0x6c]
add ecx, edi
mov edi, dword [esi + 0x14]
sub eax, ecx
sub edi, ebx
mov dword [esp + 0x68], ecx
cmp edi, eax
jbe 0x4c3ac6
lea eax, [ecx + edi]
push 1
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x70]
call fcn.00405e1b
lea eax, [edi + ebx]
cmp ebx, eax
je 0x4c3ae0
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x64]
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [esp + 0x68], edi
xor edi, edi
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
je 0x4c3b0a
mov ecx, esi
call fcn.00405f15
test al, al
je 0x4c3b0a
mov ecx, dword [esp + 0x18]
inc edi
jmp 0x4c3a20
xor bl, bl
jmp 0x4c3bf8
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
jne 0x4c3b1c
test edi, edi
mov eax, 1
cmove edi, eax
push 0xa
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push edi
push dword [esp + 0x30]
call fcn.004c0d20
add esp, 0x10
lea ecx, [esp + 0x68]
push eax
call fcn.00405673
cmp dword [esi + 0x28], 0
jne 0x4c3b47
mov byte [esi + 0x2d], 1
push dword [esp + 0x68]
mov ebx, dword [esi + 0x14]
lea ecx, [esp + 0x2c]
mov ebp, dword [esp + 0x28]
sub ebx, ebp
push dword [esp + 0x68]
mov dword [esp + 0x48], 0x13
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xf
call fcn.00408698
movups xmm0, xmmword [esp + 0x28]
lea eax, [esi + 0x30]
push eax
movups xmmword [esp + 0x50], xmm0
lea esi, [eax + 0x40]
movq xmm0, qword [esp + 0x3c]
push 0x2c
movq qword [esp + 0x64], xmm0
call fcn.0040a579
mov edi, eax
add esp, 8
test edi, edi
je 0x4c3bdf
lea eax, [esp + 0x4c]
mov dword [edi], 0
mov dword [edi + 4], 0
lea ecx, [edi + 0x14]
push eax
mov dword [edi + 8], 0x13
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], ebx
call fcn.0040c00e
jmp 0x4c3be1
xor edi, edi
mov eax, dword [esi]
lea ecx, [esp + 0x40]
mov dword [edi + 4], esi
mov bl, 1
mov dword [edi], eax
mov dword [eax + 4], edi
mov dword [esi], edi
call fcn.0040cb44
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x70]
cmp ecx, eax
je 0x4c3c0e
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov al, bl
pop ebx
jmp 0x4c3c15
xor al, al
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004087b5
add esp, 0x164
ret 4