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

Disassembly:
mov eax, dword [edx + 0x14]
test eax, eax
je 0x450ba5
push ebp
push ebx
push edi
push esi
sub esp, 0x228
mov edi, dword [edx + 0x14]
mov esi, dword [edx + 8]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 1
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 1
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 1
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 1
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 1
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 1
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 1
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 1
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 1
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 1
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 1
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 1
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 1
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 1
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 1
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 1
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 1
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 1
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 1
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 1
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 1
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 1
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 1
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 1
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 1
mov dword [esp + 0x180], 0
mov dword [esp + 0x184], 1
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 1
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 1
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 1
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 1
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 1
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 1
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 1
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 1
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 1
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1d4], 1
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], 1
mov dword [esp + 0x1e0], 0
mov dword [esp + 0x1e4], 1
mov dword [esp + 0x1e8], 0
mov dword [esp + 0x1ec], 1
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f4], 1
mov dword [esp + 0x1f8], 0
mov dword [esp + 0x1fc], 1
mov dword [esp + 0x200], 0
mov dword [esp + 0x204], 1
mov dword [esp + 0x208], 0
mov dword [esp + 0x20c], 1
mov dword [esp + 0x210], 0
mov dword [esp + 0x214], 1
mov dword [esp + 0x218], 0
mov dword [esp + 0x21c], 1
mov dword [esp + 0x220], 0
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x224], 1
test edi, edi
mov dword [esp + 0x10], esi
je 0x450bb0
mov ebp, dword [edx + 0x10]
xor eax, eax
mov ecx, esi
mov ebx, edi
cmp ebp, esi
cmovb ecx, eax
mov eax, esi
sub ebp, ecx
sub eax, ebp
sub ebx, eax
jbe 0x450bb6
mov edi, esi
jmp 0x450bba
mov dword [ecx + 4], 0
mov byte [ecx], 4
ret
xor ebp, ebp
xor edi, edi
jmp 0x450bb8
add edi, ebp
xor ebx, ebx
sub edi, ebp
mov eax, dword [edx + 0xc]
mov dword [esp + 8], edx
shl edi, 2
lea esi, [edi + edi*2]
shr esi, 2
imul edi, esi, 0xaaaaaaab
mov dword [esp], eax
add ebx, edi
je 0x450c20
mov eax, dword [esp]
cmp ebx, 0x40
mov esi, 0x40
lea edx, [ebp + ebp*2]
cmovb esi, ebx
lea ebx, [edi*4]
lea ebp, [ebx + ebx*2]
lea edx, [eax + edx*4]
sub eax, ebp
xor ebp, ebp
nop dword [eax]
cmp edi, ebp
mov ebx, eax
cmova ebx, edx
add eax, 0xc
add edx, 0xc
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp + ebp*8 + 0x28], ebx
mov dword [esp + ebp*8 + 0x2c], ecx
inc ebp
cmp esi, ebp
jne 0x450c00
mov eax, dword [esp + 4]
mov edx, 0x40
lea esi, [esp + 0x28]
lea edi, [esp + 0x1c]
cmp eax, 0x40
cmovb edx, eax
push edx
push esi
push dword [esp + 0x244]
push edi
mov eax, dword [esp + 0x250]
call dword [eax + 0x30]
add esp, 0x10
movzx eax, byte [esp + 0x1c]
cmp al, 4
jne 0x450cf8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 4]
mov edx, dword [eax + 0x10]
mov eax, dword [esp]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ecx
jmp 0x450c95
mov eax, dword [esp]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edi
test ebx, ebx
mov edi, ebx
je 0x450d5a
mov esi, dword [esp + 0x10]
lea ecx, [edx + 1]
lea ebx, [edi - 1]
cmp ecx, esi
mov ecx, 0
cmovb esi, ecx
lea ecx, [edx + edx*2]
neg esi
lea esi, [edx + esi + 1]
mov edx, dword [esp + 8]
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], ebx
mov ebp, dword [eax + ecx*4]
mov edx, ebp
neg edx
jo 0x450d5a
mov dword [esp + 0x14], esi
mov edx, dword [eax + ecx*4 + 4]
mov esi, dword [eax + ecx*4 + 8]
mov eax, dword [esp + 0x18]
mov dword [esp + 4], edi
mov edi, eax
sub edi, esi
jb 0x450d18
test ebp, ebp
je 0x450c80
push edx
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x450c80
movzx ecx, byte [esp + 0x1f]
mov edx, dword [esp + 0xc]
movzx edi, word [esp + 0x1d]
mov esi, dword [esp + 0x20]
mov byte [edx + 3], cl
mov word [edx + 1], di
mov byte [edx], al
mov dword [edx + 4], esi
jmp 0x450d68
sub esi, eax
test eax, eax
mov edi, edx
je 0x450d2d
add eax, edi
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 4]
dec eax
add edx, eax
cmovae edx, eax
mov eax, dword [esp + 8]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
lea eax, [edx + edx*2]
mov edx, dword [esp]
mov dword [edx + eax*4], ebp
mov dword [edx + eax*4 + 4], edi
mov dword [edx + eax*4 + 8], esi
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov byte [eax], 4
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret