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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], edx
push edi
mov dword [ebp - 0x14], 0
test dword [esi + 8], 0x80000
je 0x45a150
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
mov dword [ebp - 0x10], 1
cmp eax, dword [esi + 0x24]
jbe 0x45a157
mov dword [ebp - 0x10], 0
cmp dword [esi], 0
jne 0x45a177
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x45a177
mov eax, dword [esi + 0x74]
add eax, ecx
jmp 0x45a17d
lea eax, [esi + 0x39272]
mov cl, byte [esi + 0x38]
lea edx, [esi + 0x34]
mov dword [esi + 0x30], eax
lea edi, [esi + 0x30]
mov dword [ebp - 0x1c], eax
add eax, 0x14cbc
mov dword [edx], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [ebp - 4], edx
shr byte [eax], cl
xor eax, eax
cmp dword [esi + 0x38], 8
sete al
sub dword [esi + 0x28], eax
test dword [esi + 8], 0x1000
je 0x45a24a
cmp dword [esi + 0x64], 0
lea edx, [esi + 0x34]
mov dword [ebp - 4], edx
lea edi, [esi + 0x30]
jne 0x45a24a
mov ecx, dword [esi + 0x44]
mov edx, 0x78
shl edx, cl
or edx, dword [esi + 0x48]
mov dword [esi + 0x48], edx
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
lea ecx, [esi + 0x34]
cmp eax, 8
jb 0x45a213
nop
mov eax, dword [esi + 0x30]
cmp eax, dword [ecx]
jae 0x45a1fc
mov byte [eax], dl
inc dword [esi + 0x30]
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add eax, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x45a1f0
bts edx, eax
add eax, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x45a241
mov eax, dword [esi + 0x30]
cmp eax, dword [ecx]
jae 0x45a230
mov byte [eax], dl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov dl, byte [esi + 0x48]
jae 0x45a224
lea edx, [esi + 0x34]
mov dword [ebp - 4], edx
lea edi, [esi + 0x30]
mov ecx, dword [esi + 0x44]
xor ebx, ebx
cmp dword [ebp - 0x18], 4
sete bl
shl ebx, cl
lea eax, [ecx + 1]
or ebx, dword [esi + 0x48]
mov dword [esi + 0x48], ebx
mov dword [ebp - 0xc], eax
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x45a2a3
jmp 0x45a273
mov ebx, dword [ebp - 8]
mov eax, dword [edi]
cmp eax, dword [edx]
jae 0x45a27d
mov byte [eax], bl
inc dword [edi]
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add eax, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [ebp - 0xc], eax
mov dword [esi + 0x44], eax
mov byte [ebp - 8], bl
cmp eax, 8
jae 0x45a270
lea ecx, [esi + 0x34]
lea edi, [esi + 0x30]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x10], 0
mov eax, dword [edi]
mov dword [ebp - 8], eax
jne 0x45a2fe
test dword [esi + 8], 0x40000
lea eax, [esi + 0x3c]
jne 0x45a2c6
cmp dword [eax], 0x30
mov dword [ebp - 0x10], eax
jb 0x45a2c6
xor edx, edx
jmp 0x45a2ce
mov edx, 1
mov dword [ebp - 0x10], eax
mov ecx, esi
call fcn.0045a030
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov edx, dword [edx]
test edx, edx
je 0x45a452
sub ecx, eax
inc ecx
cmp ecx, edx
jb 0x45a452
lea eax, [esi + 0x34]
lea edi, [esi + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
mov eax, dword [ebp - 8]
ja 0x45a452
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [edi], eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x45a35c
mov ecx, dword [ebp - 8]
mov edx, eax
mov eax, dword [ebp - 4]
cmp ecx, dword [eax]
jae 0x45a335
mov byte [ecx], bl
inc dword [edi]
mov edx, dword [edi]
mov ecx, dword [esi + 0x44]
mov eax, edx
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
mov dword [ebp - 8], edx
cmp ecx, 8
jae 0x45a323
lea eax, [esi + 0x34]
mov dword [ebp - 4], eax
lea edi, [esi + 0x30]
jmp 0x45a361
mov edx, eax
mov eax, dword [ebp - 4]
test ecx, ecx
je 0x45a39c
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], 8
nop
cmp edx, dword [eax]
jae 0x45a37a
mov byte [edx], bl
inc dword [edi]
mov edx, dword [edi]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
mov eax, dword [ebp - 4]
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x45a370
lea edx, [esi + 0x34]
lea edi, [esi + 0x30]
jmp 0x45a39f
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], 2
movzx eax, word [esi + 0x3c]
shl eax, cl
add ecx, 0x10
or eax, ebx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], eax
mov ebx, eax
cmp ecx, 8
jb 0x45a3e1
nop
mov eax, dword [edi]
cmp eax, dword [edx]
jae 0x45a3ca
mov byte [eax], bl
inc dword [edi]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x45a3c0
mov eax, dword [ebp - 0x10]
xor dword [esi + 0x3c], 0xffff
dec eax
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x45a3a6
xor edx, edx
cmp dword [esi + 0x3c], edx
jbe 0x45a470
nop word [eax + eax]
mov eax, dword [esi + 0x40]
add eax, edx
and eax, 0x7fff
movzx eax, byte [eax + esi + 0x90]
shl eax, cl
add ecx, 8
or eax, ebx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], eax
mov ebx, eax
cmp ecx, 8
jb 0x45a44a
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x45a433
mov byte [eax], bl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x45a426
inc edx
cmp edx, dword [esi + 0x3c]
jb 0x45a400
jmp 0x45a470
cmp dword [ebp - 0x14], 0
jne 0x45a470
mov ecx, dword [ebp - 0xc]
mov edx, 1
mov dword [esi + 0x44], ecx
mov ecx, esi
mov dword [esi + 0x30], eax
mov dword [esi + 0x48], ebx
call fcn.0045a030
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x45a5d6
mov ecx, dword [esi + 0x44]
cmp eax, 4
jne 0x45a517
test ecx, ecx
je 0x45a4ba
mov edx, dword [esi + 0x48]
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x45a4a5
mov byte [eax], dl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
shr dword [esi + 0x48], 8
add ecx, 0xfffffff8
mov dl, byte [esi + 0x48]
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x45a498
test dword [esi + 8], 0x1000
je 0x45a5d6
mov edx, dword [esi + 0x18]
mov edi, 4
nop
mov eax, edx
shr eax, 0x18
shl eax, cl
add ecx, 8
or eax, dword [esi + 0x48]
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x45a50a
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x45a4f5
mov byte [ecx], al
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
shr dword [esi + 0x48], 8
add ecx, 0xfffffff8
mov al, byte [esi + 0x48]
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x45a4e8
shl edx, 8
sub edi, 1
jne 0x45a4d0
jmp 0x45a5d6
mov edx, dword [esi + 0x48]
add ecx, 3
xor ebx, ebx
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x45a554
nop word [eax + eax]
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x45a53d
mov byte [eax], dl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x45a530
test ecx, ecx
je 0x45a586
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x45a56f
mov byte [eax], dl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x45a562
mov edi, 2
nop dword [eax + eax]
movzx eax, bx
shl eax, cl
add ecx, 0x10
or eax, edx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], eax
mov edx, eax
cmp ecx, 8
jb 0x45a5cb
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x45a5b4
mov byte [eax], dl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x45a5a7
xor ebx, 0xffff
sub edi, 1
jne 0x45a590
push 0x240
lea eax, [esi + 0x8192]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x40
lea eax, [esi + 0x83d2]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [esi + 0x30]
lea eax, [esi + 0x9273]
inc dword [esi + 0x64]
add esp, 0x18
mov dword [esi + 0x28], eax
lea eax, [esi + 0x9272]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x3c]
add dword [esi + 0x40], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x38], 8
mov dword [esi + 0x3c], 0
sub edi, eax
je 0x45a6b8
cmp dword [esi], 0
je 0x45a66d
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x70]
mov dword [eax], ecx
lea eax, [esi + 0x39272]
push dword [esi + 4]
mov ecx, dword [esi]
push edi
push eax
call ecx
add esp, 0xc
test eax, eax
jne 0x45a6b8
pop edi
mov dword [esi + 0x6c], 0xffffffff
or eax, 0xffffffff
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esi + 0x39272]
cmp eax, edx
jne 0x45a6b2
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov ebx, dword [eax]
mov eax, dword [esi + 0x74]
sub ebx, ecx
cmp edi, ebx
cmovb ebx, edi
add eax, ecx
push ebx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
add dword [esi + 0x8c], ebx
add esp, 0xc
sub edi, ebx
je 0x45a6b8
mov dword [esi + 0x5c], edi
mov eax, edi
pop edi
mov dword [esi + 0x58], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add dword [esi + 0x8c], edi
mov eax, dword [esi + 0x5c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret