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

Disassembly:
push 0xffffffffffffffff
push 0x4f28e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3b0
mov eax, dword [0x53ffd0]
xor eax, dword [esp + 0x3bc]
push ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0x3b8], eax
push edi
mov dword [esp + 0x20], ebp
lea eax, [esp + 0x3d0]
xor ebx, ebx
push eax
mov dword [esp + 0x3cc], ebx
call fcn.00481cd0
lea ecx, [esp + 0xa4]
call fcn.004d5783
push str..sst
lea ecx, [esp + 0x3d4]
push ecx
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x3d4], 1
call fcn.00410a70
add esp, 0xc
mov eax, dword [eax]
push ebx
push 0x5021
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3d4], 2
call fcn.004d5799
mov edx, dword [esp + 0x4c]
neg eax
sbb al, al
inc al
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0x27], al
mov byte [esp + 0x3c8], 1
lea ecx, [edx + 0xc]
mov esi, edi
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4845af
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov al, byte [esp + 0x27]
cmp al, bl
je 0x4845e6
lea ecx, [esp + 0xa4]
mov byte [esp + 0x3c8], bl
call fcn.004d5b25
mov eax, dword [esp + 0x3d0]
add eax, 0xfffffff0
mov dword [esp + 0x3c8], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x484cc2
push 0x2f
push 0x5c
lea ecx, [esp + 0x3d8]
mov dword [ebp + 0xe0], edi
mov dword [ebp + 0xdc], edi
call fcn.0040f780
mov esi, dword [esp + 0x3d0]
push 0x2f
push esi
call fcn.004b77bd
add esp, 8
cmp eax, ebx
jne 0x48461c
mov eax, edi
jmp 0x484620
sub eax, esi
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3d8]
call fcn.00406f90
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x1b8]
push eax
push 0x104
lea ecx, [esp + 0x1c0]
push esi
mov byte [esp + 0x3d8], 3
mov dword [esp + 0xb0], ecx
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
test eax, eax
jne 0x4846ba
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x3c8], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48468e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x3c8], bl
call fcn.004d5b25
lea eax, [esi - 0x10]
mov dword [esp + 0x3c8], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jmp 0x484cc2
lea eax, [esp + 0x1b4]
push eax
lea ecx, [esp + 0x110]
call fcn.00403260
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x1b4]
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
mov byte [esp + 0x3d0], 4
call fcn.00406da0
mov eax, dword [esp + 0x10c]
add eax, 0xfffffff0
mov byte [esp + 0x3c8], 6
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48471d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x50c138
lea ecx, [esp + 0x48]
call fcn.00410a10
mov eax, dword [esp + 0x44]
cmp dword [eax - 0xc], ebx
jne 0x48475e
add eax, 0xfffffff0
mov byte [esp + 0x3c8], 3
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484669
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x484669
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x3c8], 7
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x9c], eax
push str.st_format_t2_n
lea ecx, [esp + 0x14]
mov byte [esp + 0x3cc], 8
call fcn.00415410
push str.Display_Start_t_s_n
lea ecx, [esp + 0x14]
call fcn.00415410
push str.TV_Type_t_t_s_n
lea ecx, [esp + 0x14]
call fcn.00415410
push str.Tape_Type_tNON_DROP_n
lea ecx, [esp + 0x14]
call fcn.00415410
push str.Pixel_Area_t_0__d__n
lea ecx, [esp + 0x14]
call fcn.00415410
push str.Directory_t_s_n
lea ecx, [esp + 0x14]
call fcn.00415410
push str.Subtitle_t_s_n
lea ecx, [esp + 0x14]
call fcn.00415410
push str.Display_Area_t_0_2_719__d__n
lea ecx, [esp + 0x14]
call fcn.00415410
push str.Contrast_t_15_15_15_0__n
lea ecx, [esp + 0x14]
call fcn.00415410
push 0x5036f0
lea ecx, [esp + 0x14]
call fcn.00415410
push str.PA_t_0_0_255_________n
lea ecx, [esp + 0x14]
call fcn.00415410
push str.E1_t_255_0_0_________n
lea ecx, [esp + 0x14]
call fcn.00415410
push str.E2_t_0_0_0_________n
lea ecx, [esp + 0x14]
call fcn.00415410
push str.BG_t_255_255_255_________n
lea ecx, [esp + 0x14]
call fcn.00415410
push 0x5036f0
lea ecx, [esp + 0x14]
call fcn.00415410
push str.SP_NUMBER_tSTART_tEND_tFILE_NAME_n
lea ecx, [esp + 0x14]
call fcn.00415410
mov eax, dword [ebp + 0x1c]
cmp eax, 0x1e0
mov esi, str.NTSC
je 0x48488b
mov esi, 0x50bee4
cmp byte [ebp + 0x58], bl
mov edi, str.non_forced
je 0x48489a
mov edi, str.forced
mov edx, dword [esp + 0x30]
xor ecx, ecx
cmp eax, 0x1e0
setne cl
add eax, 0xfffffffd
dec ecx
and ecx, 0xffffffa1
add ecx, 0x23e
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x18]
push ecx
push eax
push esi
push edi
push edx
lea eax, [esp + 0xb8]
push eax
call fcn.00407a50
mov esi, dword [esp + 0xbc]
add esp, 0x20
push esi
lea ecx, [esp + 0xa8]
call fcn.004d5949
lea ecx, [esp + 0xa4]
call fcn.004d5ac0
mov al, 0x7d
mov cl, 0xe1
mov byte [esp + 0x54], 0xff
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], bl
mov byte [esp + 0x5a], 0xff
mov byte [esp + 0x5b], bl
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], bl
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], bl
mov byte [esp + 0x60], 0xff
mov byte [esp + 0x61], 0xff
mov byte [esp + 0x62], 0xff
mov byte [esp + 0x63], bl
mov byte [esp + 0x64], bl
mov byte [esp + 0x65], 0xff
mov byte [esp + 0x66], bl
mov byte [esp + 0x67], bl
mov byte [esp + 0x68], 0xff
mov byte [esp + 0x69], bl
mov byte [esp + 0x6a], 0xff
mov byte [esp + 0x6b], bl
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], 0xff
mov byte [esp + 0x6e], 0xff
mov byte [esp + 0x6f], bl
mov byte [esp + 0x70], al
mov byte [esp + 0x71], al
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], bl
mov byte [esp + 0x74], al
mov byte [esp + 0x75], al
mov byte [esp + 0x76], al
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], cl
mov byte [esp + 0x79], cl
mov byte [esp + 0x7a], cl
mov byte [esp + 0x7b], bl
mov byte [esp + 0x7c], bl
mov byte [esp + 0x7d], bl
mov byte [esp + 0x7e], al
mov byte [esp + 0x7f], bl
mov byte [esp + 0x80], bl
mov byte [esp + 0x81], al
mov byte [esp + 0x82], bl
mov byte [esp + 0x83], bl
mov byte [esp + 0x84], al
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], bl
mov byte [esp + 0x87], bl
mov byte [esp + 0x8d], al
mov byte [esp + 0x90], al
mov byte [esp + 0x92], al
mov eax, dword [ebp + 0x1c]
lea edx, [eax - 2]
imul edx, edx, 0x168
add eax, 0xfffffffe
mov dword [esp + 0x194], eax
mov eax, 4
mov word [esp + 0x19a], ax
mov dword [esp + 0x1b0], eax
mov al, byte [ebp + 0x59]
mov cl, 0xde
mov byte [esp + 0x8a], cl
mov byte [esp + 0x8e], cl
mov byte [esp + 0x27], al
lea ecx, [edx + 0x76]
mov dword [esp + 0x12e], ecx
xor eax, eax
mov byte [esp + 0x13c], 0xff
mov byte [esp + 0x13d], bl
mov byte [esp + 0x13e], bl
mov byte [esp + 0x13f], bl
mov byte [esp + 0x140], bl
mov byte [esp + 0x141], bl
mov byte [esp + 0x142], 0xff
mov byte [esp + 0x143], bl
mov byte [esp + 0x144], bl
mov byte [esp + 0x145], bl
mov byte [esp + 0x146], bl
mov byte [esp + 0x147], bl
mov byte [esp + 0x148], 0xff
mov byte [esp + 0x149], 0xff
mov byte [esp + 0x14a], 0xff
mov byte [esp + 0x14b], bl
mov ecx, 0xc
lea edi, [esp + 0x14c]
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xa0]
mov ecx, eax
mov edi, dword [ecx]
mov dword [esp + 0xe8], edi
mov edi, dword [ecx + 4]
mov dword [esp + 0xec], edi
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0x124], eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x140]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x144]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x148]
mov byte [esp + 0x88], 0xff
mov byte [esp + 0x89], bl
mov byte [esp + 0x8b], bl
mov byte [esp + 0x8c], bl
mov byte [esp + 0x8f], bl
mov byte [esp + 0x91], bl
mov byte [esp + 0x93], bl
mov word [esp + 0x12c], 0x4d42
mov word [esp + 0x132], bx
mov word [esp + 0x134], bx
mov dword [esp + 0x136], 0x76
mov dword [esp + 0x18c], 0x28
mov dword [esp + 0x190], 0x2d0
mov word [esp + 0x198], 1
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x1a0], edx
mov dword [esp + 0x1a4], ebx
mov dword [esp + 0x1a8], ebx
mov dword [esp + 0x1ac], 0x10
mov byte [ebp + 0x59], 1
mov dword [esp + 0xf0], edi
mov dword [eax + 0xc], ecx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x3c8], 9
push edx
lea ecx, [esp + 0x3c]
call fcn.0044be40
test al, al
jne 0x484cd3
mov edx, dword [esp + 0x38]
push edx
call fcn.004d2f9a
lea eax, [esi - 0x10]
add esp, 4
mov byte [esp + 0x3c8], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484c1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x3c8], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484c41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x3c8], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484c67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x3c8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484c8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x3c8], bl
call fcn.004d5b25
mov eax, dword [esp + 0x3d0]
add eax, 0xfffffff0
mov dword [esp + 0x3c8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484ccc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x485883
lea eax, [ebp + 0x61]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov edi, edi
mov dword [esp + 0x18], ebx
mov esi, 0x2fa04
mov dword [esp + 0x1c], 2
lea eax, [esp + 0x55]
jmp 0x484d00
mov ebp, dword [esp + 0x20]
jmp 0x484d00
cmp esi, ebx
je 0x484e3c
mov ecx, dword [esp + 0x2c]
movzx edx, byte [ecx + 1]
movzx ebp, byte [ecx]
movzx edi, byte [eax + 1]
sub edi, edx
movzx edx, byte [eax]
sub edx, ebp
movzx ebp, byte [ecx - 1]
movzx ecx, byte [eax - 1]
sub ecx, ebp
mov dword [esp + 0x14], edx
imul edx, edx
imul ecx, ecx
add ecx, edx
mov edx, edi
imul edx, edi
add ecx, edx
cmp ecx, esi
jge 0x484d4c
mov esi, ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffffe
mov dword [esp + 0x18], ecx
cmp esi, ebx
je 0x484e38
mov ecx, dword [esp + 0x2c]
movzx edx, byte [ecx + 1]
movzx ecx, byte [ecx]
movzx edi, byte [eax + 5]
sub edi, edx
mov dword [esp + 0x40], edx
movzx edx, byte [eax + 4]
sub edx, ecx
mov dword [esp + 0x3c], ecx
movzx ecx, byte [eax + 3]
sub ecx, ebp
mov dword [esp + 0x14], edx
imul edx, edx
imul ecx, ecx
add ecx, edx
mov edx, edi
imul edx, edi
add ecx, edx
cmp ecx, esi
jge 0x484d9b
mov esi, ecx
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x18], ecx
cmp esi, ebx
je 0x484e38
movzx edi, byte [eax + 9]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
sub edi, edx
movzx edx, byte [eax + 8]
sub edx, ecx
movzx ecx, byte [eax + 7]
sub ecx, ebp
mov dword [esp + 0x14], edx
imul edx, edx
imul ecx, ecx
add ecx, edx
mov edx, edi
imul edx, edi
add ecx, edx
cmp ecx, esi
jge 0x484dde
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
cmp esi, ebx
je 0x484e38
movzx edi, byte [eax + 0xd]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
sub edi, edx
movzx edx, byte [eax + 0xc]
sub edx, ecx
movzx ecx, byte [eax + 0xb]
sub ecx, ebp
mov dword [esp + 0x14], edx
imul edx, edx
imul ecx, ecx
add ecx, edx
mov edx, edi
imul edx, edi
add ecx, edx
cmp ecx, esi
jge 0x484e1e
mov esi, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x1c], ecx
add ecx, 0xfffffffe
add eax, 0x10
cmp ecx, 0x10
jl 0x484cf7
mov ebp, dword [esp + 0x20]
mov cl, byte [esp + 0x18]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
inc cl
mov byte [esp + eax + 0x17c], cl
inc eax
add edx, 4
cmp eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jl 0x484ce0
mov edx, dword [ebp + 0x13c]
mov eax, 1
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov eax, 0xf
shl edx, 5
mov ecx, dword [edx + ebp + 0x154]
cmp ecx, ebx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
lea eax, [edx + ebp + 0x14c]
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], ebx
jle 0x485765
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x2c]
push 0xffffffffffffffff
push eax
mov ecx, ebp
call fcn.004808c0
test al, al
je 0x485742
xor edx, edx
nop
cmp edx, 4
je 0x484f07
test byte [edx + ebp + 0x108], 0xf0
je 0x484f07
inc edx
cmp edx, 5
jl 0x484ef0
jmp 0x484f43
mov ecx, dword [ebp + 0x1c]
mov edi, dword [esp + 0x38]
and edx, 3
mov eax, edx
shl eax, 4
or eax, edx
mov dword [esp + 0x34], ebx
mov bl, al
sub ecx, 2
mov bh, bl
imul ecx, ecx, 0x168
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x34]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xfc]
lea esi, [eax + 1]
cmp esi, 2
jg 0x484f56
mov esi, 2
mov eax, dword [ebp + 0x104]
dec eax
cmp esi, eax
mov dword [esp + 0x18], esi
jge 0x48505f
lea esp, [esp]
mov ecx, dword [ebp + 0x1c]
sub ecx, esi
dec ecx
js 0x48505f
mov eax, dword [ebp + 0xf8]
mov edx, dword [ebp + 0x100]
mov edi, dword [ebp + 0xfc]
mov ecx, dword [ebp + 0x10c]
sub edx, eax
mov eax, esi
sub eax, edi
imul edx, eax
mov eax, dword [ebp + 0xf8]
lea edx, [ecx + edx*4 + 4]
mov ecx, dword [ebp + 0x100]
inc eax
dec ecx
cmp eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
jge 0x48504b
nop
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
and ecx, 0xffffff
cmp ecx, 0xff
jne 0x484fd8
xor dl, dl
jmp 0x484fec
cmp ecx, 0xff0000
jne 0x484fe4
mov dl, 1
jmp 0x484fec
cmp ecx, ebx
setne dl
add dl, 2
mov edi, dword [ebp + 0x1c]
sub edi, esi
mov esi, dword [esp + 0x38]
dec edi
imul edi, edi, 0x168
mov ecx, eax
sar ecx, 1
add esi, edi
add ecx, esi
test al, 1
movzx edx, dl
je 0x485016
xor eax, eax
mov al, byte [ecx]
and eax, 0xf0
jmp 0x485020
xor eax, eax
mov al, byte [ecx]
and eax, 0xf
shl edx, 4
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
or eax, edx
mov byte [ecx], al
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x100]
inc eax
add edi, 4
dec ecx
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edi
jl 0x484fc0
mov edx, dword [ebp + 0x104]
inc esi
dec edx
cmp esi, edx
mov dword [esp + 0x18], esi
jl 0x484f70
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3d0]
inc eax
push eax
push ecx
lea edx, [esp + 0x20]
push str._s__04d.bmp
push edx
mov byte [esp + 0x3d8], 0xa
call fcn.00407a50
mov esi, dword [esp + 0x28]
push 0x2f
push esi
call fcn.004b77bd
add esp, 0x18
cmp eax, ebx
jne 0x4850af
or eax, 0xffffffff
jmp 0x4850b3
sub eax, esi
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x20]
call fcn.00406f90
mov eax, dword [eax]
mov edi, dword [esp + 0x30]
add edi, 0xfffffff0
lea esi, [eax - 0x10]
cmp esi, edi
mov byte [esp + 0x3c8], 0xb
mov dword [esp + 0x34], edi
je 0x485181
cmp dword [edi + 0xc], ebx
jge 0x4850fe
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00403180
jmp 0x485181
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
cmp edx, ebx
lea ecx, [esi + 0xc]
jl 0x48511e
cmp eax, dword [esi]
jne 0x48511e
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x485163
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x4858b1
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x28]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
inc eax
lea ecx, [eax + eax]
lea edi, [edx + 0x10]
mov edx, ecx
add esi, 0x10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48517a
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
add esi, 0x10
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x120]
add eax, 0xfffffff0
mov byte [esp + 0x3c8], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4851aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor ecx, ecx
mov cl, byte [ebp + 0x10a]
xor edx, edx
mov dl, byte [ebp + 0x108]
xor eax, eax
mov al, byte [ebp + 0x109]
lea edi, [esp + 0x110]
and ecx, 0xf
movzx esi, byte [esp + ecx + 0x17c]
and edx, 0xf
movzx ecx, byte [esp + edx + 0x17c]
xor edx, edx
mov dl, byte [ebp + 0x10b]
and eax, 0xf
movzx eax, byte [esp + eax + 0x17c]
xor eax, esi
mov dword [esp + 0x118], ecx
and edx, 0xf
movzx ecx, byte [esp + edx + 0x17c]
xor esi, eax
xor eax, esi
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x114], esi
mov ecx, 4
lea esi, [esp + 0xb8]
xor edx, edx
mov dword [esp + 0x110], eax
repe cmpsd dword [esi], dword es:[edi]
je 0x485289
mov esi, dword [esp + 0x11c]
mov edx, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
push esi
push edx
push ecx
push eax
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x20]
push str.Color_t___d__d__d__d__n
push eax
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], esi
call fcn.00407a50
mov ecx, dword [esp + 0x28]
add esp, 0x18
push ecx
lea ecx, [esp + 0xa8]
call fcn.004d5949
movzx edx, byte [ebp + 0x108]
movzx eax, byte [ebp + 0x109]
movzx ecx, byte [ebp + 0x10a]
shr edx, 4
shr ecx, 4
mov dword [esp + 0x100], edx
movzx edx, byte [ebp + 0x10b]
shr eax, 4
xor eax, ecx
xor ecx, eax
shr edx, 4
xor eax, ecx
mov dword [esp + 0x104], edx
mov dword [esp + 0xfc], ecx
mov ecx, 4
lea edi, [esp + 0xf8]
lea esi, [esp + 0xc8]
xor edx, edx
mov dword [esp + 0xf8], eax
repe cmpsd dword [esi], dword es:[edi]
je 0x485344
mov esi, dword [esp + 0x104]
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0xfc]
push esi
push edx
push ecx
push eax
mov dword [esp + 0xd8], eax
lea eax, [esp + 0x20]
push str.Contrast___d__d__d__d__n
push eax
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], esi
call fcn.00407a50
mov ecx, dword [esp + 0x28]
add esp, 0x18
push ecx
lea ecx, [esp + 0xa8]
call fcn.004d5949
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [eax + 8]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, 0x3c
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x48], edx
cdq
idiv ecx
mov dword [esp + 0x94], edx
cdq
idiv ecx
cmp esi, 0x1e0
mov dword [esp + 0x98], edx
mov dword [esp + 0x28], eax
jne 0x485394
fld qword [0x50be40]
jmp 0x48539a
fld qword [0x50be38]
fild dword [esp + 0x48]
fmul st(1)
fmul qword [0x507ad0]
call fcn.004b76b8
fstp st(0)
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x10]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, 0x3c
mov dword [esp + 0x20], edx
cdq
idiv ecx
mov edi, edx
cdq
idiv ecx
cmp esi, 0x1e0
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
jne 0x4853e9
fld qword [0x50be40]
jmp 0x4853ef
fld qword [0x50be38]
fild dword [esp + 0x20]
fmul st(1)
fmul qword [0x507ad0]
call fcn.004b76b8
fstp st(0)
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x28], edx
jne 0x48546e
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x98], ecx
jne 0x48546e
cmp dword [esp + 0x94], edi
jne 0x48546e
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x48], eax
jne 0x48546e
xor edx, edx
inc eax
cmp esi, 0x1e0
setne dl
mov dword [esp + 0x20], eax
dec edx
and edx, 5
add edx, 0x19
cmp eax, edx
jne 0x48546e
inc edi
cmp edi, 0x3c
mov dword [esp + 0x20], ebx
jne 0x48546e
xor edi, edi
inc ecx
cmp ecx, 0x3c
mov dword [esp + 0x1c], ecx
jne 0x48546e
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x2c]
dec eax
cmp ecx, eax
jge 0x48554e
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x38]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, 0x3c
mov dword [esp + 0x34], edx
cdq
idiv ecx
mov dword [esp + 0x50], edx
cdq
idiv ecx
cmp esi, 0x1e0
mov dword [esp + 0x108], edx
mov dword [esp + 0x128], eax
jne 0x4854c2
fld qword [0x50be40]
jmp 0x4854c8
fld qword [0x50be38]
fild dword [esp + 0x34]
fmul st(1)
fmul qword [0x507ad0]
call fcn.004b76b8
fstp st(0)
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x128], edx
jne 0x48554e
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x108], ecx
jne 0x48554e
cmp dword [esp + 0x50], edi
jne 0x48554e
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jne 0x48554e
mov eax, ecx
dec eax
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x48554e
xor edx, edx
cmp esi, 0x1e0
setne dl
dec edx
and edx, 5
add edx, 0x18
dec edi
cmp edi, eax
mov dword [esp + 0x20], edx
jne 0x48554e
mov eax, dword [esp + 0x1c]
dec eax
cmp eax, 0xffffffff
mov edi, 0x3b
mov dword [esp + 0x1c], eax
jne 0x48554e
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x1c], edi
jle 0x48554e
dec eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], eax
jne 0x485599
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x98], ecx
jne 0x485599
cmp dword [esp + 0x94], edi
jne 0x485599
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x48], edx
jne 0x485599
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x3c8], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x485738
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
push edi
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0x44]
push ecx
inc eax
push edx
push eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x38]
push str._04d_t_02d:_02d:_02d:_02d_t_02d:_02d:_02d:_02d_t_s_n
push eax
call fcn.00407a50
mov ecx, dword [esp + 0x40]
add esp, 0x30
push ecx
lea ecx, [esp + 0xa8]
call fcn.004d5949
lea ecx, [esp + 0xd8]
call fcn.004d6a42
mov edi, dword [esp + 0x18]
push ebx
push 0x9001
push edi
lea ecx, [esp + 0xe4]
mov byte [esp + 0x3d4], 0xc
call fcn.004d6c93
test eax, eax
je 0x48570c
push 0xe
lea edx, [esp + 0x130]
push edx
lea ecx, [esp + 0xe0]
call fcn.004d678f
push 0x28
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0xe0]
call fcn.004d678f
push 0x40
lea ecx, [esp + 0x140]
push ecx
lea ecx, [esp + 0xe0]
call fcn.004d678f
mov edx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x38]
sub edx, 2
imul edx, edx, 0x168
push edx
push eax
lea ecx, [esp + 0xe0]
call fcn.004d678f
lea ecx, [esp + 0xd8]
call fcn.004d69e0
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
lea esi, [edi - 0x10]
mov dword [esp + 0x54], esp
mov dword [esp + 0x54], esp
call dword [edx + 0x10]
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
lea edx, [esi + 0xc]
jl 0x4856c3
cmp eax, dword [esi]
jne 0x4856c3
mov eax, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x4856fb
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
cmp eax, ebx
je 0x4858b1
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
add eax, 0x10
mov dword [ecx], eax
call fcn.00481630
add esp, 4
lea ecx, [esp + 0xd8]
mov byte [esp + 0x3c8], 0xa
call fcn.004d6a81
lea eax, [edi - 0x10]
mov byte [esp + 0x3c8], 9
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x485742
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 8]
inc eax
add esi, 0x30
cmp eax, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], esi
jl 0x484ed7
mov eax, dword [esp + 0x124]
mov dl, byte [esp + 0x27]
mov ecx, dword [esp + 0xe8]
mov dword [eax], ecx
mov ecx, dword [esp + 0xf0]
mov byte [ebp + 0x59], dl
mov edx, dword [esp + 0xec]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xf4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x38]
push eax
call fcn.004d2f9a
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x3c8], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4857d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x3c8], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4857f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x3c8], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48581c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x3c8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485842
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x3c8], bl
call fcn.004d5b25
mov eax, dword [esp + 0x3d0]
add eax, 0xfffffff0
mov dword [esp + 0x3c8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485881
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [esp + 0x3c0]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3bc]
xor ecx, dword [esp + 0x3cc]
call fcn.004b8f56
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3bc
ret 4
call fcn.00402690
int3