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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
lea eax, [esp + 0x58]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.004425e0
add esp, 0xc
cmp dword [esp + 0x58], 0
je 0x4538b1
movzx ecx, word [esp + 0x65]
mov bh, byte [esp + 0x67]
mov eax, dword [esp + 0x60]
mov bl, byte [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], bl
mov word [esp + 0xc], cx
mov word [esp + 0x1d], cx
mov byte [esp + 0x1f], bh
mov byte [esp + 0xe], bh
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
test dl, dl
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebx
je 0x453992
mov dword [esp + 8], ecx
movzx ecx, byte [esp + 0x27]
movzx edx, word [esp + 0x25]
movzx eax, ax
mov dword [esp + 0x3c], eax
mov al, 1
mov dword [esp + 4], eax
mov byte [esp + 0x5a], cl
mov word [esp + 0x58], dx
jmp 0x453a03
movzx eax, word [esp + 0x65]
movzx ecx, byte [esp + 0x67]
mov edi, dword [esp + 0x5c]
cmp byte [esp + 0x64], 0
mov word [esp + 0xc], ax
mov byte [esp + 0xe], cl
jne 0x4538ed
cmp dword [esp + 0x68], 0
je 0x4538ed
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4538ed
push 1
push eax
push dword [esp + 0x78]
call fcn.0040dc90
add esp, 0xc
cmp byte [edi - 0x20], 2
je 0x4539e3
mov eax, dword [edi - 0x6c]
test eax, eax
je 0x45390c
push 1
push eax
push dword [edi - 0x68]
call fcn.0040dc90
add esp, 0xc
mov ecx, dword [edi - 0x58]
mov eax, dword [edi - 0x5c]
test ecx, ecx
je 0x453927
mov edx, eax
nop dword [eax + eax]
mov byte [edx], 0
inc edx
dec ecx
jne 0x453920
mov dword [edi - 0x58], 0
mov ecx, dword [edi - 0x60]
test ecx, ecx
js 0x453d7a
je 0x453947
nop dword [eax + eax]
mov byte [eax], 0
inc eax
dec ecx
jne 0x453940
mov eax, dword [edi - 0x60]
test eax, eax
je 0x45395c
push 1
push eax
push dword [edi - 0x5c]
call fcn.0040dc90
add esp, 0xc
mov esi, dword [edi - 0x4c]
test esi, esi
je 0x4539cb
mov ebx, dword [edi - 0x50]
add ebx, 8
jmp 0x453976
add ebx, 0x10
dec esi
je 0x4539cb
cmp dword [ebx - 8], 0
jne 0x453970
mov eax, dword [ebx - 4]
test eax, eax
je 0x453970
push 1
push eax
push dword [ebx]
call fcn.0040dc90
add esp, 0xc
jmp 0x453970
test edi, edi
je 0x4539f5
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004d1960
add esp, 8
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov edi, 1
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp + 0x3c], ecx
jmp 0x453a03
mov eax, dword [edi - 0x54]
test eax, eax
je 0x4539e3
shl eax, 4
push 4
push eax
push dword [edi - 0x50]
call fcn.0040dc90
add esp, 0xc
mov esi, dword [ebp + 0x10]
add edi, 0xffffff88
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
jmp 0x453d72
mov dword [esp + 8], ecx
xor edi, edi
mov dword [esp + 4], 0
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x2c]
cmp eax, ecx
jne 0x453a1e
lea ecx, [esi + 0x20]
call fcn.00447ac0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x2c]
add eax, dword [esi + 0x28]
xor edx, edx
cmp eax, ecx
cmovae edx, ecx
mov ecx, dword [esi + 0x24]
sub eax, edx
mov edx, dword [esp + 4]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4], dl
movzx edx, word [esp + 0x58]
mov word [ecx + eax*4 + 1], dx
movzx edx, byte [esp + 0x5a]
mov byte [ecx + eax*4 + 3], dl
mov dword [ecx + eax*4 + 4], edi
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x3c]
mov dword [ecx + eax*4 + 8], edx
mov dword [ecx + eax*4 + 0xc], ebx
mov dword [ecx + eax*4 + 0x10], edi
inc dword [esi + 0x2c]
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x10], 0
je 0x453ba9
lea eax, [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov dword [esp + 0x50], ecx
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm0
push 8
push 0x240
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x453d7e
mov ecx, dword [esp + 0x50]
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
mov dword [esp + 8], esi
mov dword [esp + 0x68], ecx
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0x58], xmm0
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
mov esi, ecx
and esi, ebx
movdqu xmm0, xmmword [edx + esi]
pmovmskb edi, xmm0
test edi, edi
jne 0x453b18
mov dword [esp + 4], ebx
mov ebx, 0x10
nop word cs:[eax + eax]
nop dword [eax]
add esi, ebx
add ebx, 0x10
and esi, ecx
movdqu xmm0, xmmword [edx + esi]
pmovmskb edi, xmm0
test edi, edi
je 0x453b00
mov ebx, dword [esp + 4]
tzcnt edi, edi
mov dword [esp + 4], eax
add edi, esi
and edi, ecx
movzx eax, byte [edx + edi]
test al, al
js 0x453b3c
movdqa xmm0, xmmword [edx]
pmovmskb eax, xmm0
tzcnt edi, eax
movzx eax, byte [edx + edi]
lea esi, [edi - 0x10]
shr ebx, 0x19
and al, 1
and esi, ecx
mov ecx, dword [esp + 8]
mov byte [edx + edi], bl
neg edi
movzx eax, al
mov byte [esi + edx + 0x10], bl
lea ebx, [edi + edi*8]
lea esi, [esp + 0x58]
shl ebx, 4
lea edi, [edx + ebx - 0x90]
sub dword [ecx + 4], eax
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
mov byte [edx + ebx - 0x20], 2
mov dword [edx + ebx - 0x18], 8
lea edi, [edx + ebx]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [edx + ebx - 0x14], eax
mov dword [edx + ebx - 0x10], 0
mov dword [edx + ebx - 0xc], 0
mov word [edx + ebx - 8], 0xb
inc dword [ecx + 8]
jmp 0x453bd0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
test al, 0xff
jne 0x453bd0
test esi, esi
je 0x453bd0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x453bd0
push 1
push eax
push dword [esp + 0x30]
call fcn.0040dc90
add esp, 0xc
cmp byte [edi - 0x20], 2
je 0x453c8a
mov eax, dword [edi - 0x6c]
test eax, eax
je 0x453bef
push 1
push eax
push dword [edi - 0x68]
call fcn.0040dc90
add esp, 0xc
mov ecx, dword [edi - 0x58]
mov eax, dword [edi - 0x5c]
test ecx, ecx
je 0x453c07
mov edx, eax
nop dword [eax + eax]
mov byte [edx], 0
inc edx
dec ecx
jne 0x453c00
mov dword [edi - 0x58], 0
mov ecx, dword [edi - 0x60]
test ecx, ecx
js 0x453d7a
je 0x453c27
nop dword [eax + eax]
mov byte [eax], 0
inc eax
dec ecx
jne 0x453c20
mov eax, dword [edi - 0x60]
test eax, eax
je 0x453c3c
push 1
push eax
push dword [edi - 0x5c]
call fcn.0040dc90
add esp, 0xc
mov esi, dword [edi - 0x4c]
test esi, esi
je 0x453c72
mov ebx, dword [edi - 0x50]
add ebx, 8
jmp 0x453c56
add ebx, 0x10
dec esi
je 0x453c72
cmp dword [ebx - 8], 0
jne 0x453c50
mov eax, dword [ebx - 4]
test eax, eax
je 0x453c50
push 1
push eax
push dword [ebx]
call fcn.0040dc90
add esp, 0xc
jmp 0x453c50
mov eax, dword [edi - 0x54]
test eax, eax
je 0x453c8a
shl eax, 4
push 4
push eax
push dword [edi - 0x50]
call fcn.0040dc90
add esp, 0xc
mov esi, dword [ebp + 0x10]
add edi, 0xffffff88
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
cmp eax, dword [ecx + 0x2c]
jne 0x453d72
test eax, eax
je 0x453d72
mov edx, dword [ecx + 0x28]
xor esi, esi
mov edi, dword [ebp + 8]
lea ecx, [edx + 1]
cmp ecx, eax
mov ecx, dword [ebp + 8]
cmovae esi, eax
dec eax
neg esi
lea esi, [edx + esi + 1]
lea edx, [edx + edx*4]
mov ecx, dword [ecx + 0x24]
mov dword [edi + 0x28], esi
mov esi, dword [ebp + 8]
mov dword [esi + 0x2c], eax
mov esi, dword [ecx + edx*4 + 0x10]
movzx eax, byte [ecx + edx*4]
mov dword [esp + 0x4f], esi
mov esi, dword [ebp + 8]
cmp al, 2
movsd xmm0, qword [ecx + edx*4 + 9]
movsd qword [esp + 0x48], xmm0
movq xmm0, qword [ecx + edx*4 + 1]
movq qword [esp + 0x40], xmm0
je 0x453d72
mov byte [esp + 0x10], al
movsd xmm1, qword [esp + 0x48]
mov eax, dword [esp + 0x4f]
movq xmm0, qword [esp + 0x40]
movsd qword [esp + 0x19], xmm1
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
movq qword [esp + 0x11], xmm0
push eax
push esi
lea eax, [esp + 0x60]
push eax
call fcn.004428d0
add esp, 0xc
cmp word [esp + 0xc8], 0xc
je 0x453d4d
lea ecx, [esp + 0x58]
call fcn.00452480
cmp byte [esp + 0x10], 0
jne 0x453d72
cmp dword [esp + 0x14], 0
je 0x453d72
mov eax, dword [esp + 0x18]
test eax, eax
je 0x453d72
push 1
push eax
push dword [esp + 0x24]
call fcn.0040dc90
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
push 8
push 0x240
call fcn.005062c0
add esp, 8
ud2