Function at 0x449080
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5461f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0xc]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0xc0]
mov ecx, esi
call fcn.00448550
mov ecx, esi
call fcn.00448880
mov ecx, esi
call fcn.00448470
mov ecx, esi
mov ebx, eax
call fcn.004484d0
movsx ecx, word [esi + 0x12]
lea edi, [esi + 0x10]
mov dword [esp + 0x38], eax
movsx eax, word [edi + 6]
movsx edx, word [edi + 4]
sub eax, ecx
lea ecx, [esp + 0x20]
inc eax
push eax
movsx eax, word [edi]
sub edx, eax
inc edx
push edx
push 0
push 0
call fcn.004c9320
mov ecx, dword [eax]
movsx ecx, cx
movsx eax, word [eax + 4]
add eax, ecx
cdq
movsx ecx, word [edi + 2]
sub eax, edx
sar eax, 1
movsx edx, ax
movsx eax, word [edi + 6]
sub eax, ecx
mov dword [esp + 0x18], edx
movsx edx, word [edi + 4]
inc eax
lea ecx, [esp + 0x28]
push eax
movsx eax, word [edi]
sub edx, eax
inc edx
push edx
push 0
push 0
call fcn.004c9320
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
movsx eax, word [esp + 0x22]
mov dword [esp + 0x24], edx
movsx ecx, word [esp + 0x26]
add eax, ecx
mov ecx, dword [0x67a908]
cdq
movsx ebp, word [esi + 0x1d4]
sub eax, edx
sar eax, 1
movsx edx, ax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x1e4]
add ebp, eax
test edx, ecx
mov dword [esp + 0x30], ebp
je 0x44918e
movsx ecx, word [esi + 0x1d6]
sub ecx, eax
mov dword [esp + 0x30], ecx
mov ebp, ecx
push ebp
call fcn.00479030
imul eax, ebx
add eax, 0x8000
mov ecx, dword [esp + 0x1c]
cdq
and edx, 0xffff
push ebp
add eax, edx
sar eax, 0x10
add eax, ecx
mov dword [esp + 0x24], eax
call fcn.00478f90
imul eax, ebx
add eax, 0x8000
mov ecx, dword [esp + 0x44]
cdq
and edx, 0xffff
add esp, 8
add eax, edx
mov edx, dword [0x67a910]
sar eax, 0x10
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x1e4]
test eax, edx
je 0x449281
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x20]
push eax
push eax
push 0
push 0
call fcn.004c9320
movsx eax, word [edi + 6]
movsx ecx, word [edi + 2]
movsx edx, word [edi + 4]
sub eax, ecx
lea ecx, [esp + 0x44]
inc eax
push eax
movsx eax, word [edi]
sub edx, eax
inc edx
push edx
push 0
push 0
call fcn.004c9320
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
movsx eax, word [esp + 0x2a]
mov dword [esp + 0x2c], edx
movsx ecx, word [esp + 0x2e]
add eax, ecx
cdq
sub eax, edx
movsx edx, word [esp + 0x28]
mov ecx, eax
movsx eax, word [esp + 0x2c]
add eax, edx
cdq
sar ecx, 1
sub eax, edx
mov word [esp + 0x36], cx
sar eax, 1
lea ecx, [esp + 0x14]
mov word [esp + 0x34], ax
mov eax, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], eax
call fcn.004c9350
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.00448ec0
xor eax, eax
mov word [0x694364], ax
mov word [0x694366], ax
mov eax, dword [esi + 0x1d8]
mov ecx, eax
push eax
push ecx
push 1
lea ecx, [esp + 0x58]
call fcn.0041ae00
mov edx, dword [eax]
mov word [esp + 0x20], 1
mov dword [0x69436c], edx
mov ecx, dword [eax + 4]
mov dword [0x694370], ecx
mov edx, dword [eax + 8]
mov dword [0x694374], edx
mov eax, dword [esi + 0x244]
mov ecx, dword [esi + 0x1d8]
and eax, 0xf
cmp eax, 1
mov dword [esp + 0x34], ecx
mov word [esp + 0x22], 2
mov dword [esp + 0x44], eax
jle 0x44985e
mov ecx, esi
call fcn.00448470
mov ebx, eax
xor eax, eax
mov al, byte [esi + 0x245]
mov word [esp + 0x18], 0
mov ebp, eax
cdq
sub eax, edx
mov dword [esp + 0x3c], ebp
sar eax, 1
mov ecx, eax
neg ecx
mov word [esp + 0x1a], cx
mov edx, dword [esp + 0x18]
mov word [esp + 0x18], bx
mov word [esp + 0x1a], cx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov eax, ebp
cdq
sub eax, edx
mov word [esp + 0x18], bx
mov ebp, eax
mov word [esp + 0x12], cx
sar ebp, 1
mov word [esp + 0x1a], bp
mov edx, dword [esp + 0x18]
mov word [esp + 0x18], 0
mov word [esp + 0x1a], bp
mov eax, dword [esp + 0x18]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov eax, ebx
cdq
and edx, 3
add eax, edx
sar eax, 2
neg eax
mov word [esp + 0x10], ax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
lea eax, [ebx + ebx*2]
mov dword [esp + 0x98], edx
mov word [esp + 0x12], cx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esp + 0x10], ax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x9c], edx
mov word [esp + 0x10], ax
mov word [esp + 0x12], bp
mov edx, dword [esp + 0x10]
mov dword [esp + 0xa0], edx
mov dx, word [esp + 0x18]
mov word [esp + 0x10], dx
mov word [esp + 0x12], bp
mov edx, dword [esp + 0x10]
mov word [esp + 0x10], 0
mov dword [esp + 0xa4], edx
mov word [esp + 0x12], cx
mov edx, dword [esp + 0x10]
mov word [esp + 0x10], bx
mov dword [esp + 0x7c], edx
mov word [esp + 0x12], 0
mov edx, dword [esp + 0x10]
mov word [esp + 0x10], 0
mov dword [esp + 0x80], edx
mov word [esp + 0x12], bp
mov edx, dword [esp + 0x10]
mov word [esp + 0x12], cx
mov dword [esp + 0x84], edx
mov dx, word [esp + 0x18]
mov word [esp + 0x10], dx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], edx
mov word [esp + 0x10], ax
xor eax, eax
mov word [esp + 0x12], ax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x50], edx
mov dx, word [esp + 0x18]
mov word [esp + 0x10], dx
mov word [esp + 0x12], bp
mov edx, dword [esp + 0x10]
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
cdq
and edx, 3
add eax, edx
mov edx, ebx
sar eax, 2
neg eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x12], ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x3c]
sub edx, eax
mov ax, word [esp + 0x1c]
mov word [esp + 0x10], dx
mov word [esp + 0x12], ax
mov eax, dword [esp + 0x10]
mov word [esp + 0x10], dx
mov dword [esp + 0xac], eax
mov word [esp + 0x12], cx
mov eax, dword [esp + 0x10]
mov word [esp + 0x10], bx
xor ebx, ebx
mov dword [esp + 0xb0], eax
mov word [esp + 0x12], bx
mov eax, dword [esp + 0x10]
mov dword [esp + 0xb4], eax
mov word [esp + 0x10], dx
mov word [esp + 0x12], bp
mov eax, dword [esp + 0x10]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x3c]
mov word [esp + 0x10], dx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov word [esp + 0x12], ax
mov edx, dword [esp + 0x10]
mov dword [esp + 0xbc], edx
mov word [esp + 0x10], bx
mov ebx, dword [esp + 0x1c]
mov word [esp + 0x12], ax
mov edx, dword [esp + 0x10]
mov word [esp + 0x12], bx
mov dword [esp + 0xc0], edx
mov dx, word [esp + 0x18]
mov word [esp + 0x10], dx
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x3c]
mov word [esp + 0x1e], bx
mov word [esp + 0x1c], dx
mov ebx, dword [esp + 0x1c]
mov word [esp + 0x1c], dx
mov word [esp + 0x1e], cx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ecx
mov cx, word [esp + 0x14]
mov word [esp + 0x14], cx
xor ecx, ecx
mov word [esp + 0x16], cx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xd0], ebx
mov word [esp + 0x14], dx
mov word [esp + 0x16], bp
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xd4], ebx
mov word [esp + 0x14], dx
mov word [esp + 0x16], ax
mov edx, dword [esp + 0x14]
mov dword [esp + 0xd8], edx
mov dx, word [esp + 0x18]
mov word [esp + 0x14], dx
mov word [esp + 0x16], ax
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xdc], eax
mov eax, 4
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov eax, 3
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov eax, 7
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], ecx
lea ecx, [esp + 0x88]
lea edx, [esp + 0x98]
lea eax, [esp + 0x7c]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x4c]
lea edx, [esp + 0xa8]
lea eax, [esp + 0xc4]
cmp ebx, 8
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
mov dword [esp + 0x11c], eax
jae 0x449aab
mov al, byte [0x9660fa]
test al, 1
jne 0x4496bc
mov dl, al
xor eax, eax
or dl, 1
push fcn.00458ab0
mov byte [0x9660fa], dl
mov word [0x9660fc], ax
mov word [0x9660fe], ax
call fcn.0053228e
add esp, 4
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + ebx*4 + 0xe0]
mov ebx, dword [esp + ebx*4 + 0x100]
push ecx
push 0x9660fc
push ebp
push ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x2c], ebx
call fcn.0047b910
add esp, 0x10
test ebp, ebp
jle 0x44975f
mov dword [esp + 0x14], ebp
movsx edx, word [edi + 6]
movsx eax, word [edi + 2]
movsx ecx, word [edi]
sub edx, eax
inc edx
push edx
movsx edx, word [edi + 4]
sub edx, ecx
lea ecx, [esp + 0x40]
inc edx
push edx
push 0
push 0
call fcn.004c9320
mov ebp, dword [eax]
add ebx, 4
mov dword [esp + 0x28], ebp
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
movsx eax, word [esp + 0x2a]
movsx ecx, word [esp + 0x2e]
add eax, ecx
cdq
sub eax, edx
mov ecx, eax
movsx eax, word [esp + 0x2c]
movsx edx, bp
add eax, edx
cdq
sub eax, edx
sar eax, 1
add word [ebx - 4], ax
mov eax, dword [esp + 0x14]
sar ecx, 1
add word [ebx - 2], cx
dec eax
mov dword [esp + 0x14], eax
jne 0x4496ee
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
call fcn.004c65b0
push ebp
push ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x138], 0
call fcn.004c6670
push 1
push 1
push 1
push 0
push 0
lea ecx, [esp + 0x3c]
call fcn.004c9320
push eax
lea eax, [esp + 0x64]
push eax
mov ecx, 0x694360
call fcn.004a3ec0
mov ecx, dword [0x67a910]
mov eax, dword [esi + 0x1e4]
test eax, ecx
je 0x449821
push 1
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xff
call fcn.00410600
lea ecx, [esp + 0x2c]
call fcn.00427740
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test ax, ax
mov dword [0x694364], eax
mov dword [0x694368], edx
jne 0x4497ed
mov word [0x694366], ax
mov eax, dword [esp + 0x34]
push edi
push eax
mov ecx, esi
call fcn.0041cd50
push 1
push ebp
push ebx
mov ecx, 0x694360
call fcn.004a3f40
lea ecx, [esp + 0x5c]
mov dword [esp + 0x130], 0xffffffff
call fcn.004c6960
jmp 0x449b3c
mov edx, dword [esp + 0x34]
mov word [esp + 0x22], 1
mov ecx, dword [esp + 0x20]
push 1
mov dword [0x694364], ecx
push ebp
push ebx
mov ecx, 0x694360
mov dword [0x694368], edx
call fcn.004a3f40
mov dword [esp + 0x130], 0xffffffff
lea ecx, [esp + 0x5c]
jmp 0x449aa6
mov eax, dword [esi + 0x1d0]
test eax, eax
jne 0x44989a
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [0x694368], ecx
mov ecx, dword [esp + 0x10]
mov dword [0x694364], eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, 0x694360
call fcn.0049fff0
jmp 0x449aab
lea eax, [ebp - 0x12]
push eax
sar ebx, 2
call fcn.00479030
imul eax, ebx
add eax, 0x8000
cdq
and edx, 0xffff
add eax, edx
mov edx, dword [esp + 0x34]
mov ebp, eax
mov eax, dword [esp + 0x1c]
sar ebp, 0x10
add ebp, eax
lea eax, [edx - 0x12]
push eax
call fcn.00478f90
imul eax, ebx
add eax, 0x8000
mov ecx, dword [esp + 0x44]
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
add eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
add eax, 0x12
push eax
mov dword [esp + 0x50], eax
call fcn.00479030
imul eax, ebx
add eax, 0x8000
mov ecx, dword [esp + 0x24]
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
add eax, ecx
mov ecx, dword [esp + 0x50]
push ecx
mov dword [esp + 0x40], eax
call fcn.00478f90
imul eax, ebx
add eax, 0x8000
mov ecx, dword [esp + 0x4c]
cdq
and edx, 0xffff
mov word [esp + 0x26], cx
add eax, edx
mov dx, word [esp + 0x28]
sar eax, 0x10
add eax, ecx
mov word [esp + 0x24], dx
mov ecx, dword [esp + 0x24]
mov dx, word [esp + 0x38]
mov dword [esp + 0x5c], ecx
mov word [esp + 0x24], bp
mov word [esp + 0x26], dx
mov ecx, dword [esp + 0x24]
mov dx, word [esp + 0x2c]
mov dword [esp + 0x60], ecx
mov cx, word [esp + 0x20]
mov word [esp + 0x24], dx
mov word [esp + 0x26], cx
mov edx, dword [esp + 0x24]
mov cx, word [esp + 0x40]
mov dword [esp + 0x64], edx
mov word [esp + 0x24], cx
mov word [esp + 0x26], ax
mov edx, dword [esp + 0x24]
add esp, 0x10
lea ecx, [esp + 0x5c]
mov dword [esp + 0x58], edx
call fcn.004c65b0
lea eax, [esp + 0x4c]
push 4
mov dword [esp + 0x134], 1
push eax
lea ecx, [esp + 0x64]
call fcn.004c6670
push 1
push 1
push 1
push 0
push 0
lea ecx, [esp + 0x3c]
call fcn.004c9320
lea ecx, [esp + 0x60]
push eax
push ecx
mov ecx, 0x694360
call fcn.004a3ec0
mov edx, dword [0x67a910]
mov eax, dword [esi + 0x1e4]
test eax, edx
je 0x449a70
push 1
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xff
call fcn.00410600
lea ecx, [esp + 0x2c]
call fcn.00427740
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test ax, ax
mov dword [0x694364], eax
mov dword [0x694368], ecx
jne 0x449a37
mov word [0x694366], ax
mov edx, dword [esp + 0x34]
push edi
push edx
mov ecx, esi
call fcn.0041cd50
push 1
lea eax, [esp + 0x50]
push 4
push eax
mov ecx, 0x694360
call fcn.004a3f40
lea ecx, [esp + 0x5c]
mov dword [esp + 0x130], 0xffffffff
call fcn.004c6960
jmp 0x449b3c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
push 1
lea eax, [esp + 0x50]
mov dword [0x694364], ecx
push 4
push eax
mov ecx, 0x694360
mov dword [0x694368], edx
call fcn.004a3f40
mov dword [esp + 0x130], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.004c6960
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x74]
push eax
push eax
push 0
push 0
call fcn.004c9320
movsx ecx, word [edi + 6]
movsx edx, word [edi + 2]
movsx eax, word [edi + 4]
sub ecx, edx
inc ecx
push ecx
movsx ecx, word [edi]
sub eax, ecx
lea ecx, [esp + 0x124]
inc eax
push eax
push 0
push 0
call fcn.004c9320
mov ecx, dword [eax]
movsx edx, cx
mov eax, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
movsx eax, ax
add eax, edx
cdq
movsx ecx, word [esp + 0x26]
sub eax, edx
sar eax, 1
mov word [esp + 0x38], ax
movsx eax, word [esp + 0x22]
add eax, ecx
lea ecx, [esp + 0x74]
cdq
sub eax, edx
sar eax, 1
mov word [esp + 0x3a], ax
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edx
push eax
call fcn.004c9350
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call fcn.00448ec0
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x124
ret 4