Function at 0x41f970
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x24ec
call fcn.00436600
mov eax, dword [esp + 0x24f4]
push ebx
push ebp
push esi
cmp eax, 0x53
push edi
jne 0x41fa74
mov eax, dword [0x47bc30]
cmp eax, 0xffffffff
je 0x421b35
mov edx, dword [esp + 0x2500]
lea ecx, [esp + 0x450]
push ecx
push eax
push 0x189
push 0x3fd
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea eax, [esp + 0x451]
mov byte [esp + 0x454], 0
push eax
call fcn.004366e2
mov ecx, dword [0x47baf0]
and eax, 0xffff
add esp, 4
cmp eax, ecx
je 0x421b35
push eax
lea ecx, [esp + 0x454]
push str._04d_n
push ecx
call fcn.004361ae
lea edi, [esp + 0x45c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
inc ecx
push edx
lea eax, [esp + 0x460]
push ecx
push eax
push 0x4b
call fcn.0042f0e0
mov ecx, dword [0x3301438]
add esp, 0x1c
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x47428bc]
lea ecx, [esp + 0x10]
mov eax, dword [edx*4 + 0x47b22c]
push eax
push esi
push ecx
call fcn.0042e140
mov edx, dword [0x3301438]
add esp, 0xc
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24ec
ret 0x10
cmp eax, 0x200
ja 0x421b1e
je 0x4218a4
cmp eax, 0x110
ja 0x41fcb8
je 0x41faf0
cmp eax, 3
je 0x41fab9
cmp eax, 8
jne 0x421b35
pop edi
pop esi
pop ebp
mov dword [0x4747998], 0
xor eax, eax
pop ebx
add esp, 0x24ec
ret 0x10
mov ecx, dword [0x47428c8]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
pop edi
pop esi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [0x47b528], eax
pop ebp
mov dword [0x47b524], edx
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov esi, dword [esp + 0x2500]
mov ebx, 1
push ebx
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov eax, dword [0x4740584]
test eax, eax
je 0x41fb27
cmp dword [0x4740588], ebx
je 0x41fb27
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0x184
push 0x3fd
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, 0x3e8
xor eax, eax
mov edi, 0x485d1c
mov dword [0x47428fc], eax
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
mov edi, 0x471e610
rep stosd dword es:[edi], eax
call fcn.00436817
and eax, 0x800000ff
jns 0x41fb6e
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00436817
and eax, 0x800000ff
jns 0x41fb85
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00436817
and eax, 0x800000ff
jns 0x41fb9c
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x12], al
call fcn.00436817
and eax, 0x800000ff
jns 0x41fbb3
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x13], al
call fcn.00436817
and eax, 0x800000ff
jns 0x41fbca
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00436817
and eax, 0x800000ff
jns 0x41fbe1
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x15], al
call fcn.00436817
and eax, 0x800000ff
jns 0x41fbf8
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00436817
and eax, 0x800000ff
jns 0x41fc0f
dec eax
or eax, 0xffffff00
inc eax
mov cl, byte [0x47bb10]
mov byte [esp + 0x17], al
mov byte [esp + 0x18], cl
call fcn.00436817
and eax, 0x800000ff
jns 0x41fc30
dec eax
or eax, 0xffffff00
inc eax
lea edx, [esp + 0x28]
mov byte [esp + 0x19], al
push edx
lea eax, [esp + 0x14]
push 0xa
push eax
push 0x10
call fcn.0042f0e0
mov ecx, dword [0x3301438]
add esp, 0x10
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x47428bc]
lea ecx, [esp + 0x28]
mov eax, dword [edx*4 + 0x47b22c]
push eax
push esi
push ecx
call fcn.0042e140
mov edx, dword [0x3301438]
add esp, 0xc
push 0
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
or eax, 0xffffffff
mov dword [0x47b53c], ebx
mov dword [0x47bc30], eax
mov dword [0x475a30], eax
mov eax, dword [0x32fb544]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24ec
ret 0x10
cmp eax, 0x111
jne 0x421b35
mov esi, dword [esp + 0x2508]
mov eax, esi
and eax, 0xffff
cmp eax, 0x405
jg 0x420820
je 0x420641
cmp eax, 0x401
jg 0x420067
je case.0x420836.1037
cmp eax, 0x3fd
jg case.0x420836.1037
je 0x41ff38
dec eax
je 0x41fd3a
dec eax
jne case.0x420836.1037
mov ecx, dword [esp + 0x2500]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop edi
pop esi
mov dword [0x47428c8], eax
mov dword [0x47b53c], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov eax, dword [0x47bc30]
cmp eax, 0xffffffff
je case.0x420836.1037
mov ebx, dword [esp + 0x2500]
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea edx, [esp + 0x50]
push edx
push eax
push 0x189
push 0x3fd
push ebx
call esi
lea eax, [esp + 0x51]
mov byte [esp + 0x54], 0
push eax
call fcn.004366e2
mov edi, eax
mov eax, dword [0x47baf0]
mov ecx, edi
add esp, 4
and ecx, 0xffff
cmp ecx, eax
je case.0x420836.1037
mov edx, dword [0x47bc30]
push 0
push edx
push 0x182
push 0x3fd
push ebx
call esi
mov ecx, dword [0x47bc30]
mov edx, dword [0x47428c8]
mov al, 0x58
mov byte [esp + 0x54], 0x5d
mov byte [esp + 0x51], al
mov byte [esp + 0x52], al
mov byte [esp + 0x53], al
lea eax, [esp + 0x50]
push eax
push ecx
push 0x181
push 0x3fd
push edx
call esi
mov ecx, dword [0x47bc30]
mov edx, dword [0x47428c8]
lea eax, [esp + 0x50]
push eax
push ecx
push 0x186
push 0x3fd
push edx
call esi
call fcn.00436817
and eax, 0x800000ff
jns 0x41fe0b
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00436817
and eax, 0x800000ff
jns 0x41fe22
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00436817
and eax, 0x800000ff
jns 0x41fe39
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00436817
and eax, 0x800000ff
jns 0x41fe50
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x19], al
mov eax, dword [0x47bc30]
push 0xa
mov word [esp + 0x1b], di
mov ecx, dword [eax*4 + 0x485d1c]
mov eax, dword [0x47baf0]
mov dword [esp + 0x16], ecx
lea ecx, [esp + 0x14]
lea edx, [eax + eax*4]
lea eax, [edx*2 + 0x4413b8]
push eax
push 0xa
push ecx
call fcn.00401430
mov eax, dword [0x4740584]
add esp, 0x10
test eax, eax
je 0x41fea3
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
push edx
push 0xa
push eax
push 0x12
jmp 0x41feb1
lea ecx, [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push 0xa
push edx
push 0x11
call fcn.0042f0e0
add esp, 0x10
mov esi, eax
mov eax, dword [0x3301438]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x47428bc]
lea eax, [esp + 0x28]
mov edx, dword [ecx*4 + 0x47b22c]
push edx
push esi
push eax
call fcn.0042e140
mov ecx, dword [0x3301438]
add esp, 0xc
push 0
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ecx, dword [0x47bc30]
mov eax, 0x1f90f18
mov dl, byte [eax - 8]
test dl, dl
je 0x41ff1c
mov edx, dword [ecx*4 + 0x485d1c]
mov esi, dword [eax - 7]
cmp edx, esi
jne 0x41ff1c
or byte [eax], 1
add eax, 0x5a
cmp eax, 0x1fa6ea8
jl 0x41ff04
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov ebx, dword [esp + 0x2500]
mov ebp, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
shr esi, 0x10
cmp si, 1
mov dword [esp + 0x48], esi
jne 0x42001a
push 0
push 0
push 0x188
push 0x3fd
push ebx
call ebp
mov dword [0x47bc30], eax
mov dword [esp + 0x4c], eax
mov eax, dword [0x47428d0]
test eax, eax
je 0x420010
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x50]
push eax
push ecx
push 0x189
push 0x3fd
push ebx
call ebp
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x4740390
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x54], al
lea eax, [esp + 0x51]
push eax
call fcn.004366e2
mov edx, dword [0x47baf0]
mov ecx, eax
and ecx, 0xffff
add esp, 4
cmp ecx, edx
je 0x41fffd
mov edx, dword [0x47bc30]
mov ecx, dword [esp + 0x4c]
mov word [0x475a34], ax
mov dword [0x475a30], ecx
mov eax, dword [edx*4 + 0x485d1c]
mov dword [0x475a38], eax
mov edx, dword [0x47428d0]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [esp + 0x48]
jmp 0x42001a
mov dword [0x475a30], 0xffffffff
cmp si, 2
jne case.0x420836.1037
push 0
push 0
push 0x188
push 0x3fd
push ebx
call ebp
lea ecx, [esp + 0x50]
push ecx
push eax
push 0x189
push 0x3fd
push ebx
call ebp
lea edx, [esp + 0x50]
push edx
call fcn.00423730
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24ec
ret 0x10
sub eax, 0x402
je 0x4203e2
dec eax
je 0x420231
dec eax
jne case.0x420836.1037
mov eax, dword [0x4740584]
test eax, eax
jne 0x4200c4
mov eax, dword [0x47bb10]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
xor ecx, ecx
mov cx, word [eax + edx*2 + 0x4ede61]
mov eax, dword [0x47baf0]
cmp ecx, eax
je 0x4200c4
mov eax, dword [0x474051c]
test eax, eax
je case.0x420836.1037
cmp dword [0x474058c], 0x100
jne case.0x420836.1037
call fcn.00436817
and eax, 0x800000ff
jns 0x4200d7
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4200ee
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420105
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x12], al
call fcn.00436817
and eax, 0x800000ff
jns 0x42011c
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x13], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420133
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00436817
and eax, 0x800000ff
jns 0x42014a
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x15], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420161
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420178
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x17], al
call fcn.00436817
and eax, 0x800000ff
jns 0x42018f
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x18], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4201a6
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x19], al
mov eax, dword [0x47baf0]
push 0xa
lea ecx, [esp + 0x14]
lea edx, [eax + eax*4]
lea eax, [edx*2 + 0x4413b8]
push eax
push 0xa
push ecx
call fcn.00401430
lea edx, [esp + 0x38]
lea eax, [esp + 0x20]
push edx
push 0xa
push eax
push 0x27
call fcn.0042f0e0
mov ecx, dword [0x3301438]
add esp, 0x20
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x47428bc]
lea ecx, [esp + 0x28]
mov eax, dword [edx*4 + 0x47b22c]
push eax
push esi
push ecx
call fcn.0042e140
mov edx, dword [0x3301438]
add esp, 0xc
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov eax, dword [0x4740584]
test eax, eax
jne 0x420275
mov eax, dword [0x47bb10]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
xor ecx, ecx
mov cx, word [eax + edx*2 + 0x4ede61]
mov eax, dword [0x47baf0]
cmp ecx, eax
je 0x420275
mov eax, dword [0x474051c]
test eax, eax
je case.0x420836.1037
cmp dword [0x474058c], 0x100
jne case.0x420836.1037
call fcn.00436817
and eax, 0x800000ff
jns 0x420288
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00436817
and eax, 0x800000ff
jns 0x42029f
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4202b6
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x12], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4202cd
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x13], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4202e4
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4202fb
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x15], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420312
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420329
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x17], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420340
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x18], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420357
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x19], al
mov eax, dword [0x47baf0]
push 0xa
lea ecx, [esp + 0x14]
lea edx, [eax + eax*4]
lea eax, [edx*2 + 0x4413b8]
push eax
push 0xa
push ecx
call fcn.00401430
lea edx, [esp + 0x38]
lea eax, [esp + 0x20]
push edx
push 0xa
push eax
push 0x26
call fcn.0042f0e0
mov ecx, dword [0x3301438]
add esp, 0x20
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x47428bc]
lea ecx, [esp + 0x28]
mov eax, dword [edx*4 + 0x47b22c]
push eax
push esi
push ecx
call fcn.0042e140
mov edx, dword [0x3301438]
add esp, 0xc
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov edx, dword [0x47bc30]
cmp edx, 0xffffffff
je case.0x420836.1037
mov eax, dword [0x4740584]
test eax, eax
jne 0x420470
mov eax, dword [0x47bb10]
mov ecx, dword [0x474058c]
cmp eax, 0xa
jge 0x420422
mov esi, dword [0x4740594]
test esi, esi
jne 0x42043e
test ecx, ecx
jne 0x42043e
mov esi, dword [0x4740590]
test esi, esi
jne 0x42043e
cmp eax, dword [0x475a60]
jle 0x420457
cmp eax, dword [0x475a64]
jge 0x420457
cmp eax, dword [0x475a68]
je 0x420457
test ecx, ecx
je 0x420457
lea esi, [eax + eax*4]
xor edi, edi
lea esi, [eax + esi*8]
mov di, word [eax + esi*2 + 0x4ede61]
mov eax, dword [0x47baf0]
cmp edi, eax
je 0x420470
mov eax, dword [0x474051c]
test eax, eax
je case.0x420836.1037
cmp ecx, 0x100
jne case.0x420836.1037
mov ebx, dword [esp + 0x2500]
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea eax, [esp + 0x50]
push eax
push edx
push 0x189
push 0x3fd
push ebx
call esi
lea ecx, [esp + 0x51]
mov byte [esp + 0x54], 0
push ecx
call fcn.004366e2
mov edi, eax
mov eax, dword [0x47baf0]
mov edx, edi
add esp, 4
and edx, 0xffff
cmp edx, eax
je case.0x420836.1037
mov eax, dword [0x47bc30]
push 0
push eax
push 0x182
push 0x3fd
push ebx
call esi
mov edx, dword [0x47bc30]
lea ecx, [esp + 0x50]
mov al, 0x58
push ecx
mov byte [esp + 0x55], al
mov byte [esp + 0x56], al
mov byte [esp + 0x57], al
mov eax, dword [0x47428c8]
push edx
push 0x181
push 0x3fd
push eax
mov byte [esp + 0x68], 0x5d
call esi
mov edx, dword [0x47bc30]
mov eax, dword [0x47428c8]
lea ecx, [esp + 0x50]
push ecx
push edx
push 0x186
push 0x3fd
push eax
call esi
call fcn.00436817
and eax, 0x800000ff
jns 0x420530
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420547
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00436817
and eax, 0x800000ff
jns 0x42055e
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420575
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x47bc30]
mov byte [esp + 0x19], al
mov eax, dword [0x47baf0]
push 0xa
mov edx, dword [ecx*4 + 0x485d1c]
mov word [esp + 0x1b], di
lea eax, [eax + eax*4]
mov dword [esp + 0x16], edx
lea edx, [esp + 0x14]
lea ecx, [eax*2 + 0x4413b8]
push ecx
push 0xa
push edx
call fcn.00401430
lea eax, [esp + 0x38]
lea ecx, [esp + 0x20]
push eax
push 0xa
push ecx
push 0x23
call fcn.0042f0e0
mov edx, dword [0x3301438]
add esp, 0x20
mov esi, eax
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x47428bc]
lea edx, [esp + 0x28]
mov ecx, dword [eax*4 + 0x47b22c]
push ecx
push esi
push edx
call fcn.0042e140
mov eax, dword [0x3301438]
add esp, 0xc
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ecx, dword [0x47bc30]
mov eax, 0x1f90f18
mov dl, byte [eax - 8]
test dl, dl
je 0x420625
mov edx, dword [ecx*4 + 0x485d1c]
mov esi, dword [eax - 7]
cmp edx, esi
jne 0x420625
or byte [eax], 1
add eax, 0x5a
cmp eax, 0x1fa6ea8
jl 0x42060d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov eax, dword [0x47bc30]
cmp eax, 0xffffffff
je case.0x420836.1037
mov ebx, dword [esp + 0x2500]
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea ecx, [esp + 0x50]
push ecx
push eax
push 0x189
push 0x3fd
push ebx
call esi
lea edx, [esp + 0x51]
mov byte [esp + 0x54], 0
push edx
call fcn.004366e2
mov ecx, dword [0x47baf0]
mov edi, eax
and eax, 0xffff
add esp, 4
cmp eax, ecx
je case.0x420836.1037
mov ecx, dword [0x47bc30]
push 0
push ecx
push 0x182
push 0x3fd
push ebx
call esi
mov ecx, dword [0x47428c8]
mov al, 0x58
mov byte [esp + 0x51], al
mov byte [esp + 0x52], al
mov byte [esp + 0x53], al
mov eax, dword [0x47bc30]
lea edx, [esp + 0x50]
mov byte [esp + 0x54], 0x5d
push edx
push eax
push 0x181
push 0x3fd
push ecx
call esi
mov eax, dword [0x47bc30]
mov ecx, dword [0x47428c8]
lea edx, [esp + 0x50]
push edx
push eax
push 0x186
push 0x3fd
push ecx
call esi
call fcn.00436817
and eax, 0x800000ff
jns 0x42070e
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420725
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00436817
and eax, 0x800000ff
jns 0x42073c
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420753
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [0x47bc30]
mov byte [esp + 0x19], al
push 0xa
mov word [esp + 0x1b], di
mov eax, dword [edx*4 + 0x485d1c]
mov dword [esp + 0x16], eax
mov eax, dword [0x47baf0]
lea ecx, [eax + eax*4]
lea eax, [esp + 0x14]
lea edx, [ecx*2 + 0x4413b8]
push edx
push 0xa
push eax
call fcn.00401430
lea ecx, [esp + 0x38]
lea edx, [esp + 0x20]
push ecx
push 0xa
push edx
push 0x11
call fcn.0042f0e0
add esp, 0x20
mov esi, eax
mov eax, dword [0x3301438]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x47428bc]
lea eax, [esp + 0x28]
mov edx, dword [ecx*4 + 0x47b22c]
push edx
push esi
push eax
call fcn.0042e140
mov ecx, dword [0x3301438]
add esp, 0xc
push 0
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ecx, dword [0x47bc30]
mov eax, 0x1f90f18
mov dl, byte [eax - 8]
test dl, dl
je 0x420804
mov edx, dword [ecx*4 + 0x485d1c]
mov esi, dword [eax - 7]
cmp edx, esi
jne 0x420804
or byte [eax], 1
add eax, 0x5a
cmp eax, 0x1fa6ea8
jl 0x4207ec
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
add eax, 0xfffffbfa
cmp eax, 0x18
ja case.0x420836.1037
xor ecx, ecx
mov cl, byte [eax + 0x421cf0]
jmp dword [ecx*4 + 0x421cd0]
mov eax, dword [0x47bc30]
cmp eax, 0xffffffff
je case.0x420836.1037
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [esp + 0x2508]
push 0x189
push 0x3fd
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea ecx, [esp + 0x51]
mov byte [esp + 0x54], 0
push ecx
call fcn.004366e2
mov esi, eax
mov eax, dword [0x47baf0]
mov edx, esi
add esp, 4
and edx, 0xffff
cmp edx, eax
je case.0x420836.1037
call fcn.00436817
and eax, 0x800000ff
jns 0x4208a5
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4208bc
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4208d3
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4208ea
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x19], al
mov eax, dword [0x47bc30]
push 0xa
mov word [esp + 0x1b], si
mov ecx, dword [eax*4 + 0x485d1c]
mov eax, dword [0x47baf0]
mov dword [esp + 0x16], ecx
lea ecx, [esp + 0x14]
lea edx, [eax + eax*4]
lea eax, [edx*2 + 0x4413b8]
push eax
push 0xa
push ecx
call fcn.00401430
lea edx, [esp + 0x38]
lea eax, [esp + 0x20]
push edx
push 0xa
push eax
push 0x2a
call fcn.0042f0e0
mov ecx, dword [0x3301438]
add esp, 0x20
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x47428bc]
lea ecx, [esp + 0x28]
mov eax, dword [edx*4 + 0x47b22c]
push eax
push esi
push ecx
call fcn.0042e140
mov edx, dword [0x3301438]
add esp, 0xc
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov eax, dword [0x47bc30]
cmp eax, 0xffffffff
je case.0x420836.1037
mov ecx, dword [0x4740584]
test ecx, ecx
je case.0x420836.1037
mov edx, dword [esp + 0x2500]
lea ecx, [esp + 0x50]
push ecx
push eax
push 0x189
push 0x3fd
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea eax, [esp + 0x51]
mov byte [esp + 0x54], 0
push eax
call fcn.004366e2
mov esi, eax
mov eax, dword [0x47baf0]
mov ecx, esi
add esp, 4
and ecx, 0xffff
cmp ecx, eax
je case.0x420836.1037
call fcn.00436817
and eax, 0x800000ff
jns 0x420a00
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420a17
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420a2e
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420a45
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [0x47bc30]
mov byte [esp + 0x19], al
push 0xa
mov word [esp + 0x1b], si
mov eax, dword [edx*4 + 0x485d1c]
mov dword [esp + 0x16], eax
mov eax, dword [0x47baf0]
lea ecx, [eax + eax*4]
lea eax, [esp + 0x14]
lea edx, [ecx*2 + 0x4413b8]
push edx
push 0xa
push eax
call fcn.00401430
lea ecx, [esp + 0x38]
lea edx, [esp + 0x20]
push ecx
push 0xa
push edx
push 0x56
call fcn.0042f0e0
add esp, 0x20
mov esi, eax
mov eax, dword [0x3301438]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x47428bc]
lea eax, [esp + 0x28]
mov edx, dword [ecx*4 + 0x47b22c]
push edx
push esi
push eax
call fcn.0042e140
mov ecx, dword [0x3301438]
add esp, 0xc
push 0
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov eax, dword [0x47bc30]
cmp eax, 0xffffffff
je case.0x420836.1037
mov ecx, dword [0x4740584]
test ecx, ecx
je case.0x420836.1037
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [esp + 0x2508]
push 0x189
push 0x3fd
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea ecx, [esp + 0x51]
mov byte [esp + 0x54], 0
push ecx
call fcn.004366e2
mov esi, eax
mov eax, dword [0x47baf0]
mov edx, esi
add esp, 4
and edx, 0xffff
cmp edx, eax
je case.0x420836.1037
call fcn.00436817
and eax, 0x800000ff
jns 0x420b5b
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420b72
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420b89
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420ba0
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x19], al
mov eax, dword [0x47bc30]
push 0xa
mov word [esp + 0x1b], si
mov ecx, dword [eax*4 + 0x485d1c]
mov eax, dword [0x47baf0]
mov dword [esp + 0x16], ecx
lea ecx, [esp + 0x14]
lea edx, [eax + eax*4]
lea eax, [edx*2 + 0x4413b8]
push eax
push 0xa
push ecx
call fcn.00401430
lea edx, [esp + 0x38]
lea eax, [esp + 0x20]
push edx
push 0xa
push eax
push 0x5e
call fcn.0042f0e0
mov ecx, dword [0x3301438]
add esp, 0x20
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x47428bc]
lea ecx, [esp + 0x28]
mov eax, dword [edx*4 + 0x47b22c]
push eax
push esi
push ecx
call fcn.0042e140
mov edx, dword [0x3301438]
add esp, 0xc
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov eax, dword [0x47bc30]
cmp eax, 0xffffffff
je case.0x420836.1037
mov ecx, dword [0x474058c]
test ecx, ecx
jne 0x420c66
mov ecx, dword [0x4740590]
test ecx, ecx
je case.0x420836.1037
mov ecx, dword [0x4740588]
test ecx, ecx
jne case.0x420836.1037
mov ecx, dword [0x474059c]
test ecx, ecx
je case.0x420836.1037
mov ecx, dword [0x47bb10]
xor esi, esi
lea edx, [ecx + ecx*4]
lea edx, [ecx + edx*8]
mov si, word [ecx + edx*2 + 0x4ede61]
mov ecx, dword [0x47baf0]
cmp esi, ecx
jne case.0x420836.1037
mov ebx, dword [esp + 0x2500]
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea ecx, [esp + 0x50]
push ecx
push eax
push 0x189
push 0x3fd
push ebx
call esi
lea edx, [esp + 0x51]
mov byte [esp + 0x54], 0
push edx
call fcn.004366e2
mov ecx, dword [0x47baf0]
mov edi, eax
and eax, 0xffff
add esp, 4
cmp eax, ecx
je case.0x420836.1037
mov ecx, dword [0x47bc30]
push 0
push ecx
push 0x182
push 0x3fd
push ebx
call esi
mov ecx, dword [0x47428c8]
mov al, 0x58
mov byte [esp + 0x51], al
mov byte [esp + 0x52], al
mov byte [esp + 0x53], al
mov eax, dword [0x47bc30]
lea edx, [esp + 0x50]
mov byte [esp + 0x54], 0x5d
push edx
push eax
push 0x181
push 0x3fd
push ecx
call esi
mov eax, dword [0x47bc30]
mov ecx, dword [0x47428c8]
lea edx, [esp + 0x50]
push edx
push eax
push 0x186
push 0x3fd
push ecx
call esi
call fcn.00436817
and eax, 0x800000ff
jns 0x420d65
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420d7c
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420d93
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420daa
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [0x47bc30]
mov byte [esp + 0x19], al
push 0xa
mov word [esp + 0x1b], di
mov eax, dword [edx*4 + 0x485d1c]
mov dword [esp + 0x16], eax
mov eax, dword [0x47baf0]
lea ecx, [eax + eax*4]
lea eax, [esp + 0x14]
lea edx, [ecx*2 + 0x4413b8]
push edx
push 0xa
push eax
call fcn.00401430
lea ecx, [esp + 0x38]
lea edx, [esp + 0x20]
push ecx
push 0xa
push edx
push 0x63
call fcn.0042f0e0
add esp, 0x20
mov esi, eax
mov eax, dword [0x3301438]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x47428bc]
lea eax, [esp + 0x28]
mov edx, dword [ecx*4 + 0x47b22c]
push edx
push esi
push eax
call fcn.0042e140
mov ecx, dword [0x3301438]
add esp, 0xc
push 0
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov eax, dword [0x4740584]
test eax, eax
je case.0x420836.1037
mov eax, dword [0x47bc30]
mov ecx, dword [esp + 0x2500]
lea edx, [esp + 0x50]
push edx
push eax
push 0x189
push 0x3fd
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea edx, [esp + 0x51]
mov byte [esp + 0x54], 0
push edx
call fcn.004366e2
mov esi, eax
mov eax, dword [0x47bc30]
add esp, 4
cmp eax, 0xffffffff
jne 0x420e9d
mov esi, 0xffff
mov ecx, dword [0x47baf0]
mov eax, esi
and eax, 0xffff
cmp eax, ecx
je case.0x420836.1037
call fcn.00436817
and eax, 0x800000ff
jns 0x420ec5
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420edc
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420ef3
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00436817
and eax, 0x800000ff
jns 0x420f0a
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x47bc30]
mov byte [esp + 0x19], al
mov eax, dword [0x47baf0]
push 0xa
mov edx, dword [ecx*4 + 0x485d1c]
mov word [esp + 0x1b], si
lea eax, [eax + eax*4]
mov dword [esp + 0x16], edx
lea edx, [esp + 0x14]
lea ecx, [eax*2 + 0x4413b8]
push ecx
push 0xa
push edx
call fcn.00401430
push str.user.txt
push 0x4959f8
lea eax, [esp + 0x58c]
push str._s_s
push eax
call fcn.004361ae
lea ecx, [esp + 0x594]
push 0x482148
push ecx
call fcn.00436380
add esp, 0x28
test eax, eax
je 0x420f80
push eax
call fcn.00436200
add esp, 4
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
push edx
push 0xa
push eax
push 0x33
call fcn.0042f0e0
mov ecx, dword [0x3301438]
add esp, 0x10
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x47428bc]
lea ecx, [esp + 0x28]
mov eax, dword [edx*4 + 0x47b22c]
push eax
push esi
push ecx
call fcn.0042e140
mov edx, dword [0x3301438]
add esp, 0xc
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov eax, dword [0x4740584]
test eax, eax
je case.0x420836.1037
call fcn.00436817
and eax, 0x800000ff
jns 0x421009
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00436817
and eax, 0x800000ff
jns 0x421020
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00436817
and eax, 0x800000ff
jns 0x421037
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x12], al
call fcn.00436817
and eax, 0x800000ff
jns 0x42104e
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x13], al
call fcn.00436817
and eax, 0x800000ff
jns 0x421065
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00436817
and eax, 0x800000ff
jns 0x42107c
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x15], al
call fcn.00436817
and eax, 0x800000ff
jns 0x421093
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4210aa
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x17], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4210c1
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x18], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4210d8
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x19], al
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
push 0xa
push ecx
push 0x1d
call fcn.0042f0e0
mov edx, dword [0x3301438]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x10
mov esi, eax
push 0x1388
push edx
call edi
mov eax, dword [0x47428bc]
lea edx, [esp + 0x28]
mov ecx, dword [eax*4 + 0x47b22c]
push ecx
push esi
push edx
call fcn.0042e140
mov eax, dword [0x3301438]
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
add esp, 0xc
push 0
push 1
push eax
call esi
call fcn.00436817
and eax, 0x800000ff
jns 0x421148
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00436817
and eax, 0x800000ff
jns 0x42115f
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00436817
and eax, 0x800000ff
jns 0x421176
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x12], al
call fcn.00436817
and eax, 0x800000ff
jns 0x42118d
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x13], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4211a4
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4211bb
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x15], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4211d2
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4211e9
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x17], al
call fcn.00436817
and eax, 0x800000ff
jns 0x421200
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x18], al
call fcn.00436817
and eax, 0x800000ff
jns 0x421217
dec eax
or eax, 0xffffff00
inc eax
push str.user.txt
push 0x4959f8
lea ecx, [esp + 0x57c]
push str._s_s
push ecx
mov byte [esp + 0x29], al
call fcn.004361ae
lea edx, [esp + 0x584]
push 0x482148
push edx
call fcn.00436380
add esp, 0x18
test eax, eax
je 0x421259
push eax
call fcn.00436200
add esp, 4
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push 0xa
push ecx
push 0x34
call fcn.0042f0e0
mov edx, dword [0x3301438]
add esp, 0x10
mov ebx, eax
push 0x1388
push edx
call edi
mov eax, dword [0x47428bc]
lea edx, [esp + 0x28]
mov ecx, dword [eax*4 + 0x47b22c]
push ecx
push ebx
push edx
call fcn.0042e140
mov eax, dword [0x3301438]
add esp, 0xc
push 0
push 1
push eax
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov ebx, dword [esp + 0x2500]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x50]
push 0x3fe
push ecx
push 0x414
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov eax, dword [0x47bc30]
mov ecx, 7
mov edi, str.ADDUSER
lea esi, [esp + 0x50]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4213c9
cmp eax, 0xffffffff
je 0x4213c9
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x189
push 0x3fd
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea edx, [esp + 0x11]
mov byte [esp + 0x14], 0
push edx
call fcn.004366e2
mov ecx, dword [0x47baf0]
and eax, 0xffff
add esp, 4
cmp eax, ecx
je case.0x420836.1037
push eax
lea eax, [esp + 0x14]
push str._04d_n
push eax
call fcn.004361ae
lea ecx, [esp + 0x34]
lea edi, [esp + 0x1c]
push ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
push edx
push 0x4b
call fcn.0042f0e0
add esp, 0x1c
mov esi, eax
mov eax, dword [0x3301438]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x47428bc]
lea eax, [esp + 0x28]
mov edx, dword [ecx*4 + 0x47b22c]
push edx
push esi
push eax
call fcn.0042e140
mov ecx, dword [0x3301438]
add esp, 0xc
push 0
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov ecx, 7
mov edi, str.MESSAGE
lea esi, [esp + 0x50]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4214a1
cmp eax, 0xffffffff
je 0x4214a1
lea ecx, [esp + 0x574]
push ecx
push eax
push 0x189
push 0x3fd
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea edx, [esp + 0x575]
mov byte [esp + 0x578], 0
push edx
call fcn.004366e2
mov ecx, dword [0x47baf0]
and eax, 0xffff
add esp, 4
cmp eax, ecx
je case.0x420836.1037
lea ecx, [esp + 0x57]
lea edx, [esp + 0x574]
push ecx
push eax
push str._04d_n_s
push edx
call fcn.004361ae
lea eax, [esp + 0x984]
lea edi, [esp + 0x584]
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
lea ecx, [esp + 0x58c]
push ecx
push 0x41
call fcn.0042f0e0
mov edx, dword [0x3301438]
add esp, 0x20
mov esi, eax
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x47428bc]
lea edx, [esp + 0x974]
mov ecx, dword [eax*4 + 0x47b22c]
push ecx
push esi
jmp 0x421c4e
mov ecx, 3
mov edi, str.SCRIPT
lea esi, [esp + 0x50]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x42162a
cmp eax, 0xffffffff
je 0x42162a
lea ecx, [esp + 0x974]
push ecx
push eax
push 0x189
push 0x3fd
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea edx, [esp + 0x975]
mov byte [esp + 0x978], 0
push edx
call fcn.004366e2
mov ebx, eax
lea eax, [esp + 0x5a]
push eax
push 0x4959f8
lea ecx, [esp + 0x580]
push str._s_s
push ecx
call fcn.004361ae
lea edx, [esp + 0x588]
push 0x48215c
push edx
call fcn.00436380
mov ebp, eax
add esp, 0x1c
test ebp, ebp
je case.0x420836.1037
push ebp
call fcn.00412230
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
je 0x42160f
lea edi, [eax + 1]
push edi
call fcn.004367fe
mov esi, eax
add esp, 4
test esi, esi
je 0x42160f
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push 1
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x50]
push eax
push esi
call fcn.00436393
and ebx, 0xffff
push esi
push ebx
lea ecx, [esp + 0x98c]
push str._04d_n_s
push ecx
call fcn.004361ae
lea edi, [esp + 0x994]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x154c]
repne scasb al, byte es:[edi]
not ecx
inc ecx
push edx
lea eax, [esp + 0x998]
push ecx
push eax
push 0x54
call fcn.0042f0e0
mov ecx, dword [0x3301438]
add esp, 0x30
mov edi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x47428bc]
lea ecx, [esp + 0x152c]
mov eax, dword [edx*4 + 0x47b22c]
push eax
push edi
push ecx
call fcn.0042e140
mov edx, dword [0x3301438]
add esp, 0xc
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push esi
call fcn.0043680c
add esp, 4
push ebp
call fcn.00436200
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24ec
ret 0x10
mov ecx, 7
mov edi, str.BROWSER
lea esi, [esp + 0x50]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x421702
cmp eax, 0xffffffff
je 0x421702
lea ecx, [esp + 0x574]
push ecx
push eax
push 0x189
push 0x3fd
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea edx, [esp + 0x575]
mov byte [esp + 0x578], 0
push edx
call fcn.004366e2
mov ecx, dword [0x47baf0]
and eax, 0xffff
add esp, 4
cmp eax, ecx
je case.0x420836.1037
lea ecx, [esp + 0x57]
lea edx, [esp + 0x574]
push ecx
push eax
push str._04d_n_s
push edx
call fcn.004361ae
lea eax, [esp + 0x984]
lea edi, [esp + 0x584]
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
lea ecx, [esp + 0x58c]
push ecx
push 0x4f
call fcn.0042f0e0
mov edx, dword [0x3301438]
add esp, 0x20
mov esi, eax
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x47428bc]
lea edx, [esp + 0x974]
mov ecx, dword [eax*4 + 0x47b22c]
push ecx
push esi
jmp 0x421c4e
mov eax, dword [0x4740588]
test eax, eax
je case.0x420836.1037
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x4ac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.SETONESERVER
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4b0]
push ecx
call fcn.00436480
add esp, 8
test eax, eax
je 0x4217eb
mov eax, dword [0x4740588]
test eax, eax
jne 0x42176a
cmp dword [0x474058c], 1
jne 0x4217eb
lea edi, [esp + 0x4b8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x574]
repne scasb al, byte es:[edi]
not ecx
push edx
lea eax, [esp + 0x4bc]
push ecx
push eax
push 0x4a
call fcn.0042f0e0
mov ecx, dword [0x3301438]
add esp, 0x10
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x47428bc]
lea ecx, [esp + 0x574]
mov eax, dword [edx*4 + 0x47b22c]
push eax
push esi
push ecx
call fcn.0042e140
mov edx, dword [0x3301438]
add esp, 0xc
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
lea eax, [esp + 0x4ac]
push str.SETSERVER
push eax
call fcn.00436480
add esp, 8
test eax, eax
je 0x42183e
mov eax, dword [0x4740588]
test eax, eax
jne 0x421816
cmp dword [0x474058c], 1
jne 0x42183e
lea edi, [esp + 0x4b5]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x574]
repne scasb al, byte es:[edi]
not ecx
push edx
lea eax, [esp + 0x4b9]
push ecx
push eax
push 0x48
jmp 0x42178d
push str.user.txt
push 0x4959f8
lea eax, [esp + 0x97c]
push str._s_s
push eax
call fcn.004361ae
lea ecx, [esp + 0x984]
push 0x482148
push ecx
call fcn.00436380
add esp, 0x18
test eax, eax
je 0x42187c
push eax
call fcn.00436200
add esp, 4
lea edi, [esp + 0x4ac]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x574]
repne scasb al, byte es:[edi]
not ecx
push edx
lea eax, [esp + 0x4b0]
push ecx
push eax
push 0x36
jmp 0x42178d
mov edx, dword [0x4747998]
test edx, edx
je case.0x420836.1037
mov ecx, dword [esp + 0x250c]
mov ebx, dword [0x471e600]
and ecx, 0xffff
mov eax, ecx
sub eax, ebx
add eax, edx
cmp eax, 0xc8
jle 0x4218d9
mov eax, 0xc8
jmp 0x4218dd
test eax, eax
je 0x4218e5
mov edx, eax
mov dword [0x4747998], edx
mov edi, dword [esp + 0x2500]
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp edx, 0x32
mov dword [0x471e600], ecx
jle 0x421a1b
cmp byte [0x4740514], 0xc8
jbe 0x421a1b
mov eax, dword [0x47bc30]
cmp eax, 0xffffffff
je 0x421a1b
lea ecx, [esp + 0x50]
mov dword [0x4747998], 0
push ecx
push eax
push 0x189
push 0x3fd
push edi
call ebx
lea edx, [esp + 0x51]
mov byte [esp + 0x54], 0
push edx
call fcn.004366e2
add esp, 4
mov esi, eax
push 0xa
push 0x76c
call dword [sym.imp.KERNEL32.dll_Beep]
call fcn.00436817
and eax, 0x800000ff
jns 0x421973
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00436817
and eax, 0x800000ff
jns 0x42198a
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x17], al
mov al, byte [0x4740514]
mov byte [esp + 0x18], al
call fcn.00436817
and eax, 0x800000ff
jns 0x4219aa
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x47bc30]
mov byte [esp + 0x19], al
lea eax, [esp + 0x28]
mov word [esp + 0x15], si
mov edx, dword [ecx*4 + 0x485d1c]
push eax
lea ecx, [esp + 0x14]
push 0xa
push ecx
push 0x40
mov dword [esp + 0x20], edx
call fcn.0042f0e0
mov edx, dword [0x3301438]
add esp, 0x10
mov esi, eax
push 0x1388
push edx
call ebp
mov eax, dword [0x47428bc]
lea edx, [esp + 0x28]
mov ecx, dword [eax*4 + 0x47b22c]
push ecx
push esi
push edx
call fcn.0042e140
mov eax, dword [0x3301438]
add esp, 0xc
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov edx, dword [0x4747998]
cmp edx, 0xffffffce
jge case.0x420836.1037
cmp byte [0x4740514], 0xc8
jbe case.0x420836.1037
mov eax, dword [0x47bc30]
cmp eax, 0xffffffff
je case.0x420836.1037
lea ecx, [esp + 0x50]
mov dword [0x4747998], 0
push ecx
push eax
push 0x189
push 0x3fd
push edi
call ebx
lea edx, [esp + 0x51]
mov byte [esp + 0x54], 0
push edx
call fcn.004366e2
add esp, 4
mov esi, eax
push 0xa
push 0x320
call dword [sym.imp.KERNEL32.dll_Beep]
call fcn.00436817
and eax, 0x800000ff
jns 0x421a90
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00436817
and eax, 0x800000ff
jns 0x421aa7
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x17], al
mov al, byte [0x47bbd8]
mov byte [esp + 0x18], al
call fcn.00436817
and eax, 0x800000ff
jns 0x421ac7
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x47bc30]
mov byte [esp + 0x19], al
lea eax, [esp + 0x28]
mov word [esp + 0x15], si
mov edx, dword [ecx*4 + 0x485d1c]
push eax
lea ecx, [esp + 0x14]
push 0xa
push ecx
push 0x40
mov dword [esp + 0x20], edx
call fcn.0042f0e0
mov edx, dword [0x3301438]
add esp, 0x10
mov esi, eax
push 0x1388
push edx
call ebp
mov eax, dword [0x47428bc]
lea edx, [esp + 0x28]
mov ecx, dword [eax*4 + 0x47b22c]
push ecx
push esi
jmp 0x421c4e
sub eax, 0x201
je 0x421c82
dec eax
je 0x421c66
sub eax, 2
je 0x421b44
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24ec
ret 0x10
mov eax, dword [0x4740584]
test eax, eax
je case.0x420836.1037
mov edx, dword [0x47bc30]
mov eax, dword [esp + 0x2500]
lea ecx, [esp + 0x50]
push ecx
push edx
push 0x189
push 0x3fd
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea ecx, [esp + 0x51]
mov byte [esp + 0x54], 0
push ecx
call fcn.004366e2
mov edx, dword [0x47bc30]
add esp, 4
cmp edx, 0xffffffff
jne 0x421b97
mov eax, 0xffff
mov ecx, dword [0x47baf0]
mov esi, eax
and esi, 0xffff
cmp esi, ecx
je case.0x420836.1037
mov edx, dword [edx*4 + 0x485d1c]
mov word [esp + 0x18], ax
push 0xa
push 0x4413b8
lea eax, [esp + 0x18]
push 0xa
push eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
call fcn.00401430
push str.user.txt
push 0x4959f8
lea ecx, [esp + 0x98c]
push str._s_s
push ecx
call fcn.004361ae
lea edx, [esp + 0x994]
push 0x482148
push edx
call fcn.00436380
add esp, 0x28
test eax, eax
je 0x421c12
push eax
call fcn.00436200
add esp, 4
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push 0xa
push ecx
push 0x61
call fcn.0042f0e0
mov edx, dword [0x3301438]
add esp, 0x10
mov esi, eax
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x47428bc]
lea edx, [esp + 0x28]
mov ecx, dword [eax*4 + 0x47b22c]
push ecx
push esi
push edx
call fcn.0042e140
mov eax, dword [0x3301438]
add esp, 0xc
push 0
push 1
push eax
jmp 0x4217d3
pop edi
pop esi
pop ebp
mov dword [0x4747998], 0
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
cmp dword [0x47bc30], 0xffffffff
je case.0x420836.1037
cmp byte [0x4740514], 0xc8
jbe case.0x420836.1037
mov ecx, dword [esp + 0x250c]
push 0xa
and ecx, 0xffff
push 0x3e8
mov dword [0x471e600], ecx
mov dword [0x4747998], 1
call dword [sym.imp.KERNEL32.dll_Beep]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10