Function at 0x417270
Capabilities:
Check for peb beingdebugged flag
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45e195
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x878], eax
push ebx
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x890]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ebx
push 0x464368
mov dword [esp + 0x34], eax
mov dword [0x474ef0], eax
lea eax, [esp + 0x8c]
push 0x200
push eax
call fcn.004414db
xor edi, edi
add esp, 0x10
lea ecx, [esp + 0x30]
mov word [esp + 0x482], di
call fcn.0042bd40
mov dword [esp + 0x898], edi
lea eax, [esp + 0x84]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417310
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x88]
push ecx
lea esi, [esp + 0x18]
call fcn.00406f80
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x8a0], 1
call fcn.00406df0
cmp dword [esp + 0x28], 8
jb 0x41735d
mov eax, dword [esp + 0x14]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x48], 8
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
jae 0x41737d
lea edx, [esp + 0x34]
cmp dword [0x474bb0], edi
je 0x4173c0
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417390
mov ecx, dword [0x474bb0]
sub eax, esi
sar eax, 1
push ecx
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov dword [esp + 0x898], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x4173df
mov edx, dword [esp + 0x34]
push edx
call fcn.004415cb
add esp, 4
mov eax, ebx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4173f5
sub eax, edx
sar eax, 1
push eax
push ebx
lea esi, [esp + 0x38]
call fcn.00406f80
push 0xffffffffffffffff
push edi
mov eax, esi
mov ecx, 0x4750cc
mov dword [esp + 0x8a0], 2
call fcn.00406d10
mov dword [esp + 0x898], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x417448
mov eax, dword [esp + 0x34]
push eax
call fcn.004415cb
add esp, 4
mov eax, ebx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417460
sub eax, edx
sar eax, 1
push eax
push ebx
lea esi, [esp + 0x38]
call fcn.00406f80
mov ecx, esi
mov dword [esp + 0x898], 3
call fcn.004189d0
mov dword [esp + 0x898], 0xffffffff
cmp dword [esp + 0x48], 8
mov esi, eax
jb 0x4174ad
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004415cb
add esp, 4
cmp esi, edi
je 0x4176ae
cmp dword [0x474f6c], edi
je 0x4176ae
lea edx, [esp + 0x4c]
push edx
call fcn.00421350
add esp, 4
push 0xffffffffffffffff
push edi
mov ecx, 0x47505c
mov dword [esp + 0x8a0], 4
call fcn.00406d10
mov dword [esp + 0x898], 0xffffffff
cmp dword [esp + 0x64], 8
jb 0x417505
mov eax, dword [esp + 0x50]
push eax
call fcn.004415cb
add esp, 4
mov ecx, dword [0x474ef0]
push edi
push 0x416ae0
push edi
push 0xa2
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov edx, dword [esp + 0x2c]
push 0x6d
push edx
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
mov esi, eax
push edi
lea eax, [esp + 0x58]
push eax
call ebx
test eax, eax
je 0x41757a
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x4c]
push ecx
push esi
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x41756c
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
push edi
lea edx, [esp + 0x58]
push edx
call ebx
test eax, eax
jne 0x417541
push 0x4643ac
lea eax, [esp + 0x88]
push 0x200
push eax
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x30]
mov word [esp + 0x482], di
call fcn.0042bd40
mov dword [esp + 0x898], 5
mov ebx, 7
lea eax, [esp + 0x84]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4175d0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x88]
push ecx
lea esi, [esp + 0x18]
call fcn.00406f80
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x8a0], 6
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x417621
mov eax, dword [esp + 0x14]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x48], esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
jae 0x41763c
lea edx, [esp + 0x34]
mov ebx, dword [0x474bb0]
cmp ebx, edi
je 0x41767b
mov eax, edx
lea esi, [eax + 2]
jmp 0x417650
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417650
sub eax, esi
sar eax, 1
push ebx
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
mov dword [esp + 0x898], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x41769a
mov eax, dword [esp + 0x34]
push eax
call fcn.004415cb
add esp, 4
call fcn.00416620
mov ecx, 0x47505c
call fcn.00420ff0
jmp 0x41839f
push 0x4643d0
lea ecx, [esp + 0x88]
push 0x200
push ecx
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x30]
mov word [esp + 0x482], di
call fcn.0042bd40
mov dword [esp + 0x898], 9
mov ebx, 7
lea eax, [esp + 0x84]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417700
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x88]
push edx
lea esi, [esp + 0x18]
call fcn.00406f80
mov eax, esi
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x8a0], 0xa
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x417751
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x48], esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
jae 0x41776c
lea edx, [esp + 0x34]
mov ebx, dword [0x474bb0]
cmp ebx, edi
je 0x4177aa
mov eax, edx
lea esi, [eax + 2]
jmp 0x417780
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417780
sub eax, esi
sar eax, 1
push ebx
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov dword [esp + 0x898], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x4177c9
mov edx, dword [esp + 0x34]
push edx
call fcn.004415cb
add esp, 4
call fcn.0041a4b0
test eax, eax
jne 0x4178f8
push 0x464428
lea eax, [esp + 0x88]
push 0x200
push eax
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x30]
mov word [esp + 0x482], di
call fcn.0042bd40
mov dword [esp + 0x898], 0xb
mov ebx, 7
lea eax, [esp + 0x84]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
jmp 0x417830
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417830
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x88]
push ecx
lea esi, [esp + 0x18]
call fcn.00406f80
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x8a0], 0xc
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x417881
mov eax, dword [esp + 0x14]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x48], esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
jae 0x41789c
lea edx, [esp + 0x34]
mov ebx, dword [0x474bb0]
cmp ebx, edi
je 0x4178db
mov eax, edx
lea esi, [eax + 2]
jmp 0x4178b0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4178b0
sub eax, esi
sar eax, 1
push ebx
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
cmp dword [esp + 0x48], 8
jb 0x41839f
mov eax, dword [esp + 0x34]
push eax
call fcn.004415cb
add esp, 4
jmp 0x41839f
push 0x464490
lea ecx, [esp + 0x88]
push 0x200
push ecx
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x30]
mov word [esp + 0x482], di
call fcn.0042bd40
mov dword [esp + 0x898], 0xd
mov ebx, 7
lea eax, [esp + 0x84]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417950
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x88]
push edx
lea esi, [esp + 0x18]
call fcn.00406f80
mov eax, esi
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x8a0], 0xe
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x4179a1
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x48], esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
jae 0x4179bc
lea edx, [esp + 0x34]
mov ebx, dword [0x474bb0]
cmp ebx, edi
je 0x4179fa
mov eax, edx
lea esi, [eax + 2]
jmp 0x4179d0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4179d0
sub eax, esi
sar eax, 1
push ebx
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov dword [esp + 0x898], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x417a19
mov edx, dword [esp + 0x34]
push edx
call fcn.004415cb
add esp, 4
mov ecx, 0x474ef0
call fcn.004151d0
test eax, eax
jne 0x417b62
push 0x4644f0
lea eax, [esp + 0x88]
push 0x200
push eax
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x30]
mov word [esp + 0x482], di
call fcn.0042bd40
mov dword [esp + 0x898], 0xf
mov ebx, 7
lea eax, [esp + 0x84]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417a80
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x88]
push ecx
lea esi, [esp + 0x18]
call fcn.00406f80
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x8a0], 0x10
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x417ad1
mov eax, dword [esp + 0x14]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x48], esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
jae 0x417aec
lea edx, [esp + 0x34]
mov ebx, dword [0x474bb0]
cmp ebx, edi
je 0x417b2b
mov eax, edx
lea esi, [eax + 2]
jmp 0x417b00
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417b00
sub eax, esi
sar eax, 1
push ebx
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
mov dword [esp + 0x898], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x417b4a
mov eax, dword [esp + 0x34]
push eax
call fcn.004415cb
add esp, 4
push 0x30
push 0x462334
push edi
push ecx
call fcn.00406c70
mov ecx, 0x46453c
jmp 0x418395
push 0x464560
lea ecx, [esp + 0x88]
push 0x200
push ecx
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x30]
mov word [esp + 0x482], di
call fcn.0042bd40
mov dword [esp + 0x898], 0x11
mov ebx, 7
lea eax, [esp + 0x84]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417bb4
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x88]
push edx
lea esi, [esp + 0x18]
call fcn.00406f80
mov eax, esi
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x8a0], 0x12
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x417c05
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x48], esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
jae 0x417c20
lea edx, [esp + 0x34]
mov ebx, dword [0x474bb0]
cmp ebx, edi
je 0x417c5a
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417c30
sub eax, esi
sar eax, 1
push ebx
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov dword [esp + 0x898], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x417c79
mov edx, dword [esp + 0x34]
push edx
call fcn.004415cb
add esp, 4
call fcn.00429eb0
sub eax, 1
je 0x418382
sub eax, 1
je 0x41836d
sub eax, 1
je 0x418358
push 0x464610
lea eax, [esp + 0x88]
push 0x200
push eax
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x4c]
mov word [esp + 0x482], di
call fcn.0042bd40
mov dword [esp + 0x898], 0x13
lea eax, [esp + 0x84]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417cf0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x88]
push ecx
lea esi, [esp + 0x38]
call fcn.00406f80
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x54]
mov byte [esp + 0x8a0], 0x14
call fcn.00406df0
mov ebx, 8
cmp dword [esp + 0x48], ebx
jb 0x417d41
mov eax, dword [esp + 0x34]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x64], ebx
mov esi, dword [esp + 0x50]
jae 0x417d4f
lea esi, [esp + 0x50]
call fcn.0041a470
mov dword [esp + 0x898], 0xffffffff
cmp dword [esp + 0x64], ebx
jb 0x417d72
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004415cb
add esp, 4
lea edx, [esp + 0x4c]
push edx
call fcn.00421350
add esp, 4
push 0xffffffffffffffff
push edi
mov ecx, 0x47505c
mov dword [esp + 0x8a0], 0x15
call fcn.00406d10
lea ecx, [esp + 0x4c]
mov dword [esp + 0x898], 0xffffffff
call fcn.00406b10
cmp dword [0x475074], ebx
mov eax, dword [0x475060]
jae 0x417dbd
mov eax, 0x475060
push eax
push 0x464678
lea eax, [esp + 0x8c]
push 0x200
push eax
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x30]
mov word [esp + 0x482], di
call fcn.0042bd40
mov dword [esp + 0x898], 0x16
lea eax, [esp + 0x84]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], edi
mov word [esp + 0x50], di
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x417e10
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x88]
push ecx
lea esi, [esp + 0x54]
call fcn.00406f80
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x8a0], 0x17
call fcn.00406df0
cmp dword [esp + 0x64], ebx
jb 0x417e5c
mov eax, dword [esp + 0x50]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x48], ebx
mov esi, dword [esp + 0x34]
jae 0x417e6a
lea esi, [esp + 0x34]
call fcn.0041a470
mov dword [esp + 0x898], 0xffffffff
cmp dword [esp + 0x48], ebx
jb 0x417e8d
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004415cb
add esp, 4
mov edx, dword [0x474ef0]
push edi
push 0x4063c0
push edi
push 0x3ea
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x4180d5
call fcn.00406c10
xor ecx, ecx
mov esi, eax
call fcn.0040ef20
call fcn.00415fc0
test eax, eax
jne 0x417f56
push 0x4642ec
lea eax, [esp + 0x88]
push 0x200
push eax
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x4c]
mov word [esp + 0x482], di
call fcn.0042bd40
lea edx, [esp + 0x84]
lea eax, [esp + 0x68]
mov dword [esp + 0x898], 0x18
call fcn.00406ad0
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x54]
mov byte [esp + 0x8a0], 0x19
call fcn.00406df0
lea ecx, [esp + 0x68]
call fcn.00406b10
cmp dword [esp + 0x64], ebx
mov esi, dword [esp + 0x50]
jae 0x417f3d
lea esi, [esp + 0x50]
call fcn.0041a470
lea ecx, [esp + 0x4c]
mov dword [esp + 0x898], 0xffffffff
call fcn.00406b10
call fcn.00427ad0
cmp eax, edi
jne 0x417ff1
push 0x464324
lea ecx, [esp + 0x88]
push 0x200
push ecx
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x4c]
mov word [esp + 0x482], di
call fcn.0042bd40
lea edx, [esp + 0x84]
lea eax, [esp + 0x68]
mov dword [esp + 0x898], 0x1a
call fcn.00406ad0
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x54]
mov byte [esp + 0x8a0], 0x1b
call fcn.00406df0
lea ecx, [esp + 0x68]
call fcn.00406b10
cmp dword [esp + 0x64], ebx
mov esi, dword [esp + 0x50]
jae 0x417fd6
lea esi, [esp + 0x50]
call fcn.0041a470
lea ecx, [esp + 0x4c]
mov dword [esp + 0x898], 0xffffffff
call fcn.00406b10
jmp 0x418007
movzx ecx, word [0x474f14]
cmp ecx, edi
jbe 0x418007
mov edi, dword [0x475004]
call fcn.004183d0
mov ebx, dword [0x475000]
push 0x40
push 0x10
call fcn.004062d0
add esp, 8
mov edx, str.Trial0
lea eax, [esp + 0x4c]
call fcn.00406ad0
mov ecx, eax
mov esi, str.Trial1
mov dword [esp + 0x898], 0x1c
call fcn.00411040
lea ecx, [esp + 0x4c]
mov bl, al
mov dword [esp + 0x898], 0xffffffff
call fcn.00406b10
push 0x40
test bl, bl
push 1
mov ebx, 1
call fcn.004062d0
mov edx, dword [esp + 0x34]
add esp, 8
push 0x6d
push edx
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov esi, eax
push 0
lea eax, [esp + 0x3c]
push eax
call ebx
test eax, eax
je 0x4180cc
lea ecx, [ecx]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
push esi
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4180bb
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea edx, [esp + 0x3c]
push edx
call ebx
test eax, eax
jne 0x418090
call fcn.00406c10
xor edi, edi
jmp 0x4180db
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push 0x4646c8
lea eax, [esp + 0x88]
push 0x200
push eax
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x30]
mov word [esp + 0x482], di
call fcn.0042bd40
mov dword [esp + 0x898], 0x1d
lea eax, [esp + 0x84]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], edi
mov word [esp + 0x50], di
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x418130
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x88]
push ecx
lea esi, [esp + 0x54]
call fcn.00406f80
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x8a0], 0x1e
call fcn.00406df0
cmp dword [esp + 0x64], 8
jb 0x41817d
mov eax, dword [esp + 0x50]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x48], 8
mov esi, dword [esp + 0x34]
jae 0x41818c
lea esi, [esp + 0x34]
call fcn.0041a470
mov dword [esp + 0x898], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x4181b0
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004415cb
add esp, 4
push 0x40
mov dword [0x474380], edi
call fcn.00415d20
add esp, 4
call fcn.004167d0
push 0x41
call fcn.00415d20
mov edx, dword [0x474ef0]
add esp, 4
push edi
push 0x416ae0
push edi
push 0xa2
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov eax, dword [esp + 0x2c]
push 0x6d
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push edi
push edi
push edi
lea ecx, [esp + 0x58]
push ecx
mov esi, eax
call ebx
test eax, eax
je 0x41823e
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x4c]
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x418230
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
push edi
lea eax, [esp + 0x58]
push eax
call ebx
test eax, eax
jne 0x418205
push 0x4643ac
lea ecx, [esp + 0x488]
push 0x200
push ecx
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x68]
mov word [esp + 0x882], di
call fcn.0042bd40
mov dword [esp + 0x898], 0x1f
lea eax, [esp + 0x484]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x418290
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x488]
push edx
lea esi, [esp + 0x18]
call fcn.00406f80
mov eax, esi
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x70]
mov byte [esp + 0x8a0], 0x20
call fcn.00406df0
mov ebx, 8
cmp dword [esp + 0x28], ebx
jb 0x4182e1
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x80], ebx
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
jae 0x418303
lea esi, [esp + 0x6c]
call fcn.0041a470
mov dword [esp + 0x898], 0xffffffff
cmp dword [esp + 0x80], ebx
jb 0x418329
mov edx, dword [esp + 0x6c]
push edx
call fcn.004415cb
add esp, 4
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], edi
mov word [esp + 0x6c], di
call fcn.00416620
mov ecx, 0x47505c
call fcn.00420ff0
mov ebx, 0x474ef0
call fcn.004153a0
jmp 0x41839f
push 0x30
push 0x462334
push edi
push ecx
call fcn.00406c70
mov ecx, 0x4645ac
jmp 0x418395
push 0x30
push 0x462334
push edi
push ecx
call fcn.00406c70
mov ecx, 0x4645f8
jmp 0x418395
push 0x30
push 0x462334
push edi
push ecx
call fcn.00406c70
mov ecx, 0x4645d4
add esp, 4
mov edx, eax
call fcn.00410000
xor eax, eax
mov ecx, dword [esp + 0x890]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x878]
xor ecx, esp
call fcn.004414cc
mov esp, ebp
pop ebp
ret 0x10