Function at 0x420370
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x24ec
call fcn.00437090
mov eax, dword [esp + 0x24f4]
push ebx
push ebp
push esi
cmp eax, 0x53
push edi
jne 0x420474
mov eax, dword [0x47c480]
cmp eax, 0xffffffff
je 0x422537
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.004371fb
mov ecx, dword [0x47c340]
and eax, 0xffff
add esp, 4
cmp eax, ecx
je 0x422537
push eax
lea ecx, [esp + 0x454]
push str._04d_n
push ecx
call fcn.00436cce
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.0042fc20
mov ecx, dword [0x3314b28]
add esp, 0x1c
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x476bb34]
lea ecx, [esp + 0x10]
mov eax, dword [edx*4 + 0x47ba2c]
push eax
push esi
push ecx
call fcn.0042ec60
mov edx, dword [0x3314b28]
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 0x422520
je 0x4222a6
cmp eax, 0x110
ja 0x4206b8
je 0x4204f0
cmp eax, 3
je 0x4204b9
cmp eax, 8
jne 0x422537
pop edi
pop esi
pop ebp
mov dword [0x4770c14], 0
xor eax, eax
pop ebx
add esp, 0x24ec
ret 0x10
mov ecx, dword [0x476bb40]
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 [0x47bd78], eax
pop ebp
mov dword [0x47bd74], 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 [0x47697dc]
test eax, eax
je 0x420527
cmp dword [0x47697e0], ebx
je 0x420527
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, 0x48605c
mov dword [0x476bb78], eax
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
mov edi, 0x4731e38
rep stosd dword es:[edi], eax
call fcn.00437330
and eax, 0x800000ff
jns 0x42056e
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420585
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00437330
and eax, 0x800000ff
jns 0x42059c
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x12], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4205b3
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x13], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4205ca
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4205e1
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x15], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4205f8
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00437330
and eax, 0x800000ff
jns 0x42060f
dec eax
or eax, 0xffffff00
inc eax
mov cl, byte [0x47c360]
mov byte [esp + 0x17], al
mov byte [esp + 0x18], cl
call fcn.00437330
and eax, 0x800000ff
jns 0x420630
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.0042fc20
mov ecx, dword [0x3314b28]
add esp, 0x10
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x476bb34]
lea ecx, [esp + 0x28]
mov eax, dword [edx*4 + 0x47ba2c]
push eax
push esi
push ecx
call fcn.0042ec60
mov edx, dword [0x3314b28]
add esp, 0xc
push 0
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
or eax, 0xffffffff
mov dword [0x47bd8c], ebx
mov dword [0x47c480], eax
mov dword [0x476a30], eax
mov eax, dword [0x32f9204]
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 0x422537
mov esi, dword [esp + 0x2508]
mov eax, esi
and eax, 0xffff
cmp eax, 0x405
jg 0x421220
je 0x421041
cmp eax, 0x401
jg 0x420a67
je case.0x421236.1037
cmp eax, 0x3fd
jg case.0x421236.1037
je 0x420938
dec eax
je 0x42073a
dec eax
jne case.0x421236.1037
mov ecx, dword [esp + 0x2500]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop edi
pop esi
mov dword [0x476bb40], eax
mov dword [0x47bd8c], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov eax, dword [0x47c480]
cmp eax, 0xffffffff
je case.0x421236.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.004371fb
mov edi, eax
mov eax, dword [0x47c340]
mov ecx, edi
add esp, 4
and ecx, 0xffff
cmp ecx, eax
je case.0x421236.1037
mov edx, dword [0x47c480]
push 0
push edx
push 0x182
push 0x3fd
push ebx
call esi
mov ecx, dword [0x47c480]
mov edx, dword [0x476bb40]
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 [0x47c480]
mov edx, dword [0x476bb40]
lea eax, [esp + 0x50]
push eax
push ecx
push 0x186
push 0x3fd
push edx
call esi
call fcn.00437330
and eax, 0x800000ff
jns 0x42080b
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420822
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420839
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420850
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x19], al
mov eax, dword [0x47c480]
push 0xa
mov word [esp + 0x1b], di
mov ecx, dword [eax*4 + 0x48605c]
mov eax, dword [0x47c340]
mov dword [esp + 0x16], ecx
lea ecx, [esp + 0x14]
lea edx, [eax + eax*4]
lea eax, [edx*2 + 0x4423b8]
push eax
push 0xa
push ecx
call fcn.004014b0
mov eax, dword [0x47697dc]
add esp, 0x10
test eax, eax
je 0x4208a3
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
push edx
push 0xa
push eax
push 0x12
jmp 0x4208b1
lea ecx, [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push 0xa
push edx
push 0x11
call fcn.0042fc20
add esp, 0x10
mov esi, eax
mov eax, dword [0x3314b28]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x476bb34]
lea eax, [esp + 0x28]
mov edx, dword [ecx*4 + 0x47ba2c]
push edx
push esi
push eax
call fcn.0042ec60
mov ecx, dword [0x3314b28]
add esp, 0xc
push 0
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ecx, dword [0x47c480]
mov eax, 0x1f8fb78
mov dl, byte [eax - 8]
test dl, dl
je 0x42091c
mov edx, dword [ecx*4 + 0x48605c]
mov esi, dword [eax - 7]
cmp edx, esi
jne 0x42091c
or byte [eax], 1
add eax, 0x5a
cmp eax, 0x1fa5b08
jl 0x420904
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 0x420a1a
push 0
push 0
push 0x188
push 0x3fd
push ebx
call ebp
mov dword [0x47c480], eax
mov dword [esp + 0x4c], eax
mov eax, dword [0x476bb48]
test eax, eax
je 0x420a10
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, 0x47695e8
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.004371fb
mov edx, dword [0x47c340]
mov ecx, eax
and ecx, 0xffff
add esp, 4
cmp ecx, edx
je 0x4209fd
mov edx, dword [0x47c480]
mov ecx, dword [esp + 0x4c]
mov word [0x476a34], ax
mov dword [0x476a30], ecx
mov eax, dword [edx*4 + 0x48605c]
mov dword [0x476a38], eax
mov edx, dword [0x476bb48]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [esp + 0x48]
jmp 0x420a1a
mov dword [0x476a30], 0xffffffff
cmp si, 2
jne case.0x421236.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.00424130
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24ec
ret 0x10
sub eax, 0x402
je 0x420de2
dec eax
je 0x420c31
dec eax
jne case.0x421236.1037
mov eax, dword [0x47697dc]
test eax, eax
jne 0x420ac4
mov eax, dword [0x47c360]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
xor ecx, ecx
mov cx, word [eax + edx*2 + 0x4ef8f1]
mov eax, dword [0x47c340]
cmp ecx, eax
je 0x420ac4
mov eax, dword [0x4769770]
test eax, eax
je case.0x421236.1037
cmp dword [0x47697e4], 0x100
jne case.0x421236.1037
call fcn.00437330
and eax, 0x800000ff
jns 0x420ad7
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420aee
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420b05
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x12], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420b1c
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x13], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420b33
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420b4a
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x15], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420b61
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420b78
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x17], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420b8f
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x18], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420ba6
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x19], al
mov eax, dword [0x47c340]
push 0xa
lea ecx, [esp + 0x14]
lea edx, [eax + eax*4]
lea eax, [edx*2 + 0x4423b8]
push eax
push 0xa
push ecx
call fcn.004014b0
lea edx, [esp + 0x38]
lea eax, [esp + 0x20]
push edx
push 0xa
push eax
push 0x27
call fcn.0042fc20
mov ecx, dword [0x3314b28]
add esp, 0x20
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x476bb34]
lea ecx, [esp + 0x28]
mov eax, dword [edx*4 + 0x47ba2c]
push eax
push esi
push ecx
call fcn.0042ec60
mov edx, dword [0x3314b28]
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 [0x47697dc]
test eax, eax
jne 0x420c75
mov eax, dword [0x47c360]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
xor ecx, ecx
mov cx, word [eax + edx*2 + 0x4ef8f1]
mov eax, dword [0x47c340]
cmp ecx, eax
je 0x420c75
mov eax, dword [0x4769770]
test eax, eax
je case.0x421236.1037
cmp dword [0x47697e4], 0x100
jne case.0x421236.1037
call fcn.00437330
and eax, 0x800000ff
jns 0x420c88
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420c9f
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420cb6
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x12], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420ccd
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x13], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420ce4
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420cfb
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x15], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420d12
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420d29
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x17], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420d40
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x18], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420d57
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x19], al
mov eax, dword [0x47c340]
push 0xa
lea ecx, [esp + 0x14]
lea edx, [eax + eax*4]
lea eax, [edx*2 + 0x4423b8]
push eax
push 0xa
push ecx
call fcn.004014b0
lea edx, [esp + 0x38]
lea eax, [esp + 0x20]
push edx
push 0xa
push eax
push 0x26
call fcn.0042fc20
mov ecx, dword [0x3314b28]
add esp, 0x20
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x476bb34]
lea ecx, [esp + 0x28]
mov eax, dword [edx*4 + 0x47ba2c]
push eax
push esi
push ecx
call fcn.0042ec60
mov edx, dword [0x3314b28]
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 [0x47c480]
cmp edx, 0xffffffff
je case.0x421236.1037
mov eax, dword [0x47697dc]
test eax, eax
jne 0x420e70
mov eax, dword [0x47c360]
mov ecx, dword [0x47697e4]
cmp eax, 0xa
jge 0x420e22
mov esi, dword [0x47697ec]
test esi, esi
jne 0x420e3e
test ecx, ecx
jne 0x420e3e
mov esi, dword [0x47697e8]
test esi, esi
jne 0x420e3e
cmp eax, dword [0x476a60]
jle 0x420e57
cmp eax, dword [0x476a64]
jge 0x420e57
cmp eax, dword [0x476a68]
je 0x420e57
test ecx, ecx
je 0x420e57
lea esi, [eax + eax*4]
xor edi, edi
lea esi, [eax + esi*8]
mov di, word [eax + esi*2 + 0x4ef8f1]
mov eax, dword [0x47c340]
cmp edi, eax
je 0x420e70
mov eax, dword [0x4769770]
test eax, eax
je case.0x421236.1037
cmp ecx, 0x100
jne case.0x421236.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.004371fb
mov edi, eax
mov eax, dword [0x47c340]
mov edx, edi
add esp, 4
and edx, 0xffff
cmp edx, eax
je case.0x421236.1037
mov eax, dword [0x47c480]
push 0
push eax
push 0x182
push 0x3fd
push ebx
call esi
mov edx, dword [0x47c480]
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 [0x476bb40]
push edx
push 0x181
push 0x3fd
push eax
mov byte [esp + 0x68], 0x5d
call esi
mov edx, dword [0x47c480]
mov eax, dword [0x476bb40]
lea ecx, [esp + 0x50]
push ecx
push edx
push 0x186
push 0x3fd
push eax
call esi
call fcn.00437330
and eax, 0x800000ff
jns 0x420f30
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420f47
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420f5e
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00437330
and eax, 0x800000ff
jns 0x420f75
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x47c480]
mov byte [esp + 0x19], al
mov eax, dword [0x47c340]
push 0xa
mov edx, dword [ecx*4 + 0x48605c]
mov word [esp + 0x1b], di
lea eax, [eax + eax*4]
mov dword [esp + 0x16], edx
lea edx, [esp + 0x14]
lea ecx, [eax*2 + 0x4423b8]
push ecx
push 0xa
push edx
call fcn.004014b0
lea eax, [esp + 0x38]
lea ecx, [esp + 0x20]
push eax
push 0xa
push ecx
push 0x23
call fcn.0042fc20
mov edx, dword [0x3314b28]
add esp, 0x20
mov esi, eax
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x476bb34]
lea edx, [esp + 0x28]
mov ecx, dword [eax*4 + 0x47ba2c]
push ecx
push esi
push edx
call fcn.0042ec60
mov eax, dword [0x3314b28]
add esp, 0xc
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ecx, dword [0x47c480]
mov eax, 0x1f8fb78
mov dl, byte [eax - 8]
test dl, dl
je 0x421025
mov edx, dword [ecx*4 + 0x48605c]
mov esi, dword [eax - 7]
cmp edx, esi
jne 0x421025
or byte [eax], 1
add eax, 0x5a
cmp eax, 0x1fa5b08
jl 0x42100d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
mov eax, dword [0x47c480]
cmp eax, 0xffffffff
je case.0x421236.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.004371fb
mov ecx, dword [0x47c340]
mov edi, eax
and eax, 0xffff
add esp, 4
cmp eax, ecx
je case.0x421236.1037
mov ecx, dword [0x47c480]
push 0
push ecx
push 0x182
push 0x3fd
push ebx
call esi
mov ecx, dword [0x476bb40]
mov al, 0x58
mov byte [esp + 0x51], al
mov byte [esp + 0x52], al
mov byte [esp + 0x53], al
mov eax, dword [0x47c480]
lea edx, [esp + 0x50]
mov byte [esp + 0x54], 0x5d
push edx
push eax
push 0x181
push 0x3fd
push ecx
call esi
mov eax, dword [0x47c480]
mov ecx, dword [0x476bb40]
lea edx, [esp + 0x50]
push edx
push eax
push 0x186
push 0x3fd
push ecx
call esi
call fcn.00437330
and eax, 0x800000ff
jns 0x42110e
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421125
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00437330
and eax, 0x800000ff
jns 0x42113c
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421153
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [0x47c480]
mov byte [esp + 0x19], al
push 0xa
mov word [esp + 0x1b], di
mov eax, dword [edx*4 + 0x48605c]
mov dword [esp + 0x16], eax
mov eax, dword [0x47c340]
lea ecx, [eax + eax*4]
lea eax, [esp + 0x14]
lea edx, [ecx*2 + 0x4423b8]
push edx
push 0xa
push eax
call fcn.004014b0
lea ecx, [esp + 0x38]
lea edx, [esp + 0x20]
push ecx
push 0xa
push edx
push 0x11
call fcn.0042fc20
add esp, 0x20
mov esi, eax
mov eax, dword [0x3314b28]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x476bb34]
lea eax, [esp + 0x28]
mov edx, dword [ecx*4 + 0x47ba2c]
push edx
push esi
push eax
call fcn.0042ec60
mov ecx, dword [0x3314b28]
add esp, 0xc
push 0
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ecx, dword [0x47c480]
mov eax, 0x1f8fb78
mov dl, byte [eax - 8]
test dl, dl
je 0x421204
mov edx, dword [ecx*4 + 0x48605c]
mov esi, dword [eax - 7]
cmp edx, esi
jne 0x421204
or byte [eax], 1
add eax, 0x5a
cmp eax, 0x1fa5b08
jl 0x4211ec
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24ec
ret 0x10
add eax, 0xfffffbfa
cmp eax, 0x18
ja case.0x421236.1037
xor ecx, ecx
mov cl, byte [eax + 0x4226f4]
jmp dword [ecx*4 + 0x4226d4]
mov eax, dword [0x47c480]
cmp eax, 0xffffffff
je case.0x421236.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.004371fb
mov esi, eax
mov eax, dword [0x47c340]
mov edx, esi
add esp, 4
and edx, 0xffff
cmp edx, eax
je case.0x421236.1037
call fcn.00437330
and eax, 0x800000ff
jns 0x4212a5
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4212bc
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4212d3
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4212ea
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x19], al
mov eax, dword [0x47c480]
push 0xa
mov word [esp + 0x1b], si
mov ecx, dword [eax*4 + 0x48605c]
mov eax, dword [0x47c340]
mov dword [esp + 0x16], ecx
lea ecx, [esp + 0x14]
lea edx, [eax + eax*4]
lea eax, [edx*2 + 0x4423b8]
push eax
push 0xa
push ecx
call fcn.004014b0
lea edx, [esp + 0x38]
lea eax, [esp + 0x20]
push edx
push 0xa
push eax
push 0x2a
call fcn.0042fc20
mov ecx, dword [0x3314b28]
add esp, 0x20
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x476bb34]
lea ecx, [esp + 0x28]
mov eax, dword [edx*4 + 0x47ba2c]
push eax
push esi
push ecx
call fcn.0042ec60
mov edx, dword [0x3314b28]
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 [0x47c480]
cmp eax, 0xffffffff
je case.0x421236.1037
mov ecx, dword [0x47697dc]
test ecx, ecx
je case.0x421236.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.004371fb
mov esi, eax
mov eax, dword [0x47c340]
mov ecx, esi
add esp, 4
and ecx, 0xffff
cmp ecx, eax
je case.0x421236.1037
call fcn.00437330
and eax, 0x800000ff
jns 0x421400
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421417
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00437330
and eax, 0x800000ff
jns 0x42142e
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421445
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [0x47c480]
mov byte [esp + 0x19], al
push 0xa
mov word [esp + 0x1b], si
mov eax, dword [edx*4 + 0x48605c]
mov dword [esp + 0x16], eax
mov eax, dword [0x47c340]
lea ecx, [eax + eax*4]
lea eax, [esp + 0x14]
lea edx, [ecx*2 + 0x4423b8]
push edx
push 0xa
push eax
call fcn.004014b0
lea ecx, [esp + 0x38]
lea edx, [esp + 0x20]
push ecx
push 0xa
push edx
push 0x56
call fcn.0042fc20
add esp, 0x20
mov esi, eax
mov eax, dword [0x3314b28]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x476bb34]
lea eax, [esp + 0x28]
mov edx, dword [ecx*4 + 0x47ba2c]
push edx
push esi
push eax
call fcn.0042ec60
mov ecx, dword [0x3314b28]
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 [0x47c480]
cmp eax, 0xffffffff
je case.0x421236.1037
mov ecx, dword [0x47697dc]
test ecx, ecx
je case.0x421236.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.004371fb
mov esi, eax
mov eax, dword [0x47c340]
mov edx, esi
add esp, 4
and edx, 0xffff
cmp edx, eax
je case.0x421236.1037
call fcn.00437330
and eax, 0x800000ff
jns 0x42155b
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421572
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421589
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4215a0
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x19], al
mov eax, dword [0x47c480]
push 0xa
mov word [esp + 0x1b], si
mov ecx, dword [eax*4 + 0x48605c]
mov eax, dword [0x47c340]
mov dword [esp + 0x16], ecx
lea ecx, [esp + 0x14]
lea edx, [eax + eax*4]
lea eax, [edx*2 + 0x4423b8]
push eax
push 0xa
push ecx
call fcn.004014b0
lea edx, [esp + 0x38]
lea eax, [esp + 0x20]
push edx
push 0xa
push eax
push 0x5e
call fcn.0042fc20
mov ecx, dword [0x3314b28]
add esp, 0x20
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x476bb34]
lea ecx, [esp + 0x28]
mov eax, dword [edx*4 + 0x47ba2c]
push eax
push esi
push ecx
call fcn.0042ec60
mov edx, dword [0x3314b28]
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 [0x47c480]
cmp eax, 0xffffffff
je case.0x421236.1037
mov ecx, dword [0x47697e4]
test ecx, ecx
jne 0x421666
mov ecx, dword [0x47697e8]
test ecx, ecx
je case.0x421236.1037
mov ecx, dword [0x47697e0]
test ecx, ecx
jne case.0x421236.1037
mov ecx, dword [0x47697f4]
test ecx, ecx
je case.0x421236.1037
mov ecx, dword [0x47c360]
xor esi, esi
lea edx, [ecx + ecx*4]
lea edx, [ecx + edx*8]
mov si, word [ecx + edx*2 + 0x4ef8f1]
mov ecx, dword [0x47c340]
cmp esi, ecx
jne case.0x421236.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.004371fb
mov ecx, dword [0x47c340]
mov edi, eax
and eax, 0xffff
add esp, 4
cmp eax, ecx
je case.0x421236.1037
mov ecx, dword [0x47c480]
push 0
push ecx
push 0x182
push 0x3fd
push ebx
call esi
mov ecx, dword [0x476bb40]
mov al, 0x58
mov byte [esp + 0x51], al
mov byte [esp + 0x52], al
mov byte [esp + 0x53], al
mov eax, dword [0x47c480]
lea edx, [esp + 0x50]
mov byte [esp + 0x54], 0x5d
push edx
push eax
push 0x181
push 0x3fd
push ecx
call esi
mov eax, dword [0x47c480]
mov ecx, dword [0x476bb40]
lea edx, [esp + 0x50]
push edx
push eax
push 0x186
push 0x3fd
push ecx
call esi
call fcn.00437330
and eax, 0x800000ff
jns 0x421765
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00437330
and eax, 0x800000ff
jns 0x42177c
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421793
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4217aa
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [0x47c480]
mov byte [esp + 0x19], al
push 0xa
mov word [esp + 0x1b], di
mov eax, dword [edx*4 + 0x48605c]
mov dword [esp + 0x16], eax
mov eax, dword [0x47c340]
lea ecx, [eax + eax*4]
lea eax, [esp + 0x14]
lea edx, [ecx*2 + 0x4423b8]
push edx
push 0xa
push eax
call fcn.004014b0
lea ecx, [esp + 0x38]
lea edx, [esp + 0x20]
push ecx
push 0xa
push edx
push 0x63
call fcn.0042fc20
add esp, 0x20
mov esi, eax
mov eax, dword [0x3314b28]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x476bb34]
lea eax, [esp + 0x28]
mov edx, dword [ecx*4 + 0x47ba2c]
push edx
push esi
push eax
call fcn.0042ec60
mov ecx, dword [0x3314b28]
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 [0x47697dc]
test eax, eax
je case.0x421236.1037
mov eax, dword [0x47c480]
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.004371fb
mov esi, eax
mov eax, dword [0x47c480]
add esp, 4
cmp eax, 0xffffffff
jne 0x42189d
mov esi, 0xffff
mov ecx, dword [0x47c340]
mov eax, esi
and eax, 0xffff
cmp eax, ecx
je case.0x421236.1037
call fcn.00437330
and eax, 0x800000ff
jns 0x4218c5
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4218dc
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4218f3
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00437330
and eax, 0x800000ff
jns 0x42190a
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x47c480]
mov byte [esp + 0x19], al
mov eax, dword [0x47c340]
push 0xa
mov edx, dword [ecx*4 + 0x48605c]
mov word [esp + 0x1b], si
lea eax, [eax + eax*4]
mov dword [esp + 0x16], edx
lea edx, [esp + 0x14]
lea ecx, [eax*2 + 0x4423b8]
push ecx
push 0xa
push edx
call fcn.004014b0
push str.user.txt
push 0x495568
lea eax, [esp + 0x58c]
push 0x48299c
push eax
call fcn.00436cce
lea ecx, [esp + 0x594]
push 0x482998
push ecx
call fcn.00436ea0
add esp, 0x28
test eax, eax
je 0x421980
push eax
call fcn.00436d20
add esp, 4
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
push edx
push 0xa
push eax
push 0x33
call fcn.0042fc20
mov ecx, dword [0x3314b28]
add esp, 0x10
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x476bb34]
lea ecx, [esp + 0x28]
mov eax, dword [edx*4 + 0x47ba2c]
push eax
push esi
push ecx
call fcn.0042ec60
mov edx, dword [0x3314b28]
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 [0x47697dc]
test eax, eax
je case.0x421236.1037
call fcn.00437330
and eax, 0x800000ff
jns 0x421a09
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421a20
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421a37
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x12], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421a4e
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x13], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421a65
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421a7c
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x15], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421a93
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421aaa
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x17], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421ac1
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x18], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421ad8
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.0042fc20
mov edx, dword [0x3314b28]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x10
mov esi, eax
push 0x1388
push edx
call edi
mov eax, dword [0x476bb34]
lea edx, [esp + 0x28]
mov ecx, dword [eax*4 + 0x47ba2c]
push ecx
push esi
push edx
call fcn.0042ec60
mov eax, dword [0x3314b28]
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
add esp, 0xc
push 0
push 1
push eax
call esi
call fcn.00437330
and eax, 0x800000ff
jns 0x421b48
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421b5f
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x11], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421b76
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x12], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421b8d
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x13], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421ba4
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421bbb
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x15], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421bd2
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x16], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421be9
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x17], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421c00
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x18], al
call fcn.00437330
and eax, 0x800000ff
jns 0x421c17
dec eax
or eax, 0xffffff00
inc eax
push str.user.txt
push 0x495568
lea ecx, [esp + 0x57c]
push 0x48299c
push ecx
mov byte [esp + 0x29], al
call fcn.00436cce
lea edx, [esp + 0x584]
push 0x482998
push edx
call fcn.00436ea0
add esp, 0x18
test eax, eax
je 0x421c59
push eax
call fcn.00436d20
add esp, 4
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push 0xa
push ecx
push 0x34
call fcn.0042fc20
mov edx, dword [0x3314b28]
add esp, 0x10
mov ebx, eax
push 0x1388
push edx
call edi
mov eax, dword [0x476bb34]
lea edx, [esp + 0x28]
mov ecx, dword [eax*4 + 0x47ba2c]
push ecx
push ebx
push edx
call fcn.0042ec60
mov eax, dword [0x3314b28]
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 [0x47c480]
mov ecx, 7
mov edi, str.ADDUSER
lea esi, [esp + 0x50]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x421dc9
cmp eax, 0xffffffff
je 0x421dc9
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.004371fb
mov ecx, dword [0x47c340]
and eax, 0xffff
add esp, 4
cmp eax, ecx
je case.0x421236.1037
push eax
lea eax, [esp + 0x14]
push str._04d_n
push eax
call fcn.00436cce
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.0042fc20
add esp, 0x1c
mov esi, eax
mov eax, dword [0x3314b28]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x476bb34]
lea eax, [esp + 0x28]
mov edx, dword [ecx*4 + 0x47ba2c]
push edx
push esi
push eax
call fcn.0042ec60
mov ecx, dword [0x3314b28]
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 0x421ea1
cmp eax, 0xffffffff
je 0x421ea1
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.004371fb
mov ecx, dword [0x47c340]
and eax, 0xffff
add esp, 4
cmp eax, ecx
je case.0x421236.1037
lea ecx, [esp + 0x57]
lea edx, [esp + 0x574]
push ecx
push eax
push str._04d_n_s
push edx
call fcn.00436cce
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.0042fc20
mov edx, dword [0x3314b28]
add esp, 0x20
mov esi, eax
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x476bb34]
lea edx, [esp + 0x974]
mov ecx, dword [eax*4 + 0x47ba2c]
push ecx
push esi
jmp 0x422650
mov ecx, 3
mov edi, str.SCRIPT
lea esi, [esp + 0x50]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x42202a
cmp eax, 0xffffffff
je 0x42202a
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.004371fb
mov ebx, eax
lea eax, [esp + 0x5a]
push eax
push 0x495568
lea ecx, [esp + 0x580]
push 0x48299c
push ecx
call fcn.00436cce
lea edx, [esp + 0x588]
push 0x4829ac
push edx
call fcn.00436ea0
mov ebp, eax
add esp, 0x1c
test ebp, ebp
je case.0x421236.1037
push ebp
call fcn.00412660
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
je 0x42200f
lea edi, [eax + 1]
push edi
call fcn.00437317
mov esi, eax
add esp, 4
test esi, esi
je 0x42200f
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.00436eb3
and ebx, 0xffff
push esi
push ebx
lea ecx, [esp + 0x98c]
push str._04d_n_s
push ecx
call fcn.00436cce
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.0042fc20
mov ecx, dword [0x3314b28]
add esp, 0x30
mov edi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x476bb34]
lea ecx, [esp + 0x152c]
mov eax, dword [edx*4 + 0x47ba2c]
push eax
push edi
push ecx
call fcn.0042ec60
mov edx, dword [0x3314b28]
add esp, 0xc
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push esi
call fcn.00437325
add esp, 4
push ebp
call fcn.00436d20
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 0x422104
cmp eax, 0xffffffff
je 0x422104
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.004371fb
mov ecx, dword [0x47c340]
and eax, 0xffff
add esp, 4
cmp eax, ecx
je case.0x421236.1037
lea ecx, [esp + 0x58]
lea edx, [esp + 0x574]
push ecx
push eax
push str._04d_n_s
push edx
call fcn.00436cce
lea eax, [esp + 0x984]
lea edi, [esp + 0x584]
push eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 2
push ecx
lea ecx, [esp + 0x58c]
push ecx
push 0x4f
call fcn.0042fc20
mov edx, dword [0x3314b28]
add esp, 0x20
mov esi, eax
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x476bb34]
lea edx, [esp + 0x974]
mov ecx, dword [eax*4 + 0x47ba2c]
push ecx
push esi
jmp 0x422650
mov eax, dword [0x47697e0]
test eax, eax
je case.0x421236.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.004370f0
add esp, 8
test eax, eax
je 0x4221ed
mov eax, dword [0x47697e0]
test eax, eax
jne 0x42216c
cmp dword [0x47697e4], 1
jne 0x4221ed
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.0042fc20
mov ecx, dword [0x3314b28]
add esp, 0x10
mov esi, eax
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x476bb34]
lea ecx, [esp + 0x574]
mov eax, dword [edx*4 + 0x47ba2c]
push eax
push esi
push ecx
call fcn.0042ec60
mov edx, dword [0x3314b28]
add esp, 0xc
push 0
push 1
push edx
lea eax, [esp + 0x4ac]
push str.SETSERVER
push eax
call fcn.004370f0
add esp, 8
test eax, eax
je 0x422240
mov eax, dword [0x47697e0]
test eax, eax
jne 0x422218
cmp dword [0x47697e4], 1
jne 0x422240
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 0x42218f
push str.user.txt
push 0x495568
lea eax, [esp + 0x97c]
push 0x48299c
push eax
call fcn.00436cce
lea ecx, [esp + 0x984]
push 0x482998
push ecx
call fcn.00436ea0
add esp, 0x18
test eax, eax
je 0x42227e
push eax
call fcn.00436d20
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 0x42218f
mov edx, dword [0x4770c14]
test edx, edx
je case.0x421236.1037
mov ecx, dword [esp + 0x250c]
mov ebx, dword [0x4731e28]
and ecx, 0xffff
mov eax, ecx
sub eax, ebx
add eax, edx
cmp eax, 0xc8
jle 0x4222db
mov eax, 0xc8
jmp 0x4222df
test eax, eax
je 0x4222e7
mov edx, eax
mov dword [0x4770c14], 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 [0x4731e28], ecx
jle 0x42241d
cmp byte [0x4769768], 0xc8
jbe 0x42241d
mov eax, dword [0x47c480]
cmp eax, 0xffffffff
je 0x42241d
lea ecx, [esp + 0x50]
mov dword [0x4770c14], 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.004371fb
add esp, 4
mov esi, eax
push 0xa
push 0x76c
call dword [sym.imp.KERNEL32.dll_Beep]
call fcn.00437330
and eax, 0x800000ff
jns 0x422375
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00437330
and eax, 0x800000ff
jns 0x42238c
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x17], al
mov al, byte [0x4769768]
mov byte [esp + 0x18], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4223ac
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x47c480]
mov byte [esp + 0x19], al
lea eax, [esp + 0x28]
mov word [esp + 0x15], si
mov edx, dword [ecx*4 + 0x48605c]
push eax
lea ecx, [esp + 0x14]
push 0xa
push ecx
push 0x40
mov dword [esp + 0x20], edx
call fcn.0042fc20
mov edx, dword [0x3314b28]
add esp, 0x10
mov esi, eax
push 0x1388
push edx
call ebp
mov eax, dword [0x476bb34]
lea edx, [esp + 0x28]
mov ecx, dword [eax*4 + 0x47ba2c]
push ecx
push esi
push edx
call fcn.0042ec60
mov eax, dword [0x3314b28]
add esp, 0xc
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov edx, dword [0x4770c14]
cmp edx, 0xffffffce
jge case.0x421236.1037
cmp byte [0x4769768], 0xc8
jbe case.0x421236.1037
mov eax, dword [0x47c480]
cmp eax, 0xffffffff
je case.0x421236.1037
lea ecx, [esp + 0x50]
mov dword [0x4770c14], 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.004371fb
add esp, 4
mov esi, eax
push 0xa
push 0x320
call dword [sym.imp.KERNEL32.dll_Beep]
call fcn.00437330
and eax, 0x800000ff
jns 0x422492
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4224a9
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x17], al
mov al, byte [0x47c428]
mov byte [esp + 0x18], al
call fcn.00437330
and eax, 0x800000ff
jns 0x4224c9
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x47c480]
mov byte [esp + 0x19], al
lea eax, [esp + 0x28]
mov word [esp + 0x15], si
mov edx, dword [ecx*4 + 0x48605c]
push eax
lea ecx, [esp + 0x14]
push 0xa
push ecx
push 0x40
mov dword [esp + 0x20], edx
call fcn.0042fc20
mov edx, dword [0x3314b28]
add esp, 0x10
mov esi, eax
push 0x1388
push edx
call ebp
mov eax, dword [0x476bb34]
lea edx, [esp + 0x28]
mov ecx, dword [eax*4 + 0x47ba2c]
push ecx
push esi
jmp 0x422650
sub eax, 0x201
je 0x422684
dec eax
je 0x422668
sub eax, 2
je 0x422546
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24ec
ret 0x10
mov eax, dword [0x47697dc]
test eax, eax
je case.0x421236.1037
mov edx, dword [0x47c480]
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]
inc ebx
add byte [ebp - 0x39aedbb4], cl
inc esp
and al, 0x54
add byte [ecx - 0x18], dl
jne 0x4225d0
add dword [eax], eax
pop edi
pop esi
pop ebp
mov dword [0x4770c14], 0
cmp dword [0x47c480], 0xffffffff
je case.0x421236.1037
cmp byte [0x4769768], 0xc8
jbe case.0x421236.1037
mov ecx, dword [esp + 0x250c]
push 0xa
and ecx, 0xffff
push 0x3e8
mov dword [0x4731e28], ecx
mov dword [0x4770c14], 1
call dword [sym.imp.KERNEL32.dll_Beep]