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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov esi, esp
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xb4], esp
mov dword [esi + 0xc0], 0xffffffff
mov dword [esi + 0xbc], 0x578a00
mov dword [esi + 0x50], ecx
lea ecx, [esi + 0xb8]
mov dword [esi + 0x44], edx
mov eax, dword fs:[0]
mov dword [esi + 0xb8], eax
mov dword fs:[0], ecx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0xc0], 0
lea ecx, [esi + 0x70]
push 3
push 0x58f248
push dword [ebp + 8]
call fcn.004b46e0
add esp, 0xc
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0x88]
mov ebx, dword [esi + 0xa0]
xor edi, edi
mov dword [esi + 0x30], 0
mov edx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 0x58], eax
mov dword [esi + 0x38], ebx
shr edx, 0x10
mov dword [esi + 0x28], edx
mov edx, ecx
and ecx, 0xff00ff00
mov dword [esi + 0x5c], ecx
mov ecx, dword [esi + 0xac]
mov edx, ecx
mov dword [esi + 0x34], ecx
sub edx, eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x54], edx
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x74]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x78]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x80]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x8c]
mov dword [esi], eax
mov eax, dword [esi + 0x94]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0xa4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0xa8]
mov dword [esi + 0x4c], eax
mov eax, ecx
lea eax, [ecx - 1]
mov dword [esi + 0x48], eax
mov eax, 1
jmp 0x4a3867
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x24]
mov ecx, dword [esi + 0x3c]
mov ebx, dword [esi + 0x38]
mov byte [eax + edi], 0xa
inc edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], ecx
cmp dword [esi + 0x60], 0
mov dword [esi + 0x64], eax
mov dword [esi + 0x14], edi
je 0x4a3a10
mov eax, dword [esi]
mov ecx, dword [esi + 0x48]
add eax, ecx
cmp eax, dword [esi + 4]
jae 0x4a3c2d
movzx edx, byte [esi + 8]
movzx ecx, byte [esi + 0x28]
or edx, dword [esi + 0x5c]
shl ecx, 0x10
or edx, ecx
mov dword [esi + 0x3c], edx
mov edx, dword [esi + 0x18]
mov dword [esi + 0x2c], edx
mov dword [esi + 0xc], edx
jmp 0x4a38d5
mov eax, dword [esi]
add eax, dword [esi + 0x34]
mov dword [esi], eax
xor eax, eax
cmp dword [esi + 0x18], 0xffffffff
je 0x4a38c5
mov dword [esi + 0x2c], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi]
mov ecx, dword [esi + 0x48]
add eax, ecx
cmp eax, dword [esi + 4]
jae 0x4a3c2d
movzx ecx, byte [ebx + eax]
mov edi, 1
xor eax, eax
mov edx, 1
shld eax, edx, cl
shl edi, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edi
cmovne edi, ecx
and eax, dword [esi + 0x3c]
and edi, dword [esi + 0x6c]
or edi, eax
je 0x4a38b0
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x40]
cmp eax, ecx
mov edx, ecx
mov ecx, dword [esi]
cmova edx, eax
cmp dword [esi + 0x18], 0xffffffff
lea ebx, [ebx + ecx]
cmove edx, eax
mov eax, dword [esi + 0x34]
mov ecx, edx
mov dword [esi + 0x68], edx
cmp edx, eax
cmova eax, edx
nop dword [eax + eax]
cmp eax, ecx
je 0x4a3980
mov edi, ecx
mov ecx, dword [esi]
add ecx, edi
cmp ecx, dword [esi + 4]
jae 0x4a3c9f
mov edx, dword [esi + 0x4c]
lea ecx, [edi + 1]
movzx edx, byte [edx + edi]
cmp dl, byte [ebx + edi]
je 0x4a3930
mov ecx, dword [esi]
xor eax, eax
mov ebx, dword [esi + 0x38]
sub ecx, dword [esi + 0x40]
cmp dword [esi + 0x18], 0xffffffff
lea ecx, [ecx + edi + 1]
mov dword [esi], ecx
jne 0x4a38bf
jmp 0x4a38c5
cmp dword [esi + 0x18], 0xffffffff
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x40]
mov ebx, dword [esi + 0x38]
mov eax, 0
cmove edi, eax
nop word cs:[eax + eax]
nop
cmp edi, ecx
jae 0x4a39e0
dec ecx
cmp ecx, dword [esi + 0x34]
jae 0x4a3cc5
mov eax, dword [esi]
add eax, ecx
cmp eax, dword [esi + 4]
jae 0x4a3ce1
mov edx, dword [esi + 0x4c]
movzx edx, byte [edx + ecx]
cmp dl, byte [ebx + eax]
je 0x4a39a0
mov eax, dword [esi]
add eax, dword [esi + 0x58]
cmp dword [esi + 0x18], 0xffffffff
mov dword [esi], eax
mov eax, dword [esi + 0x54]
jne 0x4a38bf
jmp 0x4a38c5
mov eax, dword [esi + 0x34]
mov ecx, dword [esi]
cmp dword [esi + 0x18], 0xffffffff
mov edi, dword [esi + 0x2c]
mov ebx, 0
lea edx, [ecx + eax]
cmovne edi, ebx
mov ebx, ecx
mov ecx, edx
mov dword [esi], edx
mov dword [esi + 0x18], edi
jmp 0x4a3ac8
cmp byte [esi + 0x28], 0
jne 0x4a3c2d
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x14]
test ecx, ecx
je 0x4a3a3f
mov eax, dword [esi + 4]
sub eax, ecx
jbe 0x4a3a39
cmp byte [ebx + ecx], 0xc0
jge 0x4a3a3f
jmp 0x4a3d02
jne 0x4a3d02
test eax, eax
je 0x4a3aa8
movzx eax, byte [ebx + ecx]
movzx edi, al
test al, al
jns 0x4a3ae0
and edi, 0x1f
mov edx, edi
movzx edi, byte [ebx + ecx + 1]
and edi, 0x3f
cmp al, 0xe0
jb 0x4a3ad0
mov dword [esi + 0xc], edx
mov edx, ecx
movzx ecx, byte [ebx + ecx + 2]
shl edi, 6
and ecx, 0x3f
or ecx, edi
cmp al, 0xf0
jb 0x4a3b6f
mov edi, dword [esi + 0xc]
mov eax, edx
movzx edx, byte [ebx + edx + 3]
shl ecx, 6
and edx, 0x3f
and edi, 7
or edx, ecx
shl edi, 0x12
mov ecx, eax
or edi, edx
mov edx, dword [esi + 0x14]
cmp byte [esi + 8], 0
jne 0x4a3b86
jmp 0x4a3aea
cmp byte [esi + 8], 0
je 0x4a3c2d
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov dword [esi + 0x28], 0
xor al, 1
mov ecx, edx
mov ebx, edx
mov dword [esi + 8], eax
mov edx, dword [esi + 0x14]
jmp 0x4a3b9a
shl edx, 6
or edx, edi
mov edi, edx
mov edx, dword [esi + 0x14]
nop word [eax + eax]
cmp byte [esi + 8], 0
jne 0x4a3b86
cmp edi, 0x110000
je 0x4a3c2d
mov ecx, 1
cmp edi, 0x80
jb 0x4a3b1e
mov ecx, 2
cmp edi, 0x800
jb 0x4a3b1e
cmp edi, 0x10000
mov ecx, 4
sbb ecx, 0
add ecx, dword [esi + 0x10]
mov eax, dword [esi + 4]
je 0x4a3b3e
mov eax, dword [esi + 4]
sub eax, ecx
jbe 0x4a3b38
cmp byte [ebx + ecx], 0xbf
jg 0x4a3b3e
jmp 0x4a3cff
jne 0x4a3cff
mov edx, dword [esi + 0x14]
test eax, eax
je 0x4a3b5a
movzx eax, byte [ebx + ecx]
mov edi, ecx
mov cl, 1
mov dword [esi + 8], ecx
test al, al
jns 0x4a3b56
cmp al, 0xe0
mov ecx, edi
jmp 0x4a3b86
mov dword [esi + 0x28], 0
mov dword [esi + 0x10], ecx
mov ebx, ecx
mov dword [esi + 8], 0
jmp 0x4a3b9a
mov edi, dword [esi + 0xc]
shl edi, 0xc
or edi, ecx
mov ecx, edx
mov edx, dword [esi + 0x14]
cmp byte [esi + 8], 0
je 0x4a3aea
mov eax, dword [esi + 8]
mov dword [esi + 0x28], 0
mov dword [esi + 0x10], ecx
mov ebx, ecx
xor al, 1
mov dword [esi + 8], eax
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 0x1c]
sub ebx, dword [esi + 0x30]
mov eax, ecx
mov dword [esi + 0xc], ebx
sub eax, edx
cmp eax, ebx
jae 0x4a3be0
mov dword [esi + 0xc0], 0
lea ecx, [esi + 0x1c]
push ebx
call fcn.0057bdc0
add esp, 4
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x24]
mov ebx, dword [esi + 0x20]
mov dword [esi + 0x2c], eax
jmp 0x4a3be6
mov ebx, dword [esi + 0x64]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x30]
lea eax, [ebx + edx]
mov edi, edx
add ecx, dword [esi + 0x44]
push dword [esi + 0xc]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, ebx
add esp, 0xc
add edi, dword [esi + 0xc]
mov edx, dword [esi + 0x2c]
cmp edx, edi
mov dword [esi + 0x24], edi
jne 0x4a3856
mov dword [esi + 0xc0], 0
lea ecx, [esi + 0x1c]
push 1
call fcn.0057bdc0
add esp, 4
jmp 0x4a3850
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
sub ecx, dword [esi + 0x30]
sub eax, edx
cmp eax, ecx
mov dword [esi], ecx
jae 0x4a3c5c
mov eax, ecx
mov dword [esi + 0xc0], 0
lea ecx, [esi + 0x1c]
push eax
call fcn.0057bdc0
add esp, 4
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x20]
mov edi, dword [esi]
mov ebx, edx
add ecx, dword [esi + 0x30]
add eax, edx
push edi
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add ebx, edi
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0xb8]
mov dword [esi + 0x24], ebx
movsd xmm0, qword [esi + 0x1c]
mov dword [eax + 8], ebx
movsd qword [eax], xmm0
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 4]
mov dword [esi + 0xc0], 0
add ecx, dword [esi]
cmp edx, ecx
cmova ecx, edx
push 0x5ec3dc
call fcn.0057f710
add esp, 4
jmp 0x4a3d23
mov edx, dword [esi + 0x34]
mov dword [esi + 0xc0], 0
push 0x5ec3bc
call fcn.0057f710
add esp, 4
jmp 0x4a3d23
mov edx, dword [esi + 4]
mov dword [esi + 0xc0], 0
mov ecx, eax
push 0x5ec3cc
call fcn.0057f710
add esp, 4
jmp 0x4a3d23
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 4]
mov dword [esi + 0xc0], 0
push 0x5ec484
push edx
push dword [esi + 0x10]
call fcn.0057fc70
add esp, 0xc
ud2