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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x134
mov ebp, dword [esp + 0x14c]
mov eax, dword [esp + 0x150]
mov dword [esp + 0x5c], ecx
mov ebx, dword [ebp + 0x40]
mov dword [edx + 8], eax
cmp ebx, 0x41
jae 0x460b9a
mov esi, dword [edx + 4]
mov edi, dword [edx]
mov dword [esp + 0x54], edx
mov eax, dword [esi + 0x10]
mov dword [esp + 8], eax
push edi
call dword [esi + 0x14]
add esp, 4
rol ax, 8
mov byte [esp + 3], 0x12
mov byte [esp + 4], bl
mov word [esp + 0x60], ax
lea eax, [esp + 0x60]
mov dword [esp + 0x14], eax
lea eax, [esp + 3]
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], eax
lea eax, [esp + 4]
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x5e2908
mov dword [esp + 0x28], 6
mov dword [esp + 0x2c], 0x5e27e7
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], ebp
lea ebp, [esp + 0xa0]
mov dword [esp + 0x40], ebx
lea eax, [esp + 0x14]
push 6
push eax
mov dword [esp + 0x14], edi
push edi
push ebp
call dword [esp + 0x18]
add esp, 0x10
mov eax, dword [esp + 0x158]
mov eax, dword [eax + 0x1c]
push 0x1f
push 0x5e2868
push dword [esp + 0x15c]
mov dword [esp + 0x1c], eax
call eax
add esp, 0xc
mov edi, dword [esp + 0xe0]
test al, al
je 0x460653
mov eax, dword [esp + 0x154]
cmp edi, 0x41
jae 0x460b9a
push edi
push ebp
push 0x20
push dword [esp + 0x168]
push 0x1f
push 0x5e2868
push eax
mov eax, dword [esp + 0x174]
call dword [eax + 0x18]
add esp, 0x1c
movsd xmm1, qword [esp + 0xd0]
movsd xmm2, qword [esp + 0xc8]
movsd xmm0, qword [esp + 0xd8]
mov dword [esp + 8], edi
mov edi, dword [esp + 0xc]
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [esp + 0xc0]
movsd qword [esp + 0x88], xmm2
movsd xmm2, qword [esp + 0xb8]
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [esp + 0xb0]
movsd qword [esp + 0x78], xmm2
movsd xmm2, qword [esp + 0xa0]
movsd qword [esp + 0x70], xmm1
movsd xmm1, qword [esp + 0xa8]
movsd qword [esp + 0x60], xmm2
movsd qword [esp + 0x68], xmm1
mov eax, dword [esi + 0x10]
mov dword [esp + 0x58], eax
push edi
call dword [esi + 0x14]
add esp, 4
rol ax, 8
mov byte [esp + 7], 0x12
mov byte [esp + 3], bl
mov word [esp + 4], ax
lea eax, [esp + 4]
mov dword [esp + 0x14], eax
lea eax, [esp + 7]
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], eax
lea eax, [esp + 3]
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x5e2908
mov dword [esp + 0x28], 6
mov dword [esp + 0x2c], 0x5e27f3
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
push 6
lea eax, [esp + 0x18]
push eax
push edi
push ebp
call dword [esp + 0x68]
add esp, 0x10
push 0x1f
push 0x5e2887
mov esi, dword [esp + 0x15c]
push esi
call dword [esp + 0x1c]
add esp, 0xc
mov ebx, dword [esp + 0xe0]
test al, al
je 0x4607b8
cmp ebx, 0x41
jae 0x460b9a
push ebx
push ebp
push 0x20
push dword [esp + 0x168]
push 0x1f
push 0x5e2887
push esi
mov eax, dword [esp + 0x174]
call dword [eax + 0x18]
add esp, 0x1c
movsd xmm1, qword [esp + 0xd0]
movsd xmm2, qword [esp + 0xc8]
mov ebp, dword [esp + 0x160]
movsd xmm0, qword [esp + 0xd8]
mov edx, dword [esp + 8]
movsd qword [esp + 0x44], xmm1
movsd xmm1, qword [esp + 0xc0]
movsd qword [esp + 0x3c], xmm2
movsd xmm2, qword [esp + 0xb8]
cmp byte [ebp + 0x24c], 1
movsd qword [esp + 0x4c], xmm0
movsd qword [esp + 0x34], xmm1
movsd xmm1, qword [esp + 0xb0]
movsd qword [esp + 0x2c], xmm2
movsd xmm2, qword [esp + 0xa0]
movsd qword [esp + 0x24], xmm1
movsd xmm1, qword [esp + 0xa8]
movsd qword [esp + 0x14], xmm2
movsd qword [esp + 0x1c], xmm1
jne 0x4609b9
mov eax, dword [esp + 0x150]
mov esi, dword [eax]
test esi, esi
je 0x460b9a
mov edi, dword [eax + 4]
movzx ecx, byte [ebp + 0x244]
mov ch, byte [ebp + 0x1ff]
cmp byte [ebp + 0x161], 2
je 0x46089f
mov byte [esp + 0xc], cl
mov byte [esp + 0x10], ch
lea ecx, [ebp + 0xd4]
call fcn.00435910
lea ecx, [ebp + 0x118]
call fcn.00435910
mov ch, byte [esp + 0x10]
mov cl, byte [esp + 0xc]
mov eax, dword [esp + 0x150]
movsd xmm1, qword [esp + 0x68]
mov dword [ebp + 0xcc], esi
mov dword [ebp + 0xd0], edi
movsd xmm2, qword [esp + 0x70]
movsd xmm0, qword [esp + 0x60]
mov edx, dword [esp + 8]
movsd xmm3, qword [esp + 0x14]
movsd qword [ebp + 0xdc], xmm1
movsd xmm1, qword [esp + 0x78]
movsd qword [ebp + 0xe4], xmm2
movsd xmm2, qword [esp + 0x80]
movsd qword [ebp + 0xd4], xmm0
movsd qword [ebp + 0xec], xmm1
movsd xmm1, qword [esp + 0x88]
movsd qword [ebp + 0xf4], xmm2
movsd xmm2, qword [esp + 0x90]
movsd qword [ebp + 0xfc], xmm1
movsd xmm1, qword [esp + 0x98]
movsd qword [ebp + 0x104], xmm2
movsd xmm2, qword [esp + 0x24]
movsd qword [ebp + 0x10c], xmm1
movsd xmm1, qword [esp + 0x1c]
mov dword [ebp + 0x114], edx
movsd qword [ebp + 0x128], xmm2
movsd xmm2, qword [esp + 0x34]
movsd qword [ebp + 0x118], xmm3
movsd qword [ebp + 0x120], xmm1
movsd xmm1, qword [esp + 0x2c]
movsd qword [ebp + 0x138], xmm2
movsd xmm2, qword [esp + 0x44]
movsd qword [ebp + 0x130], xmm1
movsd xmm1, qword [esp + 0x3c]
movsd qword [ebp + 0x148], xmm2
movsd qword [ebp + 0x140], xmm1
movsd xmm1, qword [esp + 0x4c]
movsd qword [ebp + 0x150], xmm1
mov dword [ebp + 0x158], ebx
mov dword [ebp + 0x15c], eax
mov byte [ebp + 0x160], ch
mov byte [ebp + 0x161], cl
mov ecx, dword [esp + 0x54]
movsd xmm1, qword [esp + 0x68]
movsd xmm2, qword [esp + 0x70]
movsd xmm3, qword [esp + 0x60]
mov eax, dword [ecx + 8]
movsd xmm0, qword [ecx]
mov dword [esp + 0xa8], eax
movsd qword [esp + 0xa0], xmm0
movsd qword [esp + 0xb4], xmm1
movsd xmm1, qword [esp + 0x78]
movsd qword [esp + 0xbc], xmm2
movsd xmm2, qword [esp + 0x80]
movsd qword [esp + 0xac], xmm3
movsd xmm3, qword [esp + 0x14]
movsd qword [esp + 0xc4], xmm1
movsd xmm1, qword [esp + 0x88]
movsd qword [esp + 0xcc], xmm2
movsd xmm2, qword [esp + 0x90]
movsd qword [esp + 0xd4], xmm1
movsd xmm1, qword [esp + 0x98]
movsd qword [esp + 0xdc], xmm2
movsd xmm2, qword [esp + 0x24]
movsd qword [esp + 0xe4], xmm1
movsd xmm1, qword [esp + 0x1c]
mov dword [esp + 0xec], edx
movsd qword [esp + 0x100], xmm2
movsd xmm2, qword [esp + 0x34]
movsd qword [esp + 0xf0], xmm3
lea edx, [esp + 0xf0]
movsd qword [esp + 0xf8], xmm1
movsd xmm1, qword [esp + 0x2c]
movsd qword [esp + 0x110], xmm2
movsd xmm2, qword [esp + 0x44]
movsd qword [esp + 0x108], xmm1
movsd xmm1, qword [esp + 0x3c]
movsd qword [esp + 0x120], xmm2
movsd qword [esp + 0x118], xmm1
movsd xmm1, qword [esp + 0x4c]
movsd qword [esp + 0x128], xmm1
mov dword [esp + 0x130], ebx
mov ecx, dword [esp + 0xa8]
call fcn.00469ba0
mov edi, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov esi, dword [ebp + 0x10]
mov ebx, edx
mov eax, dword [edi]
test eax, eax
je 0x460b09
push esi
call eax
add esp, 4
movzx ecx, byte [esp + 0x148]
cmp dword [edi + 4], 0
je 0x460b3b
cmp dword [edi + 8], 9
mov dword [esp + 0xc], ebx
jb 0x460b24
mov esi, dword [esi - 4]
mov ebx, ecx
push esi
push 0
push dword [0x623140]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 8]
test cl, cl
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x28], 0
mov byte [ebp + 0x32], 2
mov dword [ebp], 0
jne 0x460b79
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0xac]
push ebp
call fcn.00462250
add esp, 4
push 0x94
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x64]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x140
pop esi
pop edi
pop ebx
pop ebp
ret
ud2