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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov ebx, edx
mov edi, ecx
mov ecx, dword [edx + 8]
movsd xmm0, qword [edx]
movsd qword [esp + 0xa0], xmm0
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0xa0]
movsd qword [esp], xmm0
call dword [eax + 0x98]
sub esp, 8
sub eax, dword [ebp + 8]
mov dword [esp + 0x44], eax
mov esi, edx
sbb esi, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
movsd xmm0, qword [ebx]
movsd qword [esp + 0xa0], xmm0
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0xa0]
movsd qword [esp], xmm0
call dword [eax + 0xa0]
sub esp, 8
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], edx
lea eax, [esp + 0xac]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0x20
mov ecx, dword [ebx + 8]
movsd xmm0, qword [ebx]
movsd qword [esp + 0x18], xmm0
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0x18]
movsd qword [esp], xmm0
lea edx, [esp + 0xa0]
mov dword [esp + 8], edx
call dword [eax + 0xa4]
sub esp, 0xc
mov eax, dword [ebx + 8]
movsd xmm0, qword [ebx]
movsd qword [esp + 0x18], xmm0
mov edx, dword [eax]
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
lea ecx, [esp + 0x50]
call dword [edx + 0x9c]
sub esp, 0xc
mov eax, dword [edi + 0x38]
mov edx, dword [eax]
mov dword [esp], eax
lea ecx, [esp + 0x18]
call dword [edx + 0x1c]
sub esp, 4
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
xor ecx, dword [esp + 0x1c]
or ecx, eax
je 0x415b7f
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov edx, dword [eax]
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
lea ecx, [esp + 0x18]
call dword [edx + 0x28]
sub esp, 0xc
test byte [esp + 0x20], 1
jne 0x415e0e
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov ebx, dword [edi + 0x38]
lea eax, [esp + 0x50]
mov dword [esp], eax
mov ecx, ebx
call fcn.0054a78c
sub esp, 4
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], eax
movsd xmm0, qword [esp + 0x78]
movsd qword [esp], xmm0
mov ecx, ebx
call fcn.0054a7a4
sub esp, 8
mov dword [esp + 0x40], eax
test byte [esp + 0x20], 1
je 0x415a0b
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], 0
test ecx, ecx
je 0x415a0b
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x3c], 0
mov eax, dword [0x54fc3c]
cmp byte [eax], 0
mov ebx, dword [edi + 0x20]
je 0x415bb0
mov dword [esp + 0x18], 0x54dcc1
mov dword [esp + 0x1c], 0xa
mov eax, dword [ebx]
movsd xmm0, qword [esp + 0x18]
movsd qword [esp], xmm0
mov ecx, ebx
call dword [eax + 0x7c]
sub esp, 8
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x18], 0x54dccc
mov dword [esp + 0x1c], 6
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x18]
movsd qword [esp], xmm0
call dword [eax + 0xa8]
sub esp, 0x10
mov esi, dword [edi + 0x20]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], 0x54dcd3
mov dword [esp + 0x9c], 4
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call fcn.00417400
movzx eax, byte [esp + 0x18]
mov ecx, eax
shr ecx, 1
test al, 1
lea eax, [esp + 0x19]
cmovne eax, dword [esp + 0x20]
cmovne ecx, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov eax, dword [esi]
movsd xmm0, qword [esp + 0x88]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x90]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x98]
movsd qword [esp], xmm0
mov ecx, esi
call dword [eax + 0xb4]
sub esp, 0x18
test byte [esp + 0x18], 1
je 0x415b56
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x70], 0x54dcd8
mov dword [esp + 0x74], 6
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x415bed
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
jmp 0x415bfd
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [0x54fc3c]
cmp byte [eax], 0
mov ebx, dword [edi + 0x20]
jne 0x415a24
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x90]
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0054a6d8
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x415c77
mov byte [ecx], 0x20
inc dword [eax + 0x10]
jmp 0x415c90
mov dword [esp + 0x48], 0x54dcdf
mov dword [esp + 0x4c], 1
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x70]
movsd qword [esp], xmm0
call dword [eax + 0x74]
sub esp, 0x10
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x68], str.SymbolIndex
mov dword [esp + 0x6c], 0xb
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0x68]
movsd qword [esp], xmm0
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
call dword [eax + 0x2c]
sub esp, 0x10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x80]
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0xac]
cmp eax, ecx
jne 0x415db0
jmp 0x415db8
mov dword [esp + 4], 1
mov dword [esp], 0x54dced
mov ecx, eax
call fcn.0054a3c0
sub esp, 8
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov ecx, eax
call fcn.0054a3c0
sub esp, 8
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x415ccb
mov byte [ecx], 0x20
mov ecx, dword [eax + 0x10]
inc ecx
mov dword [eax + 0x10], ecx
jmp 0x415ce7
mov dword [esp + 4], 1
mov dword [esp], 0x54dced
mov ecx, eax
call fcn.0054a3c0
sub esp, 8
mov ecx, dword [eax + 0x10]
cmp esi, 1
mov edx, esi
adc esi, 0
test edx, edx
mov edx, 0x54dcdf
cmove edi, edx
mov edx, dword [eax + 0xc]
sub edx, ecx
cmp esi, edx
jbe 0x415d2d
mov dword [esp + 4], esi
mov dword [esp], edi
mov ecx, eax
call fcn.0054a3c0
sub esp, 8
mov ecx, eax
mov esi, dword [eax + 0x10]
mov eax, dword [ecx + 0xc]
sub eax, esi
cmp eax, 1
jbe 0x415d51
mov word [esi], 0x2820
add dword [ecx + 0x10], 2
jmp 0x415d6a
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ecx
mov edi, eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, edi
add esi, dword [edi + 0x10]
mov dword [edi + 0x10], esi
mov eax, dword [ecx + 0xc]
sub eax, esi
cmp eax, 1
ja 0x415d22
mov dword [esp + 4], 2
mov dword [esp], 0x54dcef
call fcn.0054a3c0
sub esp, 8
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.0054a402
sub esp, 8
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x415dc0
mov byte [ecx], 0x29
mov ecx, dword [eax + 0x10]
inc ecx
mov dword [eax + 0x10], ecx
cmp dword [eax + 0xc], ecx
je 0x415de1
mov byte [ecx], 0xa
inc dword [eax + 0x10]
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0xac]
cmp eax, ecx
je 0x415db8
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], 1
mov dword [esp], 0x54dcf2
mov ecx, eax
call fcn.0054a3c0
sub esp, 8
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
jne 0x415d98
mov dword [esp + 4], 1
mov dword [esp], 0x54d198
mov ecx, eax
call fcn.0054a3c0
sub esp, 8
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0xac]
cmp eax, ecx
jne 0x415db0
jmp 0x415db8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x64], eax
mov ecx, dword [edi + 0x38]
call fcn.0054aa3e
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
movsd xmm0, qword [esp + 0x80]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x64]
mov dword [esp], eax
call fcn.0052c4c0
int3