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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc28
mov dword [esp + 0x2c], ecx
mov ecx, 0x165
lea eax, [esp + 0x88]
mov ebx, edx
mov dword [esp + 0x20], edx
add eax, ecx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x310]
add ecx, eax
lea eax, [edx + 0x10]
mov dword [esp + 0x3c], eax
lea eax, [edx + 0x18]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], eax
cmp dword [ebx], 0
je 0x48fea7
mov esi, dword [ebx + 8]
add esi, 0x18
jmp 0x48feaa
mov esi, dword [ebx + 4]
mov eax, dword [ebx + 0x34]
mov edi, dword [esp + 0x30]
mov ebx, dword [eax]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x10]
mov edx, edi
call fcn.00437601
test al, al
jne 0x4907b2
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
call fcn.00433561
push edi
push esi
push eax
lea eax, [esp + 0x94]
push eax
call dword [edx + 0x34]
add esp, 0x10
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4907b2
mov eax, dword [esp + 0x8c]
cmp ecx, 2
je 0x4908d8
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x20]
cmp esi, eax
ja 0x48ff22
cmp dword [ecx + 0x10], 0
je 0x48ff22
cmp esi, dword [ecx + 0x14]
je 0x4903c7
mov edx, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x6ac], esi
lea edi, [edx + 1]
mov dword [esp + 0x6b0], edx
cmp edi, esi
jb 0x49092d
cmp ecx, edx
jb 0x49092d
mov edi, dword [esp + 0x20]
mov dword [edi + 0x28], esi
mov dword [edi + 0x10], 1
mov dword [edi + 0x14], esi
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x54]
call fcn.00490a46
mov ecx, dword [edi + 0x40]
mov esi, edx
mov bl, byte [ecx]
lea edi, [esp + 0x7c8]
mov edx, eax
mov ecx, edi
push 0x3d
push esi
call fcn.00490a94
pop eax
pop ecx
mov ecx, edi
call fcn.00490ae3
test eax, eax
je 0x4907bf
mov esi, eax
mov byte [esp + 8], bl
mov ecx, edx
mov ebx, edx
call fcn.0044dd36
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], ebx
push ebx
push esi
mov dword [esp + 0x30], edx
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, edi
call fcn.00490ae3
mov esi, eax
test eax, eax
push 7
pop ecx
je 0x490375
mov edi, edx
mov ecx, esi
push 4
push str.truefalseSetLoggerError
call fcn.0048deef
pop ecx
pop edx
mov ecx, eax
mov al, 1
test cl, cl
jne 0x49000e
mov ecx, esi
mov edx, edi
push 5
push 0x5064ec
call fcn.0048deef
pop ecx
pop edx
xor al, 1
add al, al
cmp byte [esp + 8], 0
je 0x4902bf
xor ecx, ecx
cmp al, 2
jne 0x490375
lea ebx, [esp + 0x88]
mov edx, esi
mov ecx, ebx
push edi
call fcn.004152c0
pop eax
cmp byte [esp + 0x88], 0
je 0x490358
mov ecx, ebx
mov edx, esi
push edi
call fcn.00415040
pop eax
cmp byte [esp + 0x88], 0
je 0x490367
mov edx, esi
mov ecx, ebx
push edi
call fcn.00413d80
pop eax
cmp byte [esp + 0x88], 0
je 0x490412
lea eax, [esp + 0x71]
and dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0xfa
mov byte [esp + 0x70], 0
mov byte [eax + 4], 2
mov dword [eax], 0x2020202
mov dword [esp + 0x64], 0x1000000
mov dword [esp + 0x78], 0x1010000
and word [esp + 0x7c], 0
lea edx, [esp + 0x64]
lea ecx, [esp + 0x88]
push edi
push esi
call fcn.00421b46
pop eax
pop ecx
mov cl, byte [esp + 0x90]
mov ebx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
movzx edx, word [esp + 0x92]
mov dword [esp + 0x10], ecx
mov cl, byte [esp + 0x91]
cmp ebx, 0x80000000
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x98]
je 0x490843
push 0x100
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x498]
push eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x480], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x484], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x485], al
mov eax, dword [esp + 8]
mov word [esp + 0x486], ax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x488], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x48c], eax
mov dword [esp + 0x47c], ebx
lea ecx, [esp + 0x88]
lea edx, [esp + 0x47c]
call fcn.00424ab9
mov ebx, dword [esp + 0xa8]
lea eax, [ebx + 0x10]
push 0x100
push eax
lea eax, [esp + 0x914]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x6ac]
lea edx, [esp + 0x90c]
call fcn.00425878
mov al, byte [ebx + 0x110]
mov byte [esp + 0x7c5], al
mov eax, 0x11c
push eax
lea eax, [esp + 0x6b0]
push eax
lea ebx, [esp + 0x7f8]
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
call fcn.004269d8
mov eax, 0x11c
push eax
push ebx
lea eax, [esp + 0xb4]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 0x164
lea eax, [esp + 0x8c]
push eax
lea ebx, [esp + 0x318]
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
movzx eax, word [edx]
mov word [ecx], ax
mov ah, byte [edx + 2]
mov byte [ecx + 2], ah
mov byte [esp + 0x474], 0
lea ecx, [esp + 0x590]
mov edx, ebx
call fcn.00424ceb
mov eax, dword [esp + 0x590]
mov ebx, dword [esp + 0x594]
movzx edx, word [esp + 0x59a]
mov ecx, dword [esp + 0x5a0]
mov dword [esp + 0xc], eax
cmp eax, 0x80000000
mov al, byte [esp + 0x598]
mov dword [esp + 0x18], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x599]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x59c]
jne 0x49042f
mov dword [esp + 0xc], eax
push 5
pop ebx
jmp 0x4905e1
xor ecx, ecx
cmp al, 2
jne 0x490375
lea ebx, [esp + 0x88]
mov edx, esi
mov ecx, ebx
push edi
call fcn.004152c0
pop eax
cmp byte [esp + 0x88], 0
je 0x490358
mov ecx, ebx
mov edx, esi
push edi
call fcn.00415040
pop eax
cmp byte [esp + 0x88], 0
je 0x490367
mov edx, esi
mov ecx, ebx
push edi
call fcn.00413d80
pop eax
cmp byte [esp + 0x88], 0
je 0x490412
mov ecx, edi
call fcn.0044dd36
mov ebx, eax
push edi
push esi
push edx
mov esi, edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edi
lea ecx, [esp + 0x88]
call fcn.00490c04
mov dword [esp + 4], eax
movd xmm0, edx
mov al, 2
push 5
jmp 0x490374
movq xmm0, qword [esp + 0x90]
mov al, 2
push 2
jmp 0x490374
movq xmm0, qword [esp + 0x90]
mov al, 2
push 3
pop ecx
movzx edi, al
shl edi, 8
or edi, ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x80000000
je 0x4907e2
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x20]
cmp ecx, 0x80000001
movsd qword [esp + 0x80], xmm0
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edx
je 0x48fe9a
jmp 0x490818
mov edx, dword [esp + 0x3c]
mov ebx, ecx
lea ecx, [esp + 0x88]
push ebx
push dword [esp + 0x20]
push esi
push eax
call fcn.00437663
add esp, 0x10
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
cmp ecx, 2
je 0x4908d8
test ecx, ecx
je 0x4907b2
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x20]
jmp 0x48ff22
movsd xmm0, qword [esp + 0x90]
xor eax, eax
ucomisd xmm0, xmm0
setp al
lea ecx, [eax + eax*2 + 1]
mov al, 2
jmp 0x490375
push 0x108
mov dword [esp + 0x28], eax
lea eax, [esp + 0x5a8]
push eax
lea eax, [esp + 0x210]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1f8], ebx
mov byte [esp + 0x1fc], dl
mov edx, dword [esp + 0x14]
mov byte [esp + 0x1fd], dl
mov edx, dword [esp + 8]
mov word [esp + 0x1fe], dx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x200], eax
mov dword [esp + 0x204], ecx
mov dword [esp + 0x1f4], edx
mov dl, byte [esp + 0x30c]
test dl, dl
jne 0x490560
cmp ecx, 2
jb 0x490560
movzx ebx, byte [esp + 0x30b]
lea eax, [ecx - 1]
inc ebx
mul ebx
jno 0x4904f5
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
call fcn.004269d8
mov dword [esp + 8], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
push 4
pop eax
mov dword [esp + 0x18], eax
xor eax, eax
jmp 0x4902b3
and dword [esp + 0x88], 0
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x88]
call fcn.00425760
test eax, eax
je 0x490536
lea ecx, [esp + 0x1f4]
call fcn.00425776
shl edx, 2
test edx, edx
je 0x490504
mov ecx, dword [eax]
add edx, 0xfffffffc
imul ecx, ebx
mov dword [eax], ecx
add eax, 4
jmp 0x490523
mov byte [esp + 0x30c], 1
mov dl, 1
mov eax, dword [esp + 0x200]
imul eax, ebx
mov dword [esp + 0x200], eax
imul ebx, dword [esp + 0x208]
mov dword [esp + 0x208], ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1f4]
xor ecx, ecx
cmp byte [esp + 0x30b], 0xff
mov byte [esp + 4], dl
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x1f8]
setne cl
mov ebx, ecx
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x1f9]
mov dword [esp + 0x14], eax
movzx eax, word [esp + 0x1fa]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1fc]
mov dword [esp + 0xc], eax
push 0x10c
lea eax, [esp + 0x208]
push eax
lea eax, [esp + 0xb20]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 4], 0
mov ecx, dword [esp + 0x24]
mov eax, ebx
lea ebx, [ebx + 2]
cmove ebx, eax
mov dword [esp + 4], ecx
lea ecx, [esp + 0x47c]
call fcn.00424a8c
cmp ebx, 5
je 0x49083b
push 0x10c
lea eax, [esp + 0xb1c]
push eax
lea eax, [esp + 0xa4]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x90], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x91], al
mov eax, dword [esp + 8]
mov word [esp + 0x92], ax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
mov dword [esp + 0x88], ebx
mov ecx, edi
call fcn.0044dd36
mov ebx, eax
push edi
push esi
push edx
mov esi, edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x310], ebx
mov dword [esp + 0x314], esi
mov dword [esp + 0x318], edi
lea ecx, [esp + 0x310]
call fcn.00490c04
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x90]
mov esi, eax
mov al, byte [esp + 0x91]
mov edi, eax
movzx eax, word [esp + 0x92]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
push 0x10c
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa14]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp ebx, 5
je 0x490848
mov eax, dword [esp + 0x18]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], eax
mov eax, esi
mov byte [esp + 0x90], al
mov eax, edi
mov byte [esp + 0x91], al
mov eax, dword [esp + 8]
mov word [esp + 0x92], ax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
push 0x10c
lea eax, [esp + 0xa10]
push eax
lea eax, [esp + 0xa4]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1a8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1ac], eax
mov ecx, 0x128
push 4
pop edx
call fcn.00437dd5
mov ecx, eax
push 0x128
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0xc], ecx
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 6
pop ecx
jmp 0x490375
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x10], 0x80000001
jmp 0x490833
push 0xc
pop ecx
push 4
pop edx
call fcn.00437dd5
and dword [eax], 0
mov dword [eax + 4], 1
and dword [eax + 8], 0
mov edi, eax
mov dword [esp + 4], 0x505ddc
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
je 0x4907f1
push ebx
call fcn.00490c5d
pop eax
mov eax, dword [esp + 4]
mov dword [ebx], edi
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x80]
mov esi, dword [esp + 0x4c]
mov ecx, 0x80000000
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x48]
mov ebx, edx
mov edx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax], edi
mov dword [eax + 4], ebx
movsd qword [eax + 8], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [ebp + 8]
jmp 0x49085b
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x8c], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x8d], al
mov word [esp + 0x8e], dx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ecx
push 0x10
pop ecx
push 4
pop edx
call fcn.00437dd5
movsd xmm0, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x90]
mov edi, eax
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
call fcn.0044dd1b
mov dword [esp + 4], 0x505da0
jmp 0x4907e5
lea ecx, [esp + 0x88]
mov dword [esp + 0x6ac], eax
lea eax, [esp + 0x6ac]
mov dword [ecx], 0x505f78
mov dword [ecx + 4], 2
and dword [ecx + 0x10], 0
mov dword [esp + 0x310], eax
lea eax, [esp + 0x310]
mov dword [esp + 0x314], 0x42f181
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 1
mov edx, 0x505f88
call fcn.0040cbc0
ud2
lea eax, [esp + 0x6ac]
mov dword [esp + 0x7f0], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x310], eax
lea eax, [esp + 0x7f0]
mov dword [esp + 0x314], 0x4354c2
mov dword [ecx], str.invalid_span__for_haystack_of_length
mov dword [esp + 0x318], eax
mov dword [esp + 0x31c], fcn.0040cf80
push 2
pop eax
mov dword [ecx + 4], eax
and dword [ecx + 0x10], 0
lea edx, [esp + 0x310]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov edx, 0x506130
call fcn.0040cbc0
mov esi, eax
lea eax, [esp + 0x88]
push eax
call fcn.00425a42
pop eax
jmp 0x490a33
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
call fcn.0044dd1b
push esi
call fcn.004a1fc0