Function at 0x40285a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
mov esi, ecx
call fcn.00402790
xor ebx, ebx
cmp dword [esi], ebx
je 0x4028b1
push dword [ebp + 8]
lea ecx, [esi + 0x108]
call fcn.00414770
mov ecx, dword [esi]
lea eax, [esi + 0xf0]
push eax
push 0xaa
call fcn.004068e5
mov eax, dword [ebp + 0xc]
push 1
sub eax, ebx
pop edi
je 0x402940
dec eax
je 0x40291f
dec eax
je 0x40290b
dec eax
je 0x4028ea
dec eax
je 0x4028b9
dec eax
je 0x40290b
or eax, 0xffffffff
jmp 0x403533
mov ecx, dword [esi]
lea eax, [esi + 0xf8]
push eax
push 0x9b
call fcn.004068e5
lea eax, [esi + 0x100]
push eax
push 0x9c
mov ecx, dword [esi]
call fcn.004068e5
mov dword [esi + 0xec], ebx
jmp 0x40296c
mov ecx, dword [esi]
lea eax, [esi + 0xf8]
push eax
push 0x99
call fcn.004068e5
lea eax, [esi + 0x100]
push eax
push 0x9a
jmp 0x4028d8
cmp dword [ebp + 0xc], 2
lea eax, [esi + 0x100]
push eax
je 0x402939
push 0x9d
jmp 0x40295f
mov ecx, dword [esi]
lea eax, [esi + 0xf8]
push eax
push 0x9c
call fcn.004068e5
lea eax, [esi + 0x100]
push eax
push 0x98
jmp 0x40295f
mov ecx, dword [esi]
lea eax, [esi + 0xf8]
push eax
push 0x97
call fcn.004068e5
lea eax, [esi + 0x100]
push eax
push 0x96
mov ecx, dword [esi]
call fcn.004068e5
mov dword [esi + 0xec], edi
mov eax, dword [esi]
cmp dword [eax + 0x695], ebx
je 0x402ce7
add eax, 0x11c
push 0xb
mov dword [ebp - 0x40], eax
pop ecx
mov eax, dword [eax + 8]
lea edi, [ebp - 0x9c]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xa0], ebx
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0xa0]
push eax
push str.RealNetworks.Message
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
jne 0x402a4c
push ebx
mov dword [ebp - 0xa0], 0x30
mov dword [ebp - 0x9c], 0x23
mov dword [ebp - 0x78], str.RealNetworks.Message
mov dword [ebp - 0x98], 0x40215e
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
call edi
push 0x7f00
push ebx
mov dword [ebp - 0x8c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x67
push ebx
mov dword [ebp - 0x84], eax
call edi
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x67
push ebx
mov dword [ebp - 0x88], eax
call edi
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0x80], 5
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x402ce7
lea ecx, [esi + 0x38]
call fcn.00401c50
lea ecx, [esi + 0x64]
call fcn.00401c50
lea ecx, [esi + 0x90]
call fcn.00401c50
lea ecx, [esi + 0xbc]
call fcn.00401c50
mov ecx, dword [esi]
mov eax, 0x1f4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
add ecx, 0x699
push eax
push dword [ebp + 8]
call fcn.004018bd
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jl 0x403528
cmp eax, 1
jle 0x402b7b
cmp eax, 2
je 0x402ac2
jle 0x403528
cmp eax, 4
jle 0x402b7b
cmp eax, 5
jne 0x403528
mov eax, dword [esi]
mov edi, str.RUP_
add eax, 0x38
push edi
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00414850
add esp, 0xc
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 0xc]
push str.skin_button_up.bmp
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.00414850
mov ecx, dword [esi]
add esp, 0xc
push eax
lea eax, [esi + 0x90]
push eax
call fcn.00406574
lea ecx, [ebp - 0xec]
mov ebx, eax
call fcn.004146c0
lea ecx, [ebp - 0xc]
call fcn.004146c0
test ebx, ebx
jl 0x402cda
mov eax, dword [esi]
push edi
add eax, 0x38
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00414850
add esp, 0xc
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 0x60]
push str.skin_button_dn.bmp
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00414850
mov ecx, dword [esi]
add esp, 0xc
push eax
lea eax, [esi + 0xbc]
push eax
call fcn.00406574
lea ecx, [ebp - 0xe4]
mov ebx, eax
call fcn.004146c0
lea ecx, [ebp - 0x60]
jmp 0x402cd5
mov eax, dword [esi]
mov edi, str.RUP_
add eax, 0x38
push edi
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00414850
add esp, 0xc
lea eax, [esi + 0xf8]
push eax
lea eax, [ebp - 0x68]
push str.skin_button_up.bmp
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00414850
mov ecx, dword [esi]
add esp, 0xc
push eax
lea eax, [esi + 0x38]
push eax
call fcn.00406574
lea ecx, [ebp - 0xf4]
mov ebx, eax
call fcn.004146c0
lea ecx, [ebp - 0x68]
call fcn.004146c0
test ebx, ebx
jl 0x402cda
mov eax, dword [esi]
push edi
add eax, 0x38
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00414850
add esp, 0xc
lea eax, [esi + 0xf8]
push eax
lea eax, [ebp - 0x70]
push str.skin_button_dn.bmp
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.00414850
mov ecx, dword [esi]
add esp, 0xc
push eax
lea eax, [esi + 0x64]
push eax
call fcn.00406574
lea ecx, [ebp - 0xfc]
mov ebx, eax
call fcn.004146c0
lea ecx, [ebp - 0x70]
call fcn.004146c0
test ebx, ebx
jl 0x402cda
mov eax, dword [esi]
push edi
add eax, 0x38
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00414850
add esp, 0xc
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 0x34]
push str.skin_button_up.bmp
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00414850
mov ecx, dword [esi]
add esp, 0xc
push eax
lea eax, [esi + 0x90]
push eax
call fcn.00406574
lea ecx, [ebp - 0x48]
mov ebx, eax
call fcn.004146c0
lea ecx, [ebp - 0x34]
call fcn.004146c0
test ebx, ebx
jl 0x402cda
mov eax, dword [esi]
push edi
add eax, 0x38
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00414850
add esp, 0xc
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 0x2c]
push str.skin_button_dn.bmp
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00414850
mov ecx, dword [esi]
add esp, 0xc
push eax
lea eax, [esi + 0xbc]
push eax
call fcn.00406574
lea ecx, [ebp - 0x3c]
mov ebx, eax
call fcn.004146c0
lea ecx, [ebp - 0x2c]
call fcn.004146c0
mov eax, dword [esi + 0x98]
add dword [ebp - 0x10], eax
test ebx, ebx
jge 0x402cef
push dword [ebp + 0xc]
jmp 0x403529
lea ecx, [ebp - 0x128]
call fcn.00401c31
mov ebx, dword [ebp + 0xc]
cmp ebx, 1
jle 0x402d5b
cmp ebx, 3
jle 0x402d15
cmp ebx, 4
je 0x402d5b
cmp ebx, 5
jne 0x402da4
mov eax, dword [esi]
push edi
add eax, 0x38
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00414850
lea eax, [ebp - 0x2c]
push str.skinicon_alert.bmp
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00414850
add esp, 0x18
cmp byte [eax + 7], 0xff
jne 0x402d42
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x128]
call fcn.00401dd4
lea ecx, [ebp - 0x3c]
call fcn.004146c0
lea ecx, [ebp - 0x2c]
jmp 0x402d9f
mov eax, dword [esi]
push edi
add eax, 0x38
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00414850
lea eax, [ebp - 0x34]
push str.skinicon_info.bmp
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00414850
add esp, 0x18
cmp byte [eax + 7], 0xff
jne 0x402d88
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x128]
call fcn.00401dd4
lea ecx, [ebp - 0x48]
call fcn.004146c0
lea ecx, [ebp - 0x34]
call fcn.004146c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x124]
lea eax, [eax + ecx + 0x1e]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x120]
jg 0x402dc5
mov eax, dword [ebp - 0x120]
add eax, 0x1e
mov dword [ebp - 0x10], eax
mov eax, 0x190
cmp dword [ebp - 0x14], eax
jge 0x402dd8
mov dword [ebp - 0x14], eax
push 0x64
pop eax
cmp dword [ebp - 0x10], eax
jge 0x402de3
mov dword [ebp - 0x10], eax
mov eax, 0x1f4
cmp dword [ebp - 0x14], eax
jle 0x402df0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x24]
push 1
push ecx
lea ecx, [ebp - 0x58]
lea eax, [esi + 0xc]
push ecx
mov ecx, dword [esi]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00406610
test eax, eax
jge 0x402e21
push ebx
push dword [ebp + 8]
mov ecx, esi
call fcn.004027c1
mov esi, eax
jmp 0x40350b
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x124]
add eax, edx
add edx, 0xa
mov dword [ebp - 0xb0], edx
lea ecx, [eax + 0x14]
add eax, 0xa
mov dword [ebp - 0xc0], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x120]
lea edi, [ecx + 0xf]
lea edx, [ecx + 0xa]
mov dword [ebp - 0xbc], edi
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff6
lea eax, [ecx + eax + 0xa]
mov dword [ebp - 0xb8], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0xa4], eax
add edi, 0xfffffff6
lea eax, [ebp - 0x128]
mov dword [ebp - 0xb4], edi
push eax
lea eax, [ebp - 0xb0]
lea edi, [esi + 0xc]
push eax
mov ecx, edi
mov dword [ebp - 0xac], edx
call fcn.00401f51
mov ecx, edi
call fcn.00401e2b
mov ecx, dword [esi]
lea eax, [ebp - 0xc0]
push eax
push 0
push dword [ebp + 8]
add ecx, 0x699
push dword [esi + 0x34]
call fcn.00401b69
mov ecx, edi
call fcn.00401e50
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x4c]
sub edi, dword [ebp - 0x58]
sub ebx, dword [ebp - 0x54]
push 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
push 0x11
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
lea edx, [esi + 0xf0]
sar ecx, 1
sar eax, 1
sub ecx, eax
cmp byte [esi + 0xf7], 0xff
jne 0x402f1a
mov edx, dword [esi + 0xf0]
mov eax, dword [ebp - 4]
push esi
push 0
push 0
push eax
push ebx
push edi
push ecx
push dword [ebp - 8]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
neg eax
sbb eax, eax
push 0x80000800
push edx
and eax, 0x80
push str.RealNetworks.Message
push eax
call edi
test eax, eax
mov dword [esi + 4], eax
je 0x403067
push 0xff00ff
lea ecx, [esi + 0xc]
call fcn.00401c8e
push 1
push dword [esi + 0x30]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowRgn]
push esi
push 0xffffffffffffffeb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0xfa
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esi]
push str.RUP_
add eax, 0x38
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00414850
lea eax, [ebp - 0x2c]
push str.skinclose.bmp
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00414850
add esp, 0x18
cmp byte [eax + 7], 0xff
jne 0x402fcf
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x114]
call fcn.00401dd4
lea ecx, [ebp - 0x3c]
call fcn.004146c0
lea ecx, [ebp - 0x2c]
call fcn.004146c0
mov eax, dword [esi + 0x118]
push 4
cdq
pop ecx
mov ebx, str.BUTTON
idiv ecx
mov ecx, dword [esi + 0x11c]
xor edx, edx
push edx
push edx
push edx
push dword [esi + 4]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 6
push eax
push ecx
mov ecx, dword [ebp - 0x50]
sub ecx, eax
sub ecx, 0x14
push ecx
push 0x5000000b
push 0x43e1d4
push ebx
push 0x20
call edi
test eax, eax
jne 0x403038
mov ecx, esi
call fcn.00402790
jmp 0x403067
mov eax, dword [ebp + 0xc]
and dword [ebp - 8], 0
sub eax, 0
je 0x4032c7
dec eax
je 0x40321b
dec eax
je 0x4031c7
dec eax
je 0x40311b
dec eax
je 0x40306f
dec eax
je 0x4031c7
push dword [ebp + 0xc]
jmp 0x402e10
cmp byte [esi + 0xff], 0xff
lea eax, [esi + 0xf8]
mov ecx, eax
jne 0x403082
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x3c]
push 0
push 0
push 7
add edx, 4
push dword [esi + 4]
push dword [esi + 0x40]
push eax
push edx
mov edx, dword [ebp - 0x1c]
sub edx, dword [esi + 0x94]
sub edx, eax
sub edx, 0x14
push edx
push 0x5000000b
push ecx
push ebx
push 0x20
call edi
cmp byte [esi + 0x107], 0xff
mov dword [ebp - 8], eax
lea ecx, [esi + 0x100]
jne 0x4030cb
mov ecx, dword [esi + 0x100]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x94]
push 0
push 0
push 5
add edx, 4
push dword [esi + 4]
push dword [esi + 0x98]
push eax
push edx
mov edx, dword [ebp - 0x1c]
sub edx, eax
sub edx, 0xa
push edx
push 0x5000000b
push ecx
push ebx
push 0x20
call edi
cmp dword [ebp - 8], 0
mov dword [ebp - 4], eax
je 0x40310d
test eax, eax
jne 0x403369
mov ecx, esi
call fcn.00402790
push 4
jmp 0x402e10
cmp byte [esi + 0xff], 0xff
lea eax, [esi + 0xf8]
mov ecx, eax
jne 0x40312e
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x3c]
push 0
push 0
push 6
add edx, 4
push dword [esi + 4]
push dword [esi + 0x40]
push eax
push edx
mov edx, dword [ebp - 0x1c]
sub edx, dword [esi + 0x94]
sub edx, eax
sub edx, 0x14
push edx
push 0x5000000b
push ecx
push ebx
push 0x20
call edi
cmp byte [esi + 0x107], 0xff
mov dword [ebp - 8], eax
lea ecx, [esi + 0x100]
jne 0x403177
mov ecx, dword [esi + 0x100]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x94]
push 0
push 0
push 5
add edx, 4
push dword [esi + 4]
push dword [esi + 0x98]
push eax
push edx
mov edx, dword [ebp - 0x1c]
sub edx, eax
sub edx, 0xa
push edx
push 0x5000000b
push ecx
push ebx
push 0x20
call edi
cmp dword [ebp - 8], 0
mov dword [ebp - 4], eax
je 0x4031b9
test eax, eax
jne 0x403369
mov ecx, esi
call fcn.00402790
push 3
jmp 0x402e10
cmp byte [esi + 0x107], 0xff
lea eax, [esi + 0x100]
mov ecx, eax
jne 0x4031da
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x94]
push 0
push 0
push 3
add edx, 4
push dword [esi + 4]
push dword [esi + 0x98]
push eax
push edx
mov edx, dword [ebp - 0x1c]
sub edx, eax
sub edx, 0xa
push edx
push 0x5000000b
push ecx
push ebx
push 0x20
call edi
test eax, eax
mov dword [ebp - 4], eax
je 0x40302f
jmp 0x40336c
cmp byte [esi + 0xff], 0xff
lea eax, [esi + 0xf8]
mov ecx, eax
jne 0x40322e
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x3c]
push 0
push 0
push 4
add edx, 4
push dword [esi + 4]
push dword [esi + 0x40]
push eax
push edx
mov edx, dword [ebp - 0x1c]
sub edx, dword [esi + 0x94]
sub edx, eax
sub edx, 0x14
push edx
push 0x5000000b
push ecx
push ebx
push 0x20
call edi
cmp byte [esi + 0x107], 0xff
mov dword [ebp - 8], eax
lea ecx, [esi + 0x100]
jne 0x403277
mov ecx, dword [esi + 0x100]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x94]
push 0
push 0
push 3
add edx, 4
push dword [esi + 4]
push dword [esi + 0x98]
push eax
push edx
mov edx, dword [ebp - 0x1c]
sub edx, eax
sub edx, 0xa
push edx
push 0x5000000b
push ecx
push ebx
push 0x20
call edi
cmp dword [ebp - 8], 0
mov dword [ebp - 4], eax
je 0x4032b9
test eax, eax
jne 0x40336c
mov ecx, esi
call fcn.00402790
push 1
jmp 0x402e10
cmp byte [esi + 0xff], 0xff
lea eax, [esi + 0xf8]
mov ecx, eax
jne 0x4032da
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x3c]
push 0
push 0
push 2
add edx, 4
push dword [esi + 4]
push dword [esi + 0x40]
push eax
push edx
mov edx, dword [ebp - 0x1c]
sub edx, dword [esi + 0x94]
sub edx, eax
sub edx, 0x14
push edx
push 0x5000000b
push ecx
push ebx
push 0x20
call edi
cmp byte [esi + 0x107], 0xff
mov dword [ebp - 8], eax
lea ecx, [esi + 0x100]
jne 0x403323
mov ecx, dword [esi + 0x100]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x94]
push 0
push 0
push 1
add edx, 4
push dword [esi + 4]
push dword [esi + 0x98]
push eax
push edx
mov edx, dword [ebp - 0x1c]
sub edx, eax
sub edx, 0xa
push edx
push 0x5000000b
push ecx
push ebx
push 0x20
call edi
cmp dword [ebp - 8], 0
mov dword [ebp - 4], eax
je 0x40351a
test eax, eax
je 0x40351a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x40]
push 0
mov dword [ebp + 8], eax
call fcn.00403b92
push dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_SetFocus]
call ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetActiveWindow]
or dword [esi + 0xe8], 0xffffffff
and dword [ebp - 0xdc], 0
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0xd8]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x403474
cmp dword [ebp - 0xd8], 0x102
jne 0x403458
cmp dword [ebp - 0xd4], 0xd
jne 0x403408
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
je 0x403458
push 0xfffffffffffffff4
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [esi + 0xe8], eax
jmp 0x403458
cmp dword [ebp - 0xd4], 9
jne 0x403458
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebp - 8]
jne 0x40342b
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call edi
push dword [ebp - 4]
jmp 0x403452
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebp - 4]
jne 0x403445
push dword [ebp - 8]
call ebx
push dword [ebp - 8]
call edi
push dword [ebp - 8]
jmp 0x403452
push dword [ebp + 8]
call ebx
push dword [ebp + 8]
call edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40347c
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0xe8], 0xffffffff
je 0x4033b7
mov eax, dword [esi + 0xe8]
test eax, eax
jne 0x4034d4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4034c8
cmp eax, 1
je 0x4034d9
cmp eax, 2
je 0x4034bc
jle 0x4034e3
push 4
pop ecx
cmp eax, ecx
jle 0x4034b4
cmp eax, 5
je 0x4034bc
jmp 0x4034e3
mov dword [esi + 0xe8], ecx
jmp 0x4034e3
mov dword [esi + 0xe8], 3
jmp 0x4034e3
mov dword [esi + 0xe8], 2
jmp 0x4034e3
cmp eax, 5
jne 0x4034e3
mov dword [esi + 0xe8], 4
mov ecx, esi
call fcn.00402790
mov ecx, dword [ebp - 0x40]
push 1
call fcn.00403b92
cmp dword [esi + 8], 0
je 0x403505
mov ecx, dword [esi]
test ecx, ecx
je 0x403505
call fcn.0040353a
mov esi, dword [esi + 0xe8]
lea ecx, [ebp - 0x128]
call fcn.00401c4b
mov eax, esi
jmp 0x403533
mov ecx, esi
call fcn.00402790
push 0
jmp 0x402e10
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.004027c1
pop edi
pop esi
pop ebx
leave
ret 8