Function at 0x458c80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525248
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x595cb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x458cc2
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x458ce9
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, eax
mov dword [ebp - 0x34], edx
lea ecx, [edx + 0x10]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x459217
cmp dword [edi + 0x18], 0
je 0x459217
push 0xb
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x458d3b
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 2
mov ebx, dword [ebp + 8]
mov ecx, ebx
push str.type
call fcn.00438d70
cmp eax, 0x59c858
je 0x458daa
push str.type
mov ecx, ebx
call fcn.00438d70
cmp byte [eax + 8], 4
jne 0x458daa
push str.type
mov ecx, ebx
call fcn.00438d70
mov edi, eax
cmp byte [edi + 8], 4
je 0x458d9d
push 0x2a9
push 0x56ef58
push str.type___stringValue
call fcn.00508598
add esp, 0xc
push dword [edi]
lea ecx, [ebp - 0x28]
call fcn.0041fa30
mov edi, dword [ebp - 0x28]
push str.showTimeMs
mov ecx, ebx
mov dword [ebp - 0x30], 0x12c
call fcn.00438d70
cmp eax, 0x59c858
je 0x458df9
push str.showTimeMs
mov ecx, ebx
call fcn.00438d70
mov al, byte [eax + 8]
cmp al, 1
je 0x458de3
cmp al, 2
je 0x458de3
cmp al, 5
je 0x458de3
cmp al, 3
jne 0x458df9
push str.showTimeMs
mov ecx, ebx
call fcn.00438d70
mov ecx, eax
call fcn.00438670
mov dword [ebp - 0x30], eax
push 0x571c24
mov ecx, ebx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00438d70
cmp eax, 0x59c858
je 0x458e4f
push 0x571c24
mov ecx, ebx
call fcn.00438d70
mov al, byte [eax + 8]
cmp al, 1
je 0x458e39
cmp al, 2
je 0x458e39
cmp al, 5
je 0x458e39
cmp al, 3
jne 0x458e4f
push 0x571c24
mov ecx, ebx
call fcn.00438d70
mov ecx, eax
call fcn.00438670
mov dword [ebp - 0x24], eax
push 0x571c2c
mov ecx, ebx
call fcn.00438d70
cmp eax, 0x59c858
je 0x458e97
push 0x571c2c
mov ecx, ebx
call fcn.00438d70
mov al, byte [eax + 8]
cmp al, 1
je 0x458e81
cmp al, 2
je 0x458e81
cmp al, 5
je 0x458e81
cmp al, 3
jne 0x458e97
push 0x571c2c
mov ecx, ebx
call fcn.00438d70
mov ecx, eax
call fcn.00438670
mov dword [ebp - 0x20], eax
mov edx, str.fade
mov ecx, edi
nop
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x458ec6
test ax, ax
je 0x458ec2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x458ec6
add ecx, 4
add edx, 4
test ax, ax
jne 0x458ea0
xor eax, eax
jmp 0x458ecb
sbb eax, eax
or eax, 1
test eax, eax
sete byte [ebp - 0xd]
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x458ee6
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.bgImagePath
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00438d70
cmp eax, 0x59c858
je 0x458f75
push str.bgImagePath
mov ecx, ebx
call fcn.00438d70
cmp byte [eax + 8], 4
jne 0x458f75
push str.bgImagePath
mov ecx, ebx
call fcn.00438d70
mov esi, eax
cmp byte [esi + 8], 4
je 0x458f45
push 0x2a9
push 0x56ef58
push str.type___stringValue
call fcn.00508598
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x458f4f
xor ecx, ecx
jmp 0x458f5d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x458f54
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.0042cb10
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.0042c0f0
mov esi, dword [ebp - 0x1c]
cmp byte [ebp - 0xd], 0
je 0x459047
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x459047
push str.marginx
mov ecx, ebx
mov dword [ebp - 0x2c], 0xa
call fcn.00438d70
cmp eax, 0x59c858
je 0x458fdb
push str.marginx
mov ecx, ebx
call fcn.00438d70
mov al, byte [eax + 8]
cmp al, 1
je 0x458fc5
cmp al, 2
je 0x458fc5
cmp al, 5
je 0x458fc5
cmp al, 3
jne 0x458fdb
push str.marginx
mov ecx, ebx
call fcn.00438d70
mov ecx, eax
call fcn.00438670
mov dword [ebp - 0x2c], eax
push str.marginy
mov ecx, ebx
call fcn.00438d70
cmp eax, 0x59c858
je 0x459022
push str.marginy
mov ecx, ebx
call fcn.00438d70
mov al, byte [eax + 8]
cmp al, 1
je 0x45900d
cmp al, 2
je 0x45900d
cmp al, 5
je 0x45900d
cmp al, 3
jne 0x459022
push str.marginy
mov ecx, ebx
call fcn.00438d70
mov ecx, eax
call fcn.00438670
jmp 0x459027
mov eax, 0xa
mov ecx, dword [ebp - 0x14]
lea ebx, [ebp - 0x18]
push ebx
push eax
push dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x10]
push 0
push dword [ebp - 0x20]
mov edx, dword [ecx]
push dword [ebp - 0x24]
call dword [edx + 0x24]
mov ebx, dword [ebp + 8]
jmp 0x45909b
push 0x56ba60
lea ecx, [ebp + 8]
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x3c], 0
call fcn.0041f910
mov ecx, dword [ebp - 0x14]
lea edx, [ebp + 8]
push edx
mov byte [ebp - 4], 4
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ecx + 0x10]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45909b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x4590d7
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [eax + 0x18]
call ebx
mov eax, dword [ebp - 0x14]
push 5
push dword [eax + 0x14]
call ebx
mov ebx, dword [ebp - 0x14]
push 1
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [ebx + 0x10]
push 0
mov eax, dword [ecx]
call dword [eax + 0x2c]
jmp 0x4591d8
push 0x571c4c
mov ecx, ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
call fcn.00438d70
cmp eax, 0x59c858
je 0x45912d
push 0x571c4c
mov ecx, ebx
call fcn.00438d70
mov al, byte [eax + 8]
cmp al, 1
je 0x459117
cmp al, 2
je 0x459117
cmp al, 5
je 0x459117
cmp al, 3
jne 0x45912d
push 0x571c4c
mov ecx, ebx
call fcn.00438d70
mov ecx, eax
call fcn.00438670
mov dword [ebp - 0x2c], eax
push 0x571c54
mov ecx, ebx
call fcn.00438d70
cmp eax, 0x59c858
je 0x459175
push 0x571c54
mov ecx, ebx
call fcn.00438d70
mov al, byte [eax + 8]
cmp al, 1
je 0x45915f
cmp al, 2
je 0x45915f
cmp al, 5
je 0x45915f
cmp al, 3
jne 0x459175
push 0x571c54
mov ecx, ebx
call fcn.00438d70
mov ecx, eax
call fcn.00438670
mov dword [ebp - 0x24], eax
push str.rollFlag
mov ecx, ebx
call fcn.00438d70
cmp eax, 0x59c858
je 0x4591be
push str.rollFlag
mov ecx, ebx
call fcn.00438d70
mov al, byte [eax + 8]
cmp al, 1
je 0x4591a7
cmp al, 2
je 0x4591a7
cmp al, 5
je 0x4591a7
cmp al, 3
jne 0x4591be
push str.rollFlag
mov ecx, ebx
call fcn.00438d70
mov ecx, eax
call fcn.00438670
mov edx, eax
jmp 0x4591c1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push edx
push dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
push dword [ebp - 0x24]
push dword [ebp - 0x30]
mov eax, dword [ecx]
push 0
call dword [eax + 0x30]
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4591f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x459214
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45922f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45924b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4