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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x570400]
xor eax, esp
mov dword [esp + 0xb4], eax
cmp dword [ecx + 0x30], 0
mov eax, dword [ecx + 0xc]
push esi
lea esi, [ecx + 0x30]
mov dword [esp + 0x54], edx
push edi
mov edi, dword [eax + 0x18]
mov dword [esp + 0x5c], ecx
jne 0x454970
mov eax, dword [0x570670]
test eax, eax
je 0x454907
push 0xca
call eax
add esp, 4
test eax, eax
je 0x454907
mov eax, 0xd0a
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
lea eax, [esp + 0x9c]
push eax
push 0x101e
push esi
xor edx, edx
call fcn.00417f00
add esp, 0xc
mov dword [esp + 0x9c], eax
test eax, eax
jne 0x454ed8
mov ecx, dword [esi]
mov dword [esp + 0xa0], 0x7fff0000
mov dword [esp + 0xa4], eax
mov edx, dword [ecx]
test edx, edx
je 0x454964
lea eax, [esp + 0xa0]
push eax
mov eax, dword [edx + 0x28]
push 0x12
push ecx
call eax
mov eax, dword [esp + 0xa8]
add esp, 0xc
test eax, eax
jne 0x454ed8
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
mov edx, dword [ecx + 0x38]
mov eax, dword [ecx + 0x3c]
add edx, dword [esi + 8]
adc eax, dword [esi + 0xc]
add edx, 9
adc eax, 0
push eax
push edx
mov edx, dword [ecx + 0x30]
mov ecx, edi
call fcn.00454500
mov ecx, dword [esp + 0x64]
add esp, 8
mov edx, esi
call fcn.00454710
test eax, eax
jne 0x454ed8
mov ecx, dword [esp + 0x5c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x70], xmm0
movq qword [esp + 0x80], xmm0
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 0x38]
mov esi, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
cdq
mov dword [esp + 0x30], ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x10], edi
push eax
push ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x5c], eax
call fcn.00418960
add esp, 8
mov dword [esp + 0x50], eax
test eax, eax
jne 0x454a33
mov edi, dword [esp + 0x70]
lea esi, [eax + 7]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
jmp 0x454a5a
push dword [esp + 0x54]
push dword [esp + 0xa0]
push esi
push edi
call fcn.00545ca0
mov edi, eax
cdq
sub dword [esp + 0x10], eax
mov dword [esp + 0x1c], edi
sbb esi, edx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], esi
inc dword [eax + 8]
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
test edx, edx
ja 0x454ad3
jb 0x454a7a
cmp ecx, 0x7f
ja 0x454a98
and cl, 0x7f
mov edx, 1
mov byte [esp + 0xa0], cl
mov ecx, edx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x4c], ecx
jmp 0x454b00
test edx, edx
ja 0x454ad3
jb 0x454aa6
cmp ecx, 0x3fff
ja 0x454ad3
mov eax, ecx
shrd eax, edx, 7
mov edx, 2
or al, 0x80
mov dword [esp + 0x9c], edx
and cl, 0x7f
mov byte [esp + 0xa0], al
mov byte [esp + 0xa1], cl
mov ecx, edx
mov dword [esp + 0x4c], ecx
jmp 0x454b00
push edx
push ecx
lea ecx, [esp + 0xa8]
call fcn.0041eaf0
mov edx, eax
add esp, 8
mov dword [esp + 0x9c], edx
mov ecx, edx
mov dword [esp + 0x4c], ecx
test edx, edx
jle 0x454ba2
nop dword [eax + eax]
test esi, esi
jne 0x454b9e
mov eax, dword [esp + 0x20]
sub eax, edi
cmp ecx, eax
cmovle eax, ecx
sub edx, ecx
push eax
mov dword [esp + 0x30], eax
lea ecx, [esp + 0xa4]
mov eax, dword [esp + 0x54]
add edx, ecx
push edx
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x38]
add esp, 0xc
add edi, eax
cmp edi, dword [esp + 0x20]
jne 0x454b85
mov esi, dword [esp + 0x30]
mov ecx, dword [esi]
mov esi, dword [esp + 0x1c]
mov eax, esi
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x18]
sub edi, esi
push edx
push eax
mov eax, dword [esp + 0x58]
add eax, esi
push edi
push eax
push dword [esp + 0x40]
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
xor edi, edi
mov eax, dword [esp + 0x34]
add esp, 0x14
cdq
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
adc dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x9c]
sub ecx, eax
mov dword [esp + 0x4c], ecx
test ecx, ecx
jg 0x454b00
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x58]
mov esi, dword [eax]
mov dword [esp + 0x4c], esi
test esi, esi
je 0x454e1c
mov eax, dword [esi + 4]
mov dword [esp + 0xa0], eax
mov eax, dword [esi]
cdq
mov ecx, eax
test edx, edx
ja 0x454c1f
jb 0x454bce
cmp ecx, 0x7f
ja 0x454be8
and cl, 0x7f
mov byte [esp + 0xb0], cl
mov ecx, 1
mov dword [esp + 0x9c], ecx
mov esi, ecx
jmp 0x454c43
test edx, edx
ja 0x454c1f
jb 0x454bf6
cmp ecx, 0x3fff
ja 0x454c1f
mov eax, ecx
shrd eax, edx, 7
or al, 0x80
and cl, 0x7f
mov byte [esp + 0xb1], cl
mov ecx, 2
mov byte [esp + 0xb0], al
mov esi, ecx
mov dword [esp + 0x9c], ecx
jmp 0x454c43
push edx
push ecx
lea ecx, [esp + 0xb8]
call fcn.0041eaf0
mov ecx, eax
add esp, 8
mov dword [esp + 0x9c], ecx
mov esi, ecx
test ecx, ecx
jle 0x454ce2
cmp dword [esp + 0x2c], 0
jne 0x454ce2
mov eax, dword [esp + 0x20]
sub eax, edi
cmp esi, eax
cmovle eax, esi
push eax
mov dword [esp + 0x58], eax
mov eax, ecx
sub eax, esi
lea ecx, [esp + 0xb4]
add eax, ecx
push eax
mov eax, dword [esp + 0x58]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x60]
add esp, 0xc
add edi, eax
cmp edi, dword [esp + 0x20]
jne 0x454cd1
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x18]
sub edi, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x24]
push edi
push eax
push dword [esp + 0x40]
mov eax, dword [ecx + 0xc]
call eax
mov dword [esp + 0x40], eax
xor edi, edi
mov eax, dword [esp + 0x34]
add esp, 0x14
cdq
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
adc dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x9c]
sub esi, eax
test esi, esi
jg 0x454c43
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov esi, edx
mov dword [esp + 0x9c], edx
test edx, edx
jle 0x454d9d
nop dword [eax]
cmp dword [esp + 0x2c], 0
jne 0x454d9d
mov eax, dword [esp + 0x20]
sub eax, edi
cmp esi, eax
cmovle eax, esi
sub edx, esi
push eax
mov dword [esp + 0x58], eax
add ecx, 8
mov eax, dword [esp + 0x54]
add edx, ecx
push edx
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x60]
add esp, 0xc
add edi, eax
cmp edi, dword [esp + 0x20]
jne 0x454d88
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x18]
sub edi, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x24]
push edi
push eax
push dword [esp + 0x40]
mov eax, dword [ecx + 0xc]
call eax
mov dword [esp + 0x40], eax
xor edi, edi
mov eax, dword [esp + 0x34]
add esp, 0x14
cdq
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
adc dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x4c]
sub esi, eax
mov edx, dword [esp + 0x9c]
test esi, esi
jg 0x454d00
mov eax, dword [esp + 0x58]
cmp dword [eax + 4], 0
jne 0x454e03
cmp dword [0x570570], 0
je 0x454df9
mov eax, dword [0x5733e8]
test eax, eax
je 0x454dc3
push eax
call dword [0x5705c0]
add esp, 4
mov esi, dword [esp + 0x4c]
push esi
call dword [0x57059c]
sub dword [0x573270], eax
add esp, 4
dec dword [0x573294]
push esi
call dword [0x570594]
mov eax, dword [0x5733e8]
add esp, 4
test eax, eax
je 0x454e03
push eax
call dword [0x5705c8]
jmp 0x454e00
push ecx
call dword [0x570594]
add esp, 4
mov eax, dword [esp + 0xa0]
mov esi, eax
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x454bb4
mov eax, dword [esp + 0x58]
mov dword [eax], esi
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x454e61
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x454e61
mov eax, dword [esp + 0x1c]
cmp edi, eax
jle 0x454e61
mov esi, dword [esp + 0x30]
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x18]
add ecx, dword [esp + 0x1c]
mov esi, dword [esi]
push edx
push eax
mov eax, edi
sub eax, dword [esp + 0x24]
push eax
push ecx
push dword [esp + 0x40]
mov ecx, dword [esi + 0xc]
call ecx
add esp, 0x14
mov esi, eax
mov ecx, dword [esp + 0x5c]
mov eax, edi
mov edi, dword [esp + 0x50]
cdq
add eax, dword [esp + 0x10]
mov dword [ecx + 0x38], eax
adc edx, dword [esp + 0x18]
mov dword [ecx + 0x3c], edx
test edi, edi
je 0x454ed6
cmp dword [0x570570], 0
je 0x454ecc
mov eax, dword [0x5733e8]
test eax, eax
je 0x454e9a
push eax
call dword [0x5705c0]
add esp, 4
push edi
call dword [0x57059c]
sub dword [0x573270], eax
add esp, 4
dec dword [0x573294]
push edi
call dword [0x570594]
mov eax, dword [0x5733e8]
add esp, 4
test eax, eax
je 0x454ed6
push eax
call dword [0x5705c8]
jmp 0x454ed3
push edi
call dword [0x570594]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret