Function at 0x414750
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x204
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x2a3
mov eax, 0x29a
mov edi, 1
mov edx, 0x64
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0x172
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x189
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], 0x1f4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], 0x1a1
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x1b8
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0xc8
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], 0x28a
mov dword [esp + 0x88], 0x1e5
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0x206
mov dword [esp + 0x98], 5
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], ebx
mov dword [0x639d78], 0x63b208
call fcn.00422660
mov ecx, dword [0x639d78]
mov dword [ecx + 4], eax
mov ecx, 0x6694d0
call fcn.0043d530
mov edx, dword [0x639d78]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x66c0e4
push str._smenulocalnet.rom
mov dword [edx + 8], eax
lea eax, [esp + 0x114]
push eax
call esi
lea ecx, [esp + 0x118]
push ecx
call fcn.00401070
mov edx, dword [0x639d78]
push 0x66c0e4
push str._swav_selrole.rom
mov dword [edx], eax
lea eax, [esp + 0x124]
push eax
call esi
add esp, 0x1c
lea ecx, [esp + 0x10c]
push ecx
mov ecx, 0x6694d0
call fcn.0043cd10
mov edx, dword [0x639d78]
mov dword [edx + 0x228], eax
mov eax, dword [0x639d78]
mov dword [eax + 0x22c], 0xffffffff
call fcn.00401950
push ebx
push 0x3ff00000
push ebx
push ebx
mov esi, eax
push ebx
push ebx
mov dword [esp + 0x34], esi
push ebx
mov ecx, dword [0x639d78]
mov edx, dword [ecx]
push edx
push 0x258
push 0x190
push esi
call fcn.00401b10
push ebx
push esi
call fcn.00402840
call fcn.00407d20
push 8
push 8
push edi
push edi
push ebx
call fcn.0040bd00
mov al, byte [ebp + 8]
add esp, 0x48
test al, al
jne 0x41492c
push 3
push 4
push edi
call fcn.0040c310
add esp, 0xc
call fcn.00401950
mov ecx, dword [0x639d78]
push ebx
push 0x3ff00000
push ebx
push ebx
mov dword [ecx + 0x14], eax
mov edx, dword [0x6349a8]
mov eax, dword [0x639d78]
push 0x3e8
push ebx
mov ecx, dword [eax + 0x14]
push 9
push edx
push 0x24e
push 0x2b2
push ecx
call fcn.00401b10
mov al, byte [ebp + 8]
add esp, 0x2c
test al, al
jne 0x41497c
push ebx
call fcn.004137e0
add esp, 4
mov edx, dword [0x639d78]
or ecx, 0xffffffff
add edx, 0x20
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4149b7
mov edi, str._noname_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
mov esi, dword [esp + 0x1c]
mov al, byte [ebp + 8]
test al, al
jne 0x4149c3
call fcn.0040c340
mov eax, dword [0x639d78]
mov dword [0x639d14], 0x634bc8
mov byte [0x639d75], 0
mov byte [0x63b43c], 0
cmp dword [eax + 0x18], ebx
je 0x415799
mov byte [0x63b43d], 2
mov dword [eax + 0x1c], ebx
mov ecx, dword [0x639d78]
mov eax, 0x4c
mov dword [ecx + 0x18], ebx
mov edx, dword [0x639d78]
add eax, 4
cmp eax, 0x64
mov dword [eax + edx - 4], 3
jl 0x414a01
call fcn.00413b40
mov dword [esp + 0x10], ebx
lea edi, [esp + 0xbc]
xor esi, esi
mov eax, dword [esp + 0x10]
mov ecx, dword [0x639d78]
add eax, 0x14
push esi
mov edx, dword [ecx]
push eax
push edx
call fcn.004017d0
add esp, 0xc
mov dword [edi], eax
inc esi
add edi, 4
cmp esi, 0xa
jl 0x414a29
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 2
mov dword [esp + 0x10], eax
jl 0x414a27
mov edi, 4
lea esi, [esp + 0x30]
call fcn.00407b00
mov ebx, eax
mov eax, dword [0x639d14]
lea edx, [esp + 0xa4]
mov dword [esi - 4], ebx
mov ecx, dword [edi + eax]
push ecx
push 0x494050
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x639d78]
add esp, 0xc
lea eax, [esp + 0xa4]
mov edx, dword [ecx]
push eax
push 0
push 0x3ff00000
push 0
push 3
push edx
call fcn.00401880
add esp, 8
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi]
push 0x3e8
lea eax, [eax + eax*4]
lea ecx, [esp + eax*8 + 0xd4]
mov eax, dword [esi + 4]
push ecx
push edx
push eax
push ebx
call fcn.00408c80
add esp, 0x28
cmp edi, 0xc
jge 0x414adf
push 2
jmp 0x414ae1
push 0xffffffffffffffff
push ebx
call fcn.00408460
add esp, 8
call fcn.00401950
mov edx, dword [0x639d78]
push 0
push 0x3ff00000
push 0
push 0
mov ecx, eax
mov eax, dword [edx]
push 0x3e8
push 0
push 0x16
mov dword [esi + 0xc], ecx
mov edx, dword [esi + 0x14]
push eax
mov eax, dword [0x639d14]
push edx
mov edx, dword [esi + 0x20]
mov eax, dword [edi + eax]
mov ebx, dword [esi + 0x10]
sub eax, edx
cdq
idiv dword [esi + 0x1c]
imul eax, dword [esi + 0x18]
add eax, ebx
push eax
push ecx
call fcn.00401b10
add edi, 4
add esp, 0x2c
add esi, 0x28
cmp edi, 0x10
jl 0x414a65
mov ecx, dword [0x639d78]
push 0x90
add ecx, 0x20
push ecx
call fcn.00413370
mov esi, eax
call fcn.00407b00
movsx edx, word [esi + 4]
mov ecx, 0x1a
push 0
push 0x3ff00000
sub ecx, edx
movsx edx, word [esi + 2]
push 0
push 0
sar ecx, 1
push 0x64
push 1
add ecx, 0x37
push esi
push ecx
mov ecx, 0x7e
sub ecx, edx
mov dword [esp + 0x50], eax
sar ecx, 1
add ecx, 0x26e
push ecx
push eax
call fcn.00408a50
add esp, 0x30
call fcn.004454f0
mov esi, 0x73
mov eax, 0x9c
mov dword [esp + 0xc], esi
jmp 0x414bc2
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
mov ebx, eax
mov edi, 0x96
add eax, 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
jmp 0x414bde
mov esi, dword [esp + 0xc]
call fcn.00401950
mov edx, dword [0x639d78]
push 0
push 0x3ff00000
push 0
mov dword [ebx + edx - 0x18], eax
mov eax, dword [0x639d78]
push 0
push 0x64
mov ecx, dword [eax]
mov edx, dword [ebx + eax - 0x18]
push 0
push 2
push ecx
lea ecx, [esi + 0x30]
push ecx
push edi
push edx
call fcn.00401b10
mov eax, dword [0x639d78]
push 0x20
push 0x100
push 0
mov ecx, dword [ebx + eax - 0x18]
push 1
push ecx
call fcn.00402a10
add esp, 0x40
call fcn.00401950
mov edx, dword [0x639d78]
push 0
push 0x3ff00000
push 0
mov dword [ebx + edx], eax
mov eax, dword [0x639d78]
push 0
push 0x3e8
mov ecx, dword [eax]
mov edx, dword [ebx + eax]
push 0
push 0x18
push ecx
push esi
push edi
push edx
call fcn.00401b10
mov eax, dword [0x639d78]
push 0
mov ecx, dword [ebx + eax]
push ecx
call fcn.00401a30
add esp, 0x34
xor esi, esi
jmp 0x414c86
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
lea ebx, [ebx + esi - 0x33]
shl ebx, 2
call fcn.00401950
mov edx, dword [0x639d78]
mov dword [ebx + edx], eax
mov eax, esi
and eax, reloc.WSOCK32.dll_accept
jns 0x414ca9
dec eax
or eax, 0xfffffffe
inc eax
jne 0x414cd8
mov eax, esi
add edi, 5
cdq
sub eax, edx
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x24], 0x4937e8
sar eax, 1
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
sub edi, ecx
add edi, 0x30
jmp 0x414ceb
mov edx, dword [esp + 0xc]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0x4937f8
lea edi, [edx + 0x14]
xor eax, eax
push 0
cmp esi, 3
push 0x3ff00000
push 0
push 0
sete al
push 0x1f4
push eax
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0xe
idiv ecx
mov eax, dword [esp + 0x3c]
mov cl, byte [edx + eax]
mov eax, dword [0x639d78]
push ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax]
push edx
mov edx, dword [ebx + eax]
push edi
push ecx
push edx
call fcn.00401b10
mov eax, dword [0x639d78]
push 0
mov ecx, dword [ebx + eax]
push ecx
call fcn.00401a30
mov edi, dword [esp + 0x44]
lea ebx, [edi + esi - 0x63]
shl ebx, 2
call fcn.004134b0
mov edx, dword [0x639d78]
lea edi, [edi + esi - 0x4b]
shl edi, 2
mov dword [ebx + edx], eax
call fcn.00407b00
mov ecx, dword [0x639d78]
push 0
push 0x3ff00000
push 0
mov dword [edi + ecx], eax
mov eax, dword [0x639d78]
mov edx, dword [esi*8 + 0x49380c]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [ebx + eax]
push 0
lea edx, [edx + ecx + 0xa]
push 0x4b0
movsx ecx, word [ebx + 2]
push 1
push ebx
push edx
mov edx, dword [esi*8 + 0x493808]
mov eax, dword [edi + eax]
sar ecx, 1
sub edx, ecx
mov ecx, dword [esp + 0x68]
lea edx, [edx + ecx + 5]
push edx
push eax
call fcn.00408a50
mov ecx, dword [0x639d78]
add esp, 0x5c
mov edx, dword [edi + ecx]
push 0
push edx
call fcn.00407dc0
add esp, 8
inc esi
cmp esi, 4
jl 0x414c7e
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
add edi, 0xe6
add ebx, 4
cmp edi, 0x262
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
jl 0x414bda
mov eax, dword [esp + 0xc]
add eax, 0x85
cmp eax, 0x202
mov dword [esp + 0xc], eax
jl 0x414bba
mov al, byte [ebp + 8]
mov ecx, 0x639d90
test al, al
jne 0x414e3c
call fcn.00416030
test eax, eax
jne 0x414e52
mov eax, dword [0x639d78]
mov dword [eax + 0x1c], 1
jmp 0x414e52
call fcn.00417020
test eax, eax
jne 0x414e52
mov ecx, dword [0x639d78]
mov dword [ecx + 0x1c], 1
mov ecx, 0x14
xor eax, eax
mov edi, 0x639d24
mov edx, dword [0x66c0a8]
rep stosd dword es:[edi], eax
push 0
push 0x414310
stosb byte es:[edi], al
mov eax, dword [0x66c0d0]
push edx
push 0x83
push eax
mov dword [0x63ac80], 3
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x639d10], eax
call fcn.004143d0
mov ecx, dword [0x639d10]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x66c0a8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
call fcn.00441e20
mov ecx, dword [0x639d78]
push 0
push 0x40000000
push 0
mov dword [ecx + 0x224], eax
mov edx, dword [0x639d78]
mov eax, dword [edx + 0x224]
push eax
call fcn.00441e90
mov edx, dword [0x639d78]
mov ecx, dword [0x49308c]
add edx, 0x20
push ecx
push edx
push str._______________________s__s
call fcn.00414280
add esp, 0x1c
mov dword [esp + 0x10], 0xffffffff
call fcn.004454f0
mov eax, dword [0x639d78]
mov ecx, dword [eax + 0x224]
push ecx
call fcn.00441f80
add esp, 4
test eax, eax
je 0x414f35
mov edx, dword [0x639d10]
push 0
push 0
push 0x400
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x10]
mov eax, 3
cmp ecx, eax
jne 0x414fdb
cmp dword [0x63ac80], eax
jne 0x414fdb
push 0
call fcn.004234d0
add esp, 4
test eax, eax
je 0x414fdb
call fcn.00423480
mov edi, eax
call fcn.00423490
mov ecx, dword [esp + 0x18]
lea esi, [ecx + ecx*4]
shl esi, 3
mov ebx, dword [esp + esi + 0x40]
sub edi, ebx
jns 0x414f82
xor edi, edi
jmp 0x414f8c
cmp edi, 0x32
jle 0x414f8c
mov edi, 0x32
mov eax, edi
cdq
idiv dword [esp + esi + 0x48]
mov edx, dword [esp + esi + 0x50]
imul eax, dword [esp + esi + 0x4c]
add eax, edx
mov edx, dword [0x639d14]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [0x639d14]
mov edx, dword [esp + esi + 0x2c]
mov ecx, dword [eax + ecx*4 + 4]
push ecx
push 0x494050
push edx
call fcn.004081b0
mov eax, dword [esp + esi + 0x50]
mov ecx, dword [esp + esi + 0x48]
add ebx, edi
push eax
push ebx
push ecx
call fcn.00402620
add esp, 0x18
jmp 0x41568b
call fcn.004234a0
test eax, eax
je 0x4151d6
call fcn.00423480
mov dword [esp + 0xc], eax
call fcn.00423490
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x415035
xor esi, esi
lea ebx, [esp + 0x3c]
mov edx, dword [esp + 0xc]
mov eax, dword [ebx]
push edi
push edx
push eax
call fcn.00402b00
add esp, 0xc
test eax, eax
jne 0x415027
inc esi
add ebx, 0x28
cmp esi, 3
jl 0x415007
jmp 0x415068
mov dword [esp + 0x10], 3
mov dword [esp + 0x18], esi
jmp 0x415068
xor esi, esi
lea ebx, [esp + 0x3c]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebx]
push edi
push ecx
push edx
call fcn.00402b00
add esp, 0xc
test eax, eax
jne 0x41505b
inc esi
add ebx, 0x28
cmp esi, 3
jl 0x41503b
jmp 0x415060
cmp esi, 0xffffffff
jne 0x415068
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [0x639d78]
push 0
mov ecx, dword [eax + 0xc]
push ecx
call fcn.00401a30
mov ebx, dword [esp + 0x14]
add esp, 8
mov esi, 0x4c
mov edx, dword [0x639d78]
push edi
push ebx
mov eax, dword [esi + edx + 0x38]
push eax
call fcn.00402b00
add esp, 0xc
test eax, eax
je 0x415136
mov eax, dword [0x639d78]
mov edx, 3
mov ecx, dword [esi + eax]
cmp ecx, edx
jne 0x4150c9
cmp dword [0x63ac80], edx
jne 0x415128
mov ecx, dword [eax]
push edx
mov edx, dword [eax + 0xc]
push ecx
push edx
call fcn.00402320
jmp 0x415110
cmp ecx, 2
jne 0x4150f2
cmp dword [0x63ac80], edx
jne 0x415128
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
push 6
push edx
push eax
call fcn.00402320
mov ecx, dword [0x639d78]
push 1
mov edx, dword [ecx + 0xc]
push edx
jmp 0x41511b
cmp ecx, 0x32
jne 0x415128
cmp dword [0x63ac80], edx
jne 0x415128
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
push 0x3e
push ecx
push edx
call fcn.00402320
sub edi, 0xc
mov eax, dword [0x639d78]
push 1
mov ecx, dword [eax + 0xc]
push ecx
call fcn.00401a30
mov eax, dword [0x639d78]
add esp, 0x14
mov edx, dword [eax + 0xc]
push edi
push ebx
push edx
call fcn.00402620
add esp, 0xc
add esi, 4
cmp esi, 0x64
jl 0x415084
mov eax, dword [0x639d78]
mov ecx, dword [eax + 0x64]
cmp dword [eax + ecx*4 + 0x4c], 1
jne 0x4151d6
mov edx, dword [eax + 0x10]
push 0
push edx
call fcn.00401a30
mov esi, dword [esp + 0x14]
add esp, 8
mov ebx, 1
mov eax, dword [0x639d78]
push edi
push esi
mov ecx, dword [eax + 0x64]
lea edx, [ebx + ecx*4]
mov eax, dword [eax + edx*4 + 0x1a4]
push eax
call fcn.00402b00
add esp, 0xc
test eax, eax
jne 0x415195
inc ebx
cmp ebx, 4
jl 0x41516c
jmp 0x4151b9
mov ecx, dword [0x639d78]
push 1
mov edx, dword [ecx + 0x10]
push edx
call fcn.00401a30
mov eax, dword [0x639d78]
push edi
push esi
mov ecx, dword [eax + 0x10]
push ecx
call fcn.00402620
add esp, 0x14
cmp ebx, 4
je 0x4151d6
mov edx, dword [0x639d78]
mov eax, dword [edx + 0x64]
lea ecx, [eax + eax*4]
shl ecx, 5
sub ecx, eax
mov byte [ecx*4 + 0x63a010], bl
push 1
call fcn.004234d0
add esp, 4
test eax, eax
jne 0x415242
call fcn.00423520
test eax, eax
jne 0x415242
push 1
call fcn.004234f0
add esp, 4
test eax, eax
jne 0x415208
call fcn.00423530
test eax, eax
je 0x41568b
call fcn.00423480
mov esi, eax
call fcn.00423490
mov edx, dword [0x639d78]
push eax
push esi
mov eax, dword [edx + 0x204]
push eax
call fcn.00402b00
add esp, 0xc
test eax, eax
je 0x41568b
push 1
call fcn.00414000
add esp, 4
jmp 0x41568b
call fcn.00423480
mov esi, eax
mov dword [esp + 0xc], esi
call fcn.00423490
mov ebx, eax
mov eax, dword [0x63ac80]
cmp eax, 3
jne 0x4153f1
mov ecx, dword [0x639d78]
push ebx
push esi
mov edx, dword [ecx + 0x20c]
push edx
call fcn.00402b00
add esp, 0xc
test eax, eax
je 0x41528c
push 0
call fcn.00414000
add esp, 4
jmp 0x41568b
mov eax, dword [0x639d78]
push ebx
push esi
mov ecx, dword [eax + 0x210]
push ecx
call fcn.00402b00
add esp, 0xc
test eax, eax
je 0x4152b5
push 1
call fcn.00414000
add esp, 4
jmp 0x41568b
mov edx, dword [0x639d78]
push ebx
push esi
mov eax, dword [edx + 0x204]
push eax
call fcn.00402b00
add esp, 0xc
test eax, eax
je 0x4152df
push 0
call fcn.00414000
add esp, 4
jmp 0x41568b
cmp esi, 0x2a4
jl 0x4153a2
cmp esi, 0x2d5
jg 0x4153a2
cmp ebx, 0x130
jl 0x41533e
cmp ebx, 0x144
jg 0x41533e
mov ecx, dword [0x639d14]
xor eax, eax
mov byte [ecx + 1], 0
mov edx, dword [0x639d14]
mov al, byte [edx + 1]
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov ecx, dword [0x639d78]
lea eax, [edx + edx + 0x142]
mov edx, dword [ecx + 0x208]
push eax
push 0x2bc
push edx
jmp 0x41538a
cmp esi, 0x2d5
jg 0x4153a2
cmp ebx, 0x149
jl 0x4153a2
cmp ebx, 0x15d
jg 0x4153a2
mov eax, dword [0x639d14]
mov byte [eax + 1], 1
mov ecx, dword [0x639d14]
xor eax, eax
mov al, byte [ecx + 1]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
mov edx, dword [0x639d78]
lea ecx, [eax + eax + 0x142]
mov eax, dword [edx + 0x208]
push ecx
push 0x2bc
push eax
call fcn.00402620
push 0
push 0
push 5
call fcn.0040aa40
add esp, 0x18
jmp 0x41568b
xor edi, edi
mov esi, 0xb4
mov edx, dword [0x639d78]
mov ecx, dword [esp + 0xc]
push ebx
push ecx
mov eax, dword [esi + edx]
push eax
call fcn.004093a0
add esp, 0xc
test eax, eax
jne 0x4153d3
add esi, 4
inc edi
cmp esi, 0xe4
jl 0x4153a9
jmp 0x4153f1
push 1
push edi
mov ecx, 0x639d90
call fcn.00419510
test eax, eax
jne 0x4153f1
mov ecx, dword [0x639d78]
mov dword [ecx + 0x1c], 1
mov eax, dword [0x639d78]
mov edi, 1
mov edx, dword [eax + 0x64]
cmp dword [eax + edx*4 + 0x4c], edi
jne 0x41542b
mov esi, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
push ebx
push esi
push eax
call fcn.00402b00
add esp, 0xc
test eax, eax
je 0x415424
mov ecx, 0x639d90
call fcn.00419f60
mov eax, dword [0x639d78]
jmp 0x41542f
mov esi, dword [esp + 0xc]
mov ecx, dword [eax + 0x14]
push ebx
push esi
push ecx
call fcn.00402b00
add esp, 0xc
test eax, eax
je 0x415485
push 0
push 0
push 3
call fcn.0040aa40
mov edi, 0x637434
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [0x639d78]
mov edx, ecx
mov esi, edi
mov edi, 0x64d2f5
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 0x1c], 1
jmp 0x41551f
mov ecx, dword [0x639d78]
push ebx
push esi
mov edx, dword [ecx + 0x21c]
push edx
call fcn.00402b00
add esp, 0xc
test eax, eax
je 0x4154d2
mov ecx, 0x639d90
call fcn.00419eb0
cmp eax, edi
push 0
push 0
jne 0x4154c6
push 3
call fcn.0040aa40
mov eax, dword [0x639d78]
add esp, 0xc
mov dword [eax + 0x18], edi
jmp 0x41551f
push 4
call fcn.0040aa40
add esp, 0xc
jmp 0x41551f
mov ecx, dword [0x639d78]
push ebx
push esi
mov edx, dword [ecx + 0x220]
push edx
call fcn.00402b00
add esp, 0xc
test eax, eax
je 0x41551f
push 0
push 0
push 4
call fcn.0040aa40
add esp, 0xc
mov ecx, 0x639d90
call fcn.00417650
test eax, eax
jne 0x415515
mov eax, dword [0x639d78]
mov dword [eax + 0x1c], 1
push 0
call fcn.004144d0
add esp, 4
xor edi, edi
mov esi, 0x84
mov edx, dword [0x639d78]
mov ecx, dword [esp + 0xc]
push ebx
push ecx
mov eax, dword [esi + edx]
push eax
call fcn.00402b00
add esp, 0xc
test eax, eax
jne 0x415553
add esi, 4
inc edi
cmp esi, 0x9c
jl 0x415526
jmp 0x41568b
mov ecx, dword [0x639d78]
mov ebx, 3
mov eax, dword [ecx + edi*4 + 0x4c]
cmp eax, ebx
jne 0x41561a
mov eax, dword [0x63ac80]
mov esi, 1
cmp eax, esi
je 0x41568b
cmp eax, 2
je 0x41568b
mov dword [0x63ac80], esi
mov dword [ecx + 0x64], edi
mov ecx, dword [0x639d78]
mov dword [ecx + edi*4 + 0x4c], esi
mov ecx, 0x639d90
call fcn.00417b60
test eax, eax
jne 0x4155bb
mov edx, dword [0x639d78]
mov dword [0x63ac80], ebx
mov dword [edx + edi*4 + 0x4c], ebx
jmp 0x41568b
mov eax, dword [0x639d78]
push 0
push 0x40000000
push 0
mov ecx, dword [eax + 0x224]
push ecx
call fcn.00441e90
mov edx, dword [0x639d10]
add esp, 0x10
push 0
push 0
push 0x400
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push esi
call fcn.004144d0
mov eax, dword [0x639d78]
mov edx, dword [0x493094]
mov ecx, dword [eax + 0x48]
add eax, 0x20
add ecx, 0x41
push ecx
push edx
push eax
push str._______________________s__s_area__c_
call fcn.00414280
add esp, 0x14
jmp 0x41568b
cmp eax, 2
jne 0x41568b
mov eax, dword [0x63ac80]
cmp eax, 1
je 0x41568b
cmp eax, 2
je 0x41568b
push edi
mov ecx, 0x639d90
call fcn.00417620
cmp eax, 1
je 0x41568b
mov eax, dword [0x639d78]
mov ecx, 0x639d90
mov dword [eax + 0x64], edi
mov dword [0x63ac80], 2
call fcn.004176f0
test eax, eax
jne 0x415666
mov dword [0x63ac80], ebx
jmp 0x41568b
push 1
call fcn.004144d0
mov edx, dword [0x639d78]
mov ecx, dword [0x4937cc]
add edx, 0x20
push ecx
push edx
push str._______________________s__s
call fcn.00414280
add esp, 0x10
mov eax, dword [0x66c0e0]
cmp eax, 1
mov eax, dword [0x639d78]
je 0x4156ac
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x4156ac
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x414f02
mov byte [0x63b43d], 0
mov eax, dword [eax + 0x224]
push eax
call fcn.00441e50
add esp, 4
call fcn.00413f20
lea esi, [esp + 0x3c]
mov edi, 3
mov ecx, dword [esi - 0x10]
push ecx
call fcn.00407cb0
mov edx, dword [esi]
push edx
call fcn.00401a90
add esp, 8
add esi, 0x28
dec edi
jne 0x4156d0
mov esi, 0x1a4
mov edi, 0x9c
mov eax, dword [0x639d78]
mov ecx, dword [edi + eax - 0x18]
push ecx
call fcn.00401a90
mov edx, dword [0x639d78]
mov eax, dword [edi + edx]
push eax
call fcn.00401a90
add esp, 8
mov ebx, 4
mov ecx, dword [0x639d78]
mov edx, dword [esi + ecx - 0x60]
push edx
call fcn.00407cb0
mov eax, dword [0x639d78]
mov ecx, dword [esi + eax]
push ecx
call fcn.00401a90
add esp, 8
add esi, 4
dec ebx
jne 0x41571a
add edi, 4
cmp edi, 0xb4
jl 0x4156f4
mov edx, dword [esp + 0x28]
push edx
call fcn.00407cb0
mov ecx, dword [0x639d78]
mov eax, 1
add esp, 4
cmp dword [ecx + 0x1c], eax
je 0x415771
cmp dword [0x66c0e0], eax
jne 0x41577b
mov ecx, 0x639d90
call fcn.00416ef0
mov edx, dword [0x639d10]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esp + 0x1c]
xor ebx, ebx
push 8
push 8
push 1
push 2
push ebx
call fcn.0040bd00
mov eax, dword [0x639d78]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.00401a90
push esi
call fcn.00401a90
mov edx, dword [0x639d78]
mov eax, dword [edx]
push eax
call fcn.004016e0
mov ecx, dword [0x639d78]
add esp, 0x20
mov edx, dword [ecx + 8]
mov ecx, 0x6694d0
push edx
call fcn.0043d560
mov eax, dword [0x639d78]
mov ecx, dword [eax + 4]
push ecx
call fcn.00422680
mov edx, dword [0x639d78]
add esp, 4
mov eax, dword [edx + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret