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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b59a0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100f1850]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x100f1850]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x30]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
test edi, edi
je 0x10044a20
mov al, byte [esi]
cmp al, 0x2b
je 0x10044a19
cmp al, 0x2d
jne 0x10044a20
mov ebx, 1
jmp 0x10044a22
xor ebx, ebx
mov eax, dword [ecx + 0x14]
and eax, 0x3000
mov dword [esp + 0x14], ebx
cmp eax, 0x3000
je 0x10044a3c
mov edx, 0x100cfdf0
jmp 0x10044a60
lea eax, [ebx + 2]
mov edx, 0x100cfdf4
cmp eax, edi
ja 0x10044a60
cmp byte [esi + ebx], 0x30
jne 0x10044a60
mov cl, byte [esi + ebx + 1]
cmp cl, 0x78
je 0x10044a5c
cmp cl, 0x58
jne 0x10044a60
mov dword [esp + 0x14], eax
push edx
push esi
call fcn.1008c420
mov dword [esp + 0x28], eax
mov eax, 0x2e
mov word [esp + 0x54], ax
call fcn.1008be52
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esp + 0x54], al
lea eax, [esp + 0x54]
push eax
push esi
call fcn.1008c420
mov ecx, dword [esp + 0x3c]
add esp, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push eax
call fcn.10003250
mov dword [esp + 0x78], 0
push eax
call fcn.10007480
add esp, 4
mov ebx, eax
mov dword [esp + 0x78], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10044ad6
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x10044ad6
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx]
mov ecx, ebx
push 0x30
call dword [eax + 0x30]
movzx eax, ax
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], eax
xor eax, eax
push eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
push edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.1003f380
mov dword [esp + 0x78], 1
lea eax, [esp + 0x34]
cmp dword [esp + 0x48], 8
mov ecx, ebx
mov edx, dword [ebx]
cmovae eax, dword [esp + 0x34]
push eax
lea eax, [edi + esi]
push eax
push esi
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
call fcn.10003250
mov byte [esp + 0x78], 2
push eax
call fcn.1003fc80
add esp, 4
mov ebx, eax
mov byte [esp + 0x78], 1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10044b77
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x10044b77
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [esp + 0x50]
mov ecx, ebx
push eax
call fcn.100227f0
mov byte [esp + 0x78], 3
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x10]
mov edx, dword [esp + 0x20]
push dword [esp + 0x18]
movzx eax, ax
mov dword [esp + 0x28], eax
cmp dword [esp + 0x14], edi
jne 0x10044bb2
mov eax, dword [ebp + 0x24]
push eax
push edx
lea ecx, [edx + eax]
mov dword [esp + 0x1c], ecx
jmp 0x10044c03
mov edi, dword [esp + 0x14]
mov esi, dword [ebp + 0x24]
push dword [ebp + 0x2c]
push edx
lea ecx, [edi + esi]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x40]
call fcn.1003f100
push dword [esp + 0x18]
lea eax, [edi + 1]
push dword [ebp + 0x28]
lea ecx, [esp + 0x3c]
push eax
call fcn.1003f100
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
cmp dword [esp + 0x48], 8
push dword [esp + 0x18]
movzx ecx, ax
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push esi
push edi
mov word [eax + edi*2], cx
lea ecx, [esp + 0x40]
call fcn.1003f100
cmp dword [esp + 0x64], 0x10
lea ebx, [esp + 0x50]
mov ecx, dword [esp + 0x48]
cmovae ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x44]
mov al, byte [ebx]
cmp al, 0x7f
je 0x10044d50
lea esp, [esp]
test al, al
jle 0x10044d50
mov edx, dword [esp + 0x10]
movsx edi, al
mov eax, edx
sub eax, dword [esp + 0x14]
cmp edi, eax
jae 0x10044d50
sub edx, edi
mov dword [esp + 0x10], edx
cmp esi, edx
jb 0x10044d7e
or eax, 0xffffffff
sub eax, esi
cmp eax, 1
jbe 0x10044d74
lea edi, [esi + 1]
cmp edi, 0x7ffffffe
ja 0x10044d74
cmp ecx, edi
jae 0x10044c8d
push esi
push edi
lea ecx, [esp + 0x3c]
call fcn.10007250
mov edx, dword [esp + 0x10]
jmp 0x10044ca6
test edi, edi
jne 0x10044cb0
cmp ecx, 8
mov dword [esp + 0x44], edi
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
xor ecx, ecx
mov word [eax], cx
mov esi, dword [esp + 0x44]
test edi, edi
mov ecx, dword [esp + 0x48]
setne al
test al, al
je 0x10044d3c
cmp ecx, 8
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
sub esi, edx
lea edx, [edx + edx]
mov dword [esp + 0x18], edx
lea eax, [eax + 2]
lea eax, [eax + edx]
mov dword [esp + 0x20], eax
je 0x10044d08
lea eax, [esi + esi]
push eax
mov eax, dword [esp + 0x20]
add eax, edx
push eax
push dword [esp + 0x28]
call fcn.1008b160
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov edx, dword [esp + 0x18]
cmp ecx, 8
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x24]
cmovae eax, dword [esp + 0x34]
mov word [eax + edx], cx
lea eax, [esp + 0x34]
cmp dword [esp + 0x48], 8
mov dword [esp + 0x44], edi
cmovae eax, dword [esp + 0x34]
xor ecx, ecx
mov word [eax + edi*2], cx
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp byte [ebx + 1], 0
lea eax, [ebx + 1]
cmovg ebx, eax
mov al, byte [ebx]
cmp al, 0x7f
jne 0x10044c30
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x24]
mov edi, dword [edx + 0x20]
test eax, eax
jl 0x10044d88
jg 0x10044d64
test edi, edi
je 0x10044d88
mov dword [esp + 0x28], eax
cmp edi, esi
jbe 0x10044d88
mov dword [esp + 0x28], eax
sub edi, esi
jmp 0x10044d8a
push str.string_too_long
call fcn.10087540
push str.invalid_string_position
call fcn.1008756e
xor edi, edi
mov eax, dword [edx + 0x14]
mov ebx, dword [ebp + 8]
and eax, 0x1c0
cmp eax, 0x40
je 0x10044e3b
cmp eax, 0x100
je 0x10044df1
push edi
push dword [ebp + 0x1c]
lea eax, [esp + 0x2c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.100453a0
push dword [esp + 0x2c]
mov ecx, eax
xor edi, edi
cmp dword [esp + 0x64], 8
mov eax, dword [ecx]
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x50]
cmovae eax, dword [esp + 0x50]
push eax
push dword [ecx + 4]
lea eax, [esp + 0x48]
push dword [ecx]
push eax
push ebx
call fcn.10045320
add esp, 0x30
jmp 0x10044e60
push dword [esp + 0x14]
cmp ecx, 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x30]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.10045320
mov ecx, eax
push edi
push dword [ebp + 0x1c]
mov eax, dword [ecx]
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x44]
push dword [ecx + 4]
push dword [ecx]
push eax
push ebx
call fcn.100453a0
add esp, 0x30
xor edi, edi
jmp 0x10044e60
push dword [esp + 0x14]
cmp ecx, 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x30]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.10045320
add esp, 0x18
mov edx, dword [eax]
cmp dword [esp + 0x48], 8
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0x10], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
sub esi, ecx
push esi
lea eax, [eax + ecx*2]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x30]
push edx
push eax
push ebx
call fcn.10045320
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
push edi
mov ecx, dword [eax]
push dword [ebp + 0x1c]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
push eax
push ecx
push esi
push ebx
mov dword [ebp + 0x14], eax
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
call fcn.100453a0
add esp, 0x30
mov byte [esp + 0x78], 1
cmp dword [esp + 0x64], 0x10
jb 0x10044ee1
push dword [esp + 0x50]
call fcn.1008b066
add esp, 4
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x10044f11
push dword [esp + 0x34]
call fcn.1008b066
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov word [esp + 0x34], ax
mov eax, esi
mov dword [esp + 0x44], 0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1008aee2
mov esp, ebp
pop ebp
ret