Function at 0x405bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8851
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x14b4
call fcn.004d75c0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp esi, 0x18
mov dword [ebp - 0x10], esp
jne 0x405beb
push 1
call fcn.00406c10
add esp, 4
lea eax, [esi - 3]
cmp eax, 0x5a
ja case.default.0x406749
xor ecx, ecx
mov cl, byte [eax + 0x406afc]
jmp dword [ecx*4 + 0x406aa4]
mov eax, dword [0x655e8c]
cmp ax, 0x384
jbe 0x405c18
mov edi, 0x384
jmp 0x405c1f
and eax, 0xffff
mov edi, eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x28], edi
cmp dword [esi + 0x128], ebx
je case.default.0x406749
cmp edi, ebx
je case.default.0x406749
lea edx, [ebp - 0x4c0]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x4c0]
push edi
push eax
lea ecx, [ebp - 0x1bc]
push str._sIN1_d.tmp
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0xa4]
call fcn.004d7824
lea edx, [ebp - 0x1bc]
push ebx
push edx
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x405f87
mov edx, dword [esi + 0x10]
mov ecx, 8
lea edi, [ebp - 0x58]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x60], bl
mov byte [ebp - 0x5f], bl
mov byte [ebp - 0x5e], bl
mov byte [ebp - 0x5c], bl
mov byte [ebp - 0x5b], bl
mov byte [ebp - 0x5a], bl
mov byte [ebp - 0x59], bl
push ebx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x260]
mov ecx, dword [esi + 0x264]
mov dword [ebp - 0x20], eax
mov eax, 0x7d0
mov byte [ebp - 0x5d], 2
mov dword [ebp - 0x1c], ecx
mov dword [esi + 0x264], eax
mov dword [esi + 0x260], eax
mov dword [ebp - 0x24], edx
call dword [sym.imp.USER32.dll_GetDC]
push 1
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [esi + 0x10]
lea eax, [ebp + 0x12]
push eax
push ebx
push ebx
push 1
push ecx
call fcn.00405870
mov edx, dword [esi + 0x128]
push 8
mov dword [ebp - 0x14], edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x18
mov dword [ebp + 0x14], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x405d40
lea ecx, [ebp - 0x1bc]
push ecx
mov ecx, eax
call fcn.00406b80
jmp 0x405d42
xor eax, eax
mov dword [esi + 0x128], eax
mov byte [ebp - 4], 2
mov dword [ebp + 0xc], ebx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x28]
cmp edx, eax
jge 0x405f47
mov edi, edx
and edi, 0x800000ff
jns 0x405d6f
dec edi
or edi, 0xffffff00
inc edi
jne 0x405d99
lea eax, [ebp - 0x3bc]
push str.8_dict_begin__FontType_3_def_n_FontMatrix__.001_0_0_.001_0_0_def_n_FontBBox__0_0_0_0__def_n_Encoding_256_array_def_n0_1_255_Encoding_exch__.notdef_put_for_n_CharProcs_256_dict_def_n_BoundingBoxes_256_dict_def_nCharProcs_begin_n_.notdef__def_n
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
lea ecx, [ebp - 0x3bc]
push eax
push ecx
mov ecx, dword [esi + 0x128]
call fcn.0044dba0
push edi
push edi
push edi
lea edx, [ebp - 0x3bc]
push str.Encoding__d__n_d_put_n_n_d__n
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esi + 0x128]
add esp, 0x14
push eax
lea eax, [ebp - 0x3bc]
push eax
call fcn.0044dba0
lea ecx, [ebp - 0x38]
call fcn.004049f0
mov dx, word [0x6498a0]
lea ecx, [ebp + 0x12]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x74]
push edx
push eax
movsx eax, word [ecx*2 + 0x4e51b4]
cdq
and edx, 0xff
add eax, edx
mov edx, dword [esi + 0x10]
sar eax, 8
push eax
push edx
call fcn.00405870
mov eax, dword [ebp + 0xc]
add esp, 0x14
movsx ecx, word [eax*2 + 0x4e51b4]
and ecx, 0x800000ff
jns 0x405e1b
dec ecx
or ecx, 0xffffff00
inc ecx
lea edx, [ebp - 0x38]
lea eax, [ebp + 0x17]
push edx
push 0xfffffffffffffffe
push 1
push eax
push ebx
push ebx
push esi
mov byte [ebp + 0x17], cl
call fcn.00401b10
add esp, 0x1c
lea ecx, [ebp - 0x3bc]
push str._bind_def_n
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esi + 0x128]
add esp, 8
lea edx, [ebp - 0x3bc]
push eax
push edx
call fcn.0044dba0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x38]
push ecx
push edx
push eax
push edi
lea ecx, [ebp - 0x3bc]
push str.BoundingBoxes_begin__n_d___d__d__d__d__def_end_n
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esi + 0x128]
add esp, 0x1c
lea edx, [ebp - 0x3bc]
push eax
push edx
call fcn.0044dba0
cmp edi, 0xff
je 0x405ebd
mov eax, dword [0x655e8c]
cmp ax, 0x384
jbe 0x405eb0
mov eax, 0x384
jmp 0x405eb5
and eax, 0xffff
mov ecx, dword [ebp + 0xc]
dec eax
cmp ecx, eax
jne 0x405ef5
mov eax, dword [ebp + 0xc]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
push eax
lea eax, [ebp - 0x3bc]
push str.end_n_BuildGlyph_exch_begin_1000_0_2_index_nBoundingBoxes_exch_get_aload_pop_setcachedevice_nCharProcs_exch_get_exec_end_nbind_def_n_BuildChar__n1_index__Encoding_get_exch_get_n1_index__BuildGlyph_get_exec_n_bind_def_currentdict_end__N_d_exch_definefont_pop_n
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x3bc]
push eax
push ecx
mov ecx, dword [esi + 0x128]
call fcn.0044dba0
inc dword [ebp + 0xc]
jmp 0x405d4f
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push eax
mov dword [esi + 0x260], ecx
push ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x264], edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x128]
cmp ecx, ebx
je 0x405f7e
push 1
call fcn.00406d90
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x128], edx
lea eax, [ebp - 0x1bc]
push ebx
push eax
lea ecx, [ebp - 0x84]
call sub.MFC42.DLL_CFile::CFile_1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14c0]
push 0x1000
push ecx
lea ecx, [ebp - 0x84]
call sub.MFC42.DLL_CFile::Read
cmp eax, ebx
je 0x405fce
mov ecx, dword [esi + 0x128]
lea edx, [ebp - 0x14c0]
push eax
push edx
call fcn.0044dba0
jmp 0x405f9e
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CFileFind::CFileFind
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, 0x624bec
mov eax, dword [esi]
test eax, eax
je 0x40601b
push eax
call edi
mov dword [esi], 0
add esi, 4
cmp esi, 0x624bfc
jl 0x40600c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x14b
push edi
call ebx
xor esi, esi
mov edx, dword [0x655ff8]
lea eax, [ebp - 0x1b8]
push 0x100
lea ecx, [esi + 0x2329]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x1b8]
push eax
push 0
push 0x143
push edi
call ebx
push esi
push esi
push 0x151
push edi
call ebx
inc esi
cmp esi, 4
jl 0x406050
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], 3
je 0x4060de
mov edi, 0x4e6b98
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, dword [ebp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov byte [eax + 2], 4
mov byte [eax], 4
mov byte [eax + 1], 0xed
mov byte [eax + 3], 0x20
mov byte [eax + 4], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
cmp ebx, 3
mov esi, ecx
mov dword [ebp + 8], 0x7f80
ja case.default.0x40611f
jmp dword [ebx*4 + 0x406b58]
mov eax, dword [ebp + 0x14]
and ecx, 0xffff
push ecx
push 0x4e6a10
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 8]
add esp, 0xc
and eax, 0xffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x14]
xor eax, eax
cmp cx, 0x3e8
mov byte [edi], 0
jbe 0x40619e
and ecx, 0xffff
mov eax, 0x10624dd3
dec ecx
mul ecx
shr edx, 6
mov ecx, edx
mov eax, 0x6d6d6d6d
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
add esi, 0xfc18
dec edx
jne 0x40618f
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [0x655ff8]
and esi, 0xffff
add eax, edi
push 0x100
add esi, 0x270f
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp ebx, 2
jne case.default.0x40611f
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, dword [ebp + 8]
and eax, 0xffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and ecx, 0xffff
lea edx, [ebp - 0xb8]
push ecx
push 0x4e6a10
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov al, byte [ebp - 0xb8]
add esp, 0xc
xor esi, esi
test al, al
je 0x406246
mov edx, dword [ebp + 0x14]
lea ebx, [ebp - 0xb8]
lea edi, [ebp - 0xb8]
or ecx, 0xffffffff
xor eax, eax
mov byte [edx], 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
add edx, 2
mov al, byte [ecx + ebx - 1]
sub al, 0x60
inc esi
mov byte [edx - 1], al
dec ebx
mov al, byte [ebp + esi - 0xb8]
test al, al
jne 0x40621a
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 8], 0x7f85
mov byte [ecx + esi*2], 0
mov eax, dword [ebp + 8]
and eax, 0xffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x14b
push edi
call ebx
xor esi, esi
mov ecx, dword [0x655ff8]
lea edx, [ebp - 0x1b8]
push 0x100
lea eax, [esi + 0x1d00]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [ebp - 0x1b8]
push edx
push 0
push 0x143
push edi
call ebx
inc esi
cmp esi, 2
jl 0x406284
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov eax, ebx
push 5
and eax, 0xffff
push str.Noori
mov dword [ebp + 0xc], 0xffffffff
lea eax, [eax + eax*2]
lea eax, [eax + eax*8]
lea esi, [ecx + eax*2]
push esi
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x406314
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x14]
push 0
push 0
push 0x14b
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x64b064]
lea eax, [ebp - 0x20]
xor edx, edx
push eax
mov dx, word [esi + 0x20]
push 0x4057d0
push 0
push ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edi
call dword [sym.imp.GDI32.dll_EnumFontFamiliesA]
push 0
push 0
push 0x146
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x406373
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0x143
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10000
push eax
push 0x151
push edi
mov dword [ebp + 0x10], eax
call dword [sym.imp.USER32.dll_SendMessageA]
shr ebx, 0x10
jne 0x4063ee
mov ecx, dword [0x64b064]
lea eax, [ebp - 0x18]
push eax
push 0x4a4d40
lea edx, [ebp + 0x14]
push 0
push ecx
mov dword [ebp + 0x14], 0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], esi
call dword [sym.imp.GDI32.dll_EnumFontFamiliesA]
mov edx, dword [esi + 0x20]
mov eax, dword [ebp + 0x14]
mov ecx, edx
shr eax, 0x10
shr ecx, 0x10
mov edi, eax
and edi, ecx
cmp di, cx
je 0x4063e1
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0xc], ecx
and eax, 0xffff
shl eax, 0x10
or eax, edx
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x406447
mov esi, dword [ebp + 8]
mov ecx, dword [0x64b0b8]
and ecx, 0xffff
mov edx, dword [esi + 0x24]
push ecx
mov edi, dword [edx + esi + 0x130]
mov edx, dword [esi + 0x3c]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
mov eax, dword [esi + 0x14]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x402dd0
push 0xfffffffffffffffc
push edi
jmp 0x406a88
mov eax, dword [ebp + 8]
push 0x402dd0
push 0xfffffffffffffffc
mov edi, dword [eax + 0x14]
push edi
jmp 0x406a88
mov eax, dword [0x4e5158]
test eax, eax
jne 0x40649d
call fcn.00402db0
cmp ax, 2
je 0x40649d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4e5158]
test eax, eax
jne case.default.0x406749
call fcn.00402db0
cmp ax, 2
je case.default.0x406749
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cx, word [ebp + 0x10]
mov word [0x64b0b8], cx
mov eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
sub eax, 2
jne case.default.0x406749
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x18]
push edx
push edi
mov word [ebp - 0x18], 0x202
call fcn.00453820
add esp, 8
test eax, eax
je 0x40650e
mov eax, dword [ebp - 0x16]
mov esi, dword [ebp + 0x14]
and eax, 0xffff
mov dword [esi + eax*4], 1
jmp 0x406511
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0x18]
mov word [ebp - 0x18], 0x201
push ecx
push edi
call fcn.00453820
add esp, 8
test eax, eax
je 0x406538
mov edx, dword [ebp - 0x16]
and edx, 0xffff
mov dword [esi + edx*4], 1
lea eax, [ebp - 0x18]
mov word [ebp - 0x18], 0x200
push eax
push edi
call fcn.00453820
add esp, 8
test eax, eax
je 0x40655f
mov ecx, dword [ebp - 0x16]
and ecx, 0xffff
mov dword [esi + ecx*4], 1
lea edx, [ebp - 0x18]
mov word [ebp - 0x18], 0x215
push edx
push edi
call fcn.00453820
add esp, 8
test eax, eax
je case.default.0x406749
mov eax, dword [ebp - 0x16]
and eax, 0xffff
mov dword [esi + eax*4], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4e5158]
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x4065bb
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jge 0x4065f2
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4065f2
push esi
call fcn.00401610
add esp, 4
test eax, eax
jne 0x4065f2
mov ecx, dword [ebp + 8]
push esi
push ecx
call fcn.00410fe0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x64b0b4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 1]
mov ecx, dword [0x64b0b4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
push eax
mov dword [0x64b0b4], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [0x620aa0], eax
mov al, byte [esi]
xor ecx, ecx
test al, al
je 0x406714
mov edi, dword [0x4e5158]
cmp edi, 1
jne 0x406655
mov edx, dword [0x624bfc]
and edx, 0xffff
jmp 0x406660
xor edx, edx
cmp edi, 3
setne dl
add edx, 0x10
mov bl, byte [esi]
movsx eax, bl
shl edx, 8
add eax, edx
cmp byte [eax*2 + 0x620ab4], 0
je 0x4066fe
cmp edi, 3
jne 0x406684
mov ebx, 7
jmp 0x40668f
xor ebx, ebx
cmp edi, 2
sete bl
add ebx, 4
mov eax, dword [0x620aa0]
inc ecx
mov byte [ecx + eax - 1], bl
mov edi, dword [0x620aa0]
movsx eax, byte [esi]
add eax, edx
inc ecx
mov al, byte [eax*2 + 0x620ab4]
mov byte [ecx + edi - 1], al
movsx eax, byte [esi]
add eax, edx
mov bl, byte [eax*2 + 0x620ab5]
test bl, bl
je 0x406708
mov edi, dword [0x4e5158]
cmp edi, 3
jne 0x4066d2
mov eax, 7
jmp 0x4066dd
xor eax, eax
cmp edi, 2
sete al
add eax, 4
mov edi, dword [0x620aa0]
inc ecx
mov byte [ecx + edi - 1], al
movsx eax, byte [esi]
add eax, edx
mov dl, byte [eax*2 + 0x620ab5]
mov eax, dword [0x620aa0]
mov byte [ecx + eax], dl
jmp 0x406707
mov edx, dword [0x620aa0]
mov byte [ecx + edx], bl
inc ecx
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40663c
mov eax, dword [0x620aa0]
mov byte [ecx + eax], 0
mov eax, dword [0x620aa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.00455a40
mov eax, dword [ebp + 0x10]
add esp, 4
cmp eax, 3
ja case.default.0x406749
jmp dword [eax*4 + 0x406b68]
mov ecx, dword [ebp + 0x14]
mov eax, 8
mov dword [ecx], 0x64a7c8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov di, word [0x655bb6]
mov ax, word [0x655bae]
mov bx, word [0x655bb2]
mov edx, dword [0x655bb0]
mov cx, di
mov esi, dword [0x6202e8]
add cx, ax
and edx, 0xffff
add cx, bx
and ecx, 0xffff
shl edx, 0x10
or edx, ecx
add esi, edx
mov dword [0x6202e8], esi
mov esi, dword [0x620356]
add esi, ecx
mov dword [0x620356], esi
mov esi, dword [0x6203c4]
add esi, ecx
mov dword [0x6203c4], esi
mov si, ax
add si, bx
xor ebx, ebx
mov bx, di
and esi, 0xffff
mov edi, ebx
mov ebx, dword [0x620432]
shl edi, 0x10
or edi, esi
add ebx, edi
mov dword [0x620432], ebx
mov ebx, dword [0x6204a0]
add ebx, ecx
mov cx, word [0x655bb0]
add cx, word [0x655bb6]
mov dword [0x6204a0], ebx
xor ebx, ebx
add cx, ax
mov bx, ax
add cx, word [0x655bb2]
shl ebx, 0x10
and ecx, 0xffff
or ecx, ebx
mov ebx, dword [0x62057c]
add ebx, ecx
mov dword [0x62057c], ebx
mov ebx, dword [0x6205ea]
add ebx, edx
mov edx, dword [0x620658]
add edx, ecx
mov ecx, dword [0x6206c6]
mov dword [0x620658], edx
mov edx, dword [0x655bb0]
shl ax, 1
add eax, edx
mov dword [0x6205ea], ebx
add ax, word [0x655bb6]
mov ebx, dword [0x620734]
add ebx, esi
add ax, word [0x655bb2]
mov dword [0x620734], ebx
and eax, 0xffff
add ecx, eax
mov eax, dword [0x620810]
mov dword [0x6206c6], ecx
mov ecx, dword [0x64b0c0]
add eax, edi
test ecx, ecx
mov dword [0x620810], eax
je 0x4068a7
xor eax, eax
jmp 0x4068ad
shr eax, 0x10
add eax, 2
mov edx, dword [0x6207a2]
and eax, 0xffff
shl eax, 0x10
or eax, esi
add edx, eax
mov dword [0x6207a2], edx
mov edx, dword [ebp + 0x14]
mov dword [edx], 0x6202e0
call fcn.00406ca0
test eax, eax
jne 0x4068e4
mov eax, dword [0x655aac]
test eax, eax
je case.default.0x406749
mov eax, dword [0x4e6328]
and eax, 0xffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x623100
mov eax, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
mov eax, 2
mov dword [ecx], 0x64a4b8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x655ac0]
or al, 2
mov dword [0x655ac0], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edx, dword [ebp + 0x14]
mov edi, eax
push str.Symbols
push edi
push 0x410
push 5
push edx
call dword [sym.imp.USER32.dll_InsertMenuA]
mov ebx, dword [sym.imp.USER32.dll_AppendMenuA]
mov esi, 0x4ef9
push 0
push esi
push 0x100
push edi
call ebx
inc esi
cmp esi, 0x4f06
jle 0x406986
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push str.................
push 0
push 0x143
push esi
call edi
push str.____________
push 0
push 0x143
push esi
call edi
push 0x4e6b58
push 0
push 0x143
push esi
call edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push str.Arabic_Typographic
push eax
push ecx
call fcn.00454210
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 2
je case.default.0x406749
mov esi, dword [ebp + 8]
push 0xfffffffffffffffc
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [esi + 0x3c]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongA]
push eax
mov eax, dword [0x64b0b8]
and eax, 0xffff
push eax
push ecx
call edi
mov edx, dword [esi + 0x14]
push 0x402dd0
push 0xfffffffffffffffc
push edx
call edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x64b0b8]
mov esi, dword [ebp + 8]
and eax, 0xffff
mov ecx, dword [esi + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [esi + 0x14]
push eax
push 0xfffffffffffffffc
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret