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

Disassembly:
push 0xffffffffffffffff
push 0x4ec258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
push 5
lea ecx, [esp + 0x84]
mov dword [esp + 0x74], 1
call fcn.004be4c0
movzx ax, al
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x78]
and eax, 0xffff
mov dword [esp + 0x20], eax
push ecx
lea edx, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.004be1b0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
push eax
call fcn.00448e50
push 0xa
mov esi, eax
call fcn.004bb3e0
mov ecx, dword [esp + 0x24]
add esp, 4
movsx eax, si
cmp eax, ecx
jge 0x4490ac
cmp si, 0xffff
je 0x4494be
mov ecx, dword [esp + 0x84]
mov bl, byte [ecx + eax*2 + 1]
mov al, byte [ecx + eax*2]
mov cl, al
and eax, 0xff
shr cl, 3
and eax, 0x80000007
jns 0x449113
dec eax
or eax, 0xfffffff8
inc eax
mov byte [esp + 0x24], al
xor ax, ax
mov al, cl
mov ecx, dword [esp + 0x88]
push eax
mov word [esp + 0x30], ax
call fcn.004be4c0
mov edx, dword [esp + 0x24]
mov ecx, 7
and edx, 0xff
mov byte [esp + 0x14], al
sub ecx, edx
shr al, cl
mov dword [esp + 0x28], ecx
and al, 1
cmp bl, 1
jne 0x449154
cmp al, bl
jmp 0x449156
test al, al
lea ecx, [esp + 0x10]
sete bl
call fcn.004be1a0
test bl, bl
mov byte [esp + 0x70], 2
je 0x449182
mov eax, dword [esp + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
lea esi, [eax + esi*2]
push 0x511020
jmp 0x449198
mov ecx, dword [esp + 0x18]
push ecx
lea esi, [ecx + esi*2 + 1]
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x511018
call fcn.004be240
lea ecx, [esp + 0x14]
call fcn.004be4d0
push esi
push 5
lea ecx, [esp + 0x88]
call fcn.004be5e0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x511010
call fcn.004be240
lea edx, [esp + 0x3c]
push edx
call fcn.004cfca0
add esp, 4
lea eax, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x78], 3
call fcn.004be1b0
lea ecx, [esp + 0x4c]
push ecx
call fcn.004cfca0
add esp, 8
mov esi, eax
mov ecx, dword [0x4f73d0]
mov eax, dword [esi + 8]
mov ebp, ecx
mov byte [esp + 0x70], 4
cmp eax, ebp
jae 0x449212
mov ebp, eax
sub ecx, dword [esp + 0x40]
cmp ecx, ebp
ja 0x44921f
call fcn.004de1ab
xor edi, edi
cmp ebp, edi
jbe 0x44926e
mov edx, dword [esp + 0x40]
push edi
lea ecx, [esp + 0x3c]
lea ebx, [edx + ebp]
push ebx
call fcn.004144a0
test al, al
je 0x44926e
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x449247
mov esi, 0x4f7480
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push ebx
lea edi, [ecx + eax]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
call fcn.00414480
xor edi, edi
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x70], 3
cmp ecx, edi
je 0x449296
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x44928d
cmp al, 0xff
je 0x44928d
dec al
mov byte [ecx], al
jmp 0x449296
push ecx
call fcn.004de1a0
add esp, 4
mov eax, dword [0x4f73d0]
mov edx, dword [esp + 0x40]
sub eax, edx
mov dword [esp + 0x4c], edi
cmp eax, 1
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
ja 0x4492b7
call fcn.004de1ab
mov eax, dword [esp + 0x40]
push edi
lea ecx, [esp + 0x3c]
lea esi, [eax + 1]
push esi
call fcn.004144a0
test al, al
je 0x4492e8
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov byte [edx + ecx], 0xd
mov dword [esp + 0x40], esi
lea eax, [edx + ecx]
mov eax, dword [esp + 0x3c]
mov byte [eax + esi], 0
mov ecx, dword [0x4f73d0]
mov edx, dword [esp + 0x40]
sub ecx, edx
cmp ecx, 1
ja 0x4492fe
call fcn.004de1ab
mov edx, dword [esp + 0x40]
push edi
lea ecx, [esp + 0x3c]
lea esi, [edx + 1]
push esi
call fcn.004144a0
test al, al
je 0x44932d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov byte [eax], 0xa
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x40], esi
mov byte [edx + esi], 0
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004be1b0
lea ecx, [esp + 0x5c]
push ecx
call fcn.004cfca0
add esp, 8
mov esi, eax
mov eax, dword [0x4f73d0]
mov ecx, dword [esi + 8]
mov ebp, eax
mov byte [esp + 0x70], 5
cmp ecx, ebp
jae 0x449362
mov ebp, ecx
sub eax, dword [esp + 0x40]
cmp eax, ebp
ja 0x44936f
call fcn.004de1ab
cmp ebp, edi
jbe 0x4493bf
mov edx, dword [esp + 0x40]
push 0
lea ecx, [esp + 0x3c]
lea ebx, [edx + ebp]
push ebx
call fcn.004144a0
test al, al
je 0x4493bd
mov esi, dword [esi + 4]
test esi, esi
jne 0x449396
mov esi, 0x4f7480
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea edi, [ecx + eax]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ebx
mov byte [eax + ebx], 0
xor edi, edi
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x70], 3
cmp eax, edi
je 0x4493e9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4493e0
cmp al, 0xff
je 0x4493e0
dec al
mov byte [ecx], al
jmp 0x4493e9
push ecx
call fcn.004de1a0
add esp, 4
push edi
push 4
sub esp, 0x10
mov dword [esp + 0x74], edi
mov esi, esp
mov dword [esp + 0x48], esp
push ecx
mov dword [esp + 0x7c], edi
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
push 0x50f634
mov dword [esp + 0x88], edi
call fcn.004be240
push esi
call fcn.004cfca0
sub esp, 8
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x9c], 6
call fcn.00413ad0
mov ecx, 0x5200a8
mov byte [esp + 0x98], 3
call fcn.004cae60
cmp ax, 3
je 0x449494
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x449475
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x44946c
cmp al, 0xff
je 0x44946c
dec al
mov byte [ecx], al
jmp 0x449475
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov byte [esp + 0x70], 1
call fcn.004be2e0
jmp 0x4490ac
mov ecx, dword [esp + 0x28]
mov al, 1
shl al, cl
mov cl, byte [esp + 0x14]
mov edx, dword [esp + 0x2c]
xor cl, al
mov byte [esp + 0x14], cl
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
call fcn.004be5e0
jmp 0x449450
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], 0
call fcn.004be2e0
lea ecx, [esp + 0x80]
mov dword [esp + 0x70], 0xffffffff
call fcn.004be2e0
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 0x14