Function at 0x404db0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x15c
mov eax, dword [0x415a7c]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x405019
mov esi, dword [sym.imp.ucrtbase.dll_strcmp]
mov ebx, eax
jmp 0x404de7
mov ebx, dword [ebx + 0x44]
test ebx, ebx
je 0x404e08
mov eax, dword [ebx + 8]
mov dword [esp], edi
mov dword [esp + 4], eax
call esi
test eax, eax
jne 0x404de0
inc dword [ebx + 0x48]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], edi
mov dword [ebp - 0xd8], eax
call eax
mov dword [esp], 1
mov esi, eax
lea eax, [eax + 0xad]
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_calloc]
mov ebx, eax
test eax, eax
je 0x404f24
mov eax, dword [ebp - 0xcc]
lea edx, [ebx + 0xac]
inc esi
mov dword [ebx + 0x3c], 0xffffffff
mov dword [ebx + 8], edx
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], 1
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], edx
call sym._memcpy
mov eax, dword [ebp - 0xcc]
mov dword [0x415a7c], ebx
mov dword [eax + 0x40], ebx
lea eax, [ebp - 0xa0]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_OpenFile]
sub esp, 0xc
mov esi, eax
cmp eax, 0xffffffff
je 0x404f18
lea eax, [ebp - 0xb0]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov eax, dword [sym.imp.kernel32.dll__hread]
mov dword [esp], esi
mov dword [ebp - 0xcc], eax
call eax
sub esp, 0xc
cmp eax, 0x10
jne 0x404f30
movzx eax, byte [ebp - 0xad]
movzx edx, byte [ebp - 0xae]
movzx ecx, byte [ebp - 0xb0]
shl eax, 8
add eax, edx
movzx edx, byte [ebp - 0xaf]
shl eax, 0x10
shl edx, 8
add edx, ecx
movzx edx, dx
add eax, edx
cmp eax, 0x35f3f
je 0x404f5f
test byte [0x415a28], 4
jne 0x405914
mov dword [esp], esi
call dword [sym.imp.kernel32.dll__lclose]
sub esp, 4
dec dword [ebx + 0x48]
jne 0x404f24
mov eax, ebx
call sym._HLPFILE_FreeHlpFile.part.0
lea esp, [ebp - 0xc]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x415a28], 4
je 0x404f0c
mov dword [esp + 0xc], str.header_n
mov dword [esp + 8], str.HLPFILE_ReadFileToBuffer
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x404f0c
movzx eax, byte [ebp - 0xa1]
movzx edi, byte [ebp - 0xa2]
movzx edx, byte [ebp - 0xa4]
shl eax, 8
add edi, eax
mov eax, edi
movzx edi, byte [ebp - 0xa3]
shl eax, 0x10
shl edi, 8
add edi, edx
movzx edi, di
add edi, eax
lea eax, [edi + 1]
mov dword [ebx + 4], edi
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0xdc], eax
call eax
mov dword [ebx], eax
test eax, eax
je 0x404f0c
mov edx, dword [ebp - 0xb0]
add eax, 0x10
sub edi, 0x10
mov dword [eax - 0x10], edx
mov edx, dword [ebp - 0xac]
mov dword [eax - 0xc], edx
mov edx, dword [ebp - 0xa8]
mov dword [eax - 8], edx
mov edx, dword [ebp - 0xa4]
mov dword [eax - 4], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xcc]
mov dword [esp + 8], edi
mov dword [esp], esi
call eax
mov edx, eax
mov eax, dword [ebx + 4]
sub esp, 0xc
sub eax, 0x10
cmp edx, eax
je 0x405086
test byte [0x415a28], 4
je 0x404f0c
mov dword [esp + 0xc], str.filesize1_n
jmp 0x404f41
mov eax, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], edi
mov dword [ebp - 0xd8], eax
call eax
mov dword [esp], 1
mov esi, eax
lea eax, [eax + 0xad]
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_calloc]
mov ebx, eax
test eax, eax
je 0x404f24
lea eax, [ebx + 0xac]
inc esi
mov dword [ebx + 0x3c], 0xffffffff
mov dword [ebx + 8], eax
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 1
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._memcpy
mov dword [0x415a7c], ebx
jmp 0x404e7b
lea eax, [ebp - 0xb4]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xcc]
mov dword [esp], esi
call eax
sub esp, 0xc
test eax, eax
je 0x4050b7
test byte [0x415a28], 4
jne 0x407710
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov byte [edx + eax], 0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll__lclose]
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov dword [ebx + 0xc], 0
sub esp, 4
mov edx, str.SYSTEM
mov dword [esp], eax
mov eax, ebx
call sym._HLPFILE_FindSubFile
test eax, eax
je 0x404f18
mov eax, dword [ebp - 0xb4]
movzx esi, byte [eax + 0xa]
movzx edx, byte [eax + 9]
movzx edi, byte [eax + 0xd]
shl esi, 8
add esi, edx
movzx edx, byte [eax + 0xc]
mov ecx, edx
movzx edx, byte [eax + 0xb]
shl ecx, 8
add ecx, edx
movzx edx, byte [eax + 0xe]
shl edx, 8
add edi, edx
movzx edx, byte [eax + 0x14]
movzx eax, byte [eax + 0x13]
shl edx, 8
add edx, eax
test byte [0x415a28], 8
jne 0x405cdb
cmp si, 0x36c
jne 0x4058de
cmp di, 1
jne 0x4058de
cmp cx, 0x10
ja 0x405921
mov eax, 0x7f4
mov dword [ebx + 0x58], 0
mov word [ebx + 0x54], ax
mov eax, dword [ebp - 0xb4]
mov word [ebx + 0x4c], cx
add eax, 0x15
mov word [ebx + 0x4e], dx
mov dword [ebx + 0x50], 0x8000001
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__strdup]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x404f18
test byte [0x415a28], 8
jne 0x407622
cmp word [ebx + 0x4c], 0x10
ja 0x405249
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.TOMAP
mov dword [esp], eax
mov eax, ebx
call sym._HLPFILE_FindSubFile
test eax, eax
jne 0x405207
test byte [0x415a28], 4
je 0x404f18
mov dword [esp + 0xc], str.no_tomap_section_n
mov dword [esp + 8], str.HLPFILE_GetTOMap
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x404f18
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xb0]
sub eax, esi
lea edi, [eax - 9]
mov eax, dword [ebp - 0xdc]
mov dword [esp], edi
call eax
mov dword [ebx + 0x38], eax
test eax, eax
je 0x404f18
lea edx, [esi + 9]
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._memcpy
mov eax, edi
shr eax, 2
mov dword [ebx + 0x34], eax
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.Phrases
mov dword [esp], eax
mov eax, ebx
call sym._HLPFILE_FindSubFile
test eax, eax
je 0x405f94
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb0]
movzx ecx, byte [eax + 0xa]
shl ecx, 8
cmp word [ebx + 0x4c], 0x10
ja 0x405f3f
movzx esi, byte [eax + 9]
add ecx, esi
movzx edi, cx
lea ecx, [edi + edi]
mov dword [ebx + 0x64], edi
mov dword [ebp - 0xe0], ecx
add ecx, 0x13
mov dword [ebp - 0xe8], ecx
add ecx, eax
cmp edx, ecx
jbe 0x405f67
sub edx, eax
mov esi, 0xd
lea eax, [edx - 0xf]
sub eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], eax
lea eax, [edi*4 + 4]
mov dword [esp], eax
mov eax, dword [ebp - 0xdc]
call eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebx + 0x68], eax
mov edi, eax
mov eax, dword [ebp - 0xdc]
mov dword [esp], ecx
call eax
mov dword [ebx + 0x6c], eax
test eax, eax
je 0x40792d
test edi, edi
je 0x40792d
mov ecx, dword [ebp - 0xe0]
mov eax, 0xfffffffe
lea edx, [esi + 2]
mov dword [ebp - 0xd4], ebx
sub eax, ecx
mov dword [ebp - 0xd0], eax
lea eax, [edx + ecx]
xor ecx, ecx
mov dword [ebp - 0xcc], eax
jmp 0x40533c
mov eax, dword [ebp - 0xd4]
add edx, 2
mov edi, dword [eax + 0x68]
mov ebx, dword [ebp - 0xb4]
movzx eax, byte [ebx + esi + 1]
movzx ebx, byte [ebx + esi]
mov esi, edx
shl eax, 8
add eax, ebx
movzx eax, ax
add eax, dword [ebp - 0xd0]
mov dword [edi + ecx], eax
add ecx, 4
cmp dword [ebp - 0xcc], edx
jne 0x405330
mov ebx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xb4]
cmp word [ebx + 0x4c], 0x10
mov ecx, dword [ebx + 0x6c]
ja 0x40686a
mov edi, dword [ebp - 0xe0]
mov dword [esp], ecx
lea eax, [eax + edi + 0xf]
mov edi, dword [ebp - 0xe4]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
call sym._memcpy
mov dword [ebx + 0x5c], 1
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.TOPIC
mov dword [esp], eax
mov eax, ebx
call sym._HLPFILE_FindSubFile
test eax, eax
je 0x405f09
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb4]
xor edx, edx
lea edi, [ecx + 9]
mov esi, eax
mov dword [ebp - 0xcc], eax
sub esi, edi
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xb4], edi
movzx edi, word [ebx + 0x52]
lea eax, [esi - 1]
mov dword [ebp - 0xd0], esi
div edi
lea esi, [eax + 1]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x78], esi
test eax, eax
je 0x4067b1
lea edx, [esi*4]
mov dword [ebp - 0xe4], edx
test esi, esi
je 0x407669
mov eax, dword [ebp - 0xcc]
add ecx, 0x4d
xor esi, esi
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xd0], 0
mov ebx, ecx
sub eax, 0x44
mov dword [ebp - 0xe0], eax
jmp 0x405462
mov esi, eax
mov ecx, dword [ebp - 0xcc]
lea eax, [ebx - 0x44]
cmp ecx, ebx
cmovb eax, dword [ebp - 0xe0]
lea edx, [eax + edi]
cmp ecx, edx
cmovb edx, ecx
add eax, 0xc
add ebx, edi
call sym._HLPFILE_UncompressedLZ77_Size
add dword [ebp - 0xd0], eax
lea eax, [esi + 1]
cmp esi, dword [ebp - 0xd4]
jne 0x405460
mov ebx, dword [ebp - 0xec]
mov eax, dword [ebp - 0xd0]
add eax, dword [ebp - 0xe4]
mov dword [esp], eax
mov eax, dword [ebp - 0xdc]
call eax
mov dword [ebx + 0x70], eax
mov edx, eax
test eax, eax
je 0x404f18
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xd0]
xor esi, esi
mov dword [ebp - 0xd4], edx
add ecx, edx
add eax, ecx
mov dword [ebx + 0x74], eax
mov eax, edi
mov edi, esi
mov esi, dword [ebp - 0xe8]
jmp 0x40550f
mov eax, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0xd4], eax
movzx eax, word [ebx + 0x52]
imul eax, edi
mov edx, dword [ebp - 0xcc]
add eax, esi
lea esi, [eax + 0x44]
mov dword [ebp - 0xd0], esi
lea esi, [edx - 0x44]
cmp edx, dword [ebp - 0xd0]
cmovb eax, esi
mov esi, dword [ebp - 0xd4]
mov dword [esi + edi*4], ecx
movzx edx, word [ebx + 0x52]
mov esi, dword [ebp - 0xb0]
add edx, eax
cmp esi, edx
cmovb edx, esi
add eax, 0xc
inc edi
call sym._HLPFILE_UncompressLZ77
mov ecx, eax
cmp edi, dword [ebx + 0x78]
jb 0x4054f0
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.FONT
mov dword [esp], eax
mov eax, ebx
call sym._HLPFILE_FindSubFile
test eax, eax
je 0x40694a
mov eax, dword [ebp - 0xb4]
lea edx, [eax + 9]
mov dword [ebp - 0xb4], edx
movzx edx, byte [eax + 0xa]
movzx ecx, byte [eax + 9]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 0xb]
movzx edi, dx
movzx edx, byte [eax + 0xc]
mov dword [ebp - 0xf0], edi
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 0xd]
movzx edi, dx
movzx edx, byte [eax + 0xe]
mov dword [ebp - 0xe8], edi
shl edx, 8
add edx, ecx
movzx edi, dx
movzx edx, byte [eax + 0x10]
movzx eax, byte [eax + 0xf]
mov dword [ebp - 0xf8], edi
shl edx, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xcc], eax
test byte [0x415a28], 8
jne 0x407392
mov eax, dword [ebp - 0xe8]
mov dword [ebx + 0x84], eax
imul eax, eax, 0x44
mov dword [esp], eax
mov eax, dword [ebp - 0xdc]
call eax
cmp dword [ebp - 0xf8], 0xf
mov dword [ebx + 0x88], eax
mov esi, eax
ja 0x407348
cmp dword [ebp - 0xf8], 0xb
ja 0x40753b
mov dword [ebx + 0xa4], 0xa
mov eax, dword [ebp - 0xe8]
mov dword [ebx + 0xa8], 5
test eax, eax
je 0x406a28
mov eax, dword [ebp - 0xcc]
xor edx, edx
sub eax, dword [ebp - 0xf8]
mov dword [ebp - 0xd0], 0
div dword [ebp - 0xf0]
mov dword [ebp - 0x118], eax
lea esi, [esi]
mov eax, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xcc]
movzx edx, byte [eax + edi + 2]
movzx ecx, byte [eax + edi]
movzx eax, byte [eax + edi + 1]
mov byte [ebp - 0xe4], dl
lea edx, [edi + 1]
mov dword [ebp - 0x10c], edx
imul edx, dword [ebp - 0xd0], 0x44
mov byte [ebp - 0xd4], cl
mov dword [esi + edx], eax
mov eax, dword [ebx + 0x88]
mov dword [eax + edx + 4], 0
mov eax, dword [ebx + 0x88]
mov dword [eax + edx + 8], 0
mov eax, dword [ebx + 0x88]
mov dword [eax + edx + 0xc], 0
mov eax, ecx
mov esi, dword [ebx + 0x88]
and eax, 1
cmp al, 1
mov byte [ebp - 0xfc], al
sbb eax, eax
and eax, 0xfffffed4
add eax, 0x2bc
and ecx, 2
mov dword [esi + edx + 0x10], eax
mov eax, dword [ebx + 0x88]
mov byte [ebp - 0x100], cl
movzx ecx, byte [ebp - 0xd4]
setne byte [eax + edx + 0x14]
mov eax, dword [ebx + 0x88]
and ecx, 4
mov byte [ebp - 0x102], cl
movzx ecx, byte [ebp - 0xd4]
setne byte [eax + edx + 0x15]
mov eax, dword [ebx + 0x88]
and ecx, 8
setne byte [eax + edx + 0x16]
movzx eax, word [ebx + 0x50]
mov esi, dword [ebx + 0x88]
mov byte [ebp - 0x104], cl
mov byte [esi + edx + 0x17], al
mov eax, dword [ebx + 0x88]
movzx ecx, byte [ebp - 0xe4]
cmp byte [ebp - 0xe4], 5
mov byte [eax + edx + 0x18], 0
mov eax, dword [ebx + 0x88]
mov dword [ebp - 0xf4], ecx
mov byte [eax + edx + 0x19], 0
mov eax, dword [ebx + 0x88]
mov byte [eax + edx + 0x1a], 0
mov eax, dword [ebx + 0x88]
mov byte [eax + edx + 0x1b], 0
movzx eax, byte [0x415a28]
mov byte [ebp - 0xe0], al
ja case.0x4057a9.0
jmp dword [ecx*4 + 0x41722c]
mov eax, dword [ebx + 0x88]
add eax, edx
or byte [eax + 0x1b], 0x50
lea esi, [esi]
mov eax, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xcc]
movzx ecx, byte [eax + esi + 4]
movzx esi, byte [eax + esi + 3]
shl ecx, 8
add ecx, esi
movzx ecx, cx
mov dword [ebp - 0xec], ecx
cmp dword [ebp - 0xf0], ecx
ja 0x405e7f
test byte [ebp - 0xe0], 1
jne 0x406755
mov ecx, dword [ebx + 0x88]
add ecx, edx
mov dword [ecx + 0x1c], 0x766c6548
mov byte [ecx + 0x20], 0
mov ecx, dword [ebx + 0x88]
mov dword [ecx + edx + 0x3c], 0
mov ecx, dword [ebp - 0xcc]
lea esi, [eax + ecx + 6]
lea edi, [eax + ecx + 5]
mov dword [ebp - 0xe4], edi
mov edi, esi
mov dword [ebp - 0x108], esi
lea esi, [eax + ecx + 7]
movzx ecx, byte [edi]
shl ecx, 8
mov edi, ecx
movzx ecx, byte [esi]
shl ecx, 0x10
or ecx, edi
mov edi, dword [ebp - 0xe4]
movzx edi, byte [edi]
or ecx, edi
mov edi, dword [ebx + 0x88]
mov dword [edi + edx + 0x40], ecx
test byte [ebp - 0xe0], 8
jne 0x405d38
inc dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd0]
add dword [ebp - 0xcc], 0xb
cmp dword [ebp - 0xe8], eax
je 0x406a28
mov esi, dword [ebx + 0x88]
jmp 0x405678
mov eax, dword [ebx + 0x88]
add eax, edx
or byte [eax + 0x1b], 0x40
jmp 0x4057c0
mov eax, dword [ebx + 0x88]
add eax, edx
or byte [eax + 0x1b], 0x20
jmp 0x4057c0
mov eax, dword [ebx + 0x88]
add eax, edx
or byte [eax + 0x1b], 0x10
jmp 0x4057c0
mov eax, dword [ebx + 0x88]
add eax, edx
or byte [eax + 0x1b], 0x30
jmp 0x4057c0
test byte [0x415a28], 4
je 0x404f18
mov dword [esp + 0xc], str.Wrong_system_header_n
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x404f18
mov dword [esp + 0xc], str.wrong_header_n
jmp 0x404f41
test dx, dx
jne 0x406880
mov eax, dword [ebp - 0xb4]
mov dword [ebx + 0x58], 0
mov word [ebx + 0x4c], cx
mov dword [ebx + 0x4e], 0x10000
lea edi, [eax + 0x15]
mov dword [ebx + 0x52], 0xff41000
lea ecx, [eax + 0x19]
cmp dword [ebp - 0xb0], ecx
jb 0x4059b5
mov dword [ebp - 0xcc], ebx
mov ebx, ecx
nop
movzx eax, byte [edi + 1]
shl eax, 8
mov edx, eax
movzx eax, byte [edi]
add eax, edx
cmp ax, 0xb
ja case.0x405977.0
movzx edx, ax
jmp dword [edx*4 + 0x417244]
test byte [0x415a28], 4
jne 0x405cc7
lea esi, [esi]
movzx eax, byte [edi + 3]
movzx edx, byte [edi + 2]
shl eax, 8
add eax, edx
movzx eax, ax
lea edi, [edi + eax + 4]
lea ebx, [edi + 4]
cmp ebx, dword [ebp - 0xb0]
jbe 0x405960
mov ebx, dword [ebp - 0xcc]
mov edi, dword [ebx + 0xc]
test edi, edi
jne 0x4051a7
mov dword [esp], 0x41658c
call dword [sym.imp.ucrtbase.dll__strdup]
mov dword [ebx + 0xc], eax
jmp 0x4051a7
movzx edx, byte [edi + 4]
mov esi, dword [ebp - 0xcc]
mov word [esi + 0x50], dx
test byte [0x415a28], 8
je 0x405990
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Charset:__d_n
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415a28
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x405990
test byte [0x415a28], 4
je 0x405990
mov eax, ebx
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.Citation:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
jmp 0x405a12
movzx eax, byte [edi + 3]
movzx edx, byte [edi + 2]
shl eax, 8
add eax, edx
cmp ax, 0x5a
je 0x4062f1
test byte [0x415a28], 4
je 0x40599d
mov dword [esp + 0xc], str.system6_n
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
movzx eax, byte [edi + 3]
movzx edx, byte [edi + 2]
shl eax, 8
add eax, edx
jmp 0x40599d
movzx eax, byte [edi + 9]
movzx edx, byte [edi + 8]
shl eax, 8
add eax, edx
cmp ax, 1
je 0x405ae0
test byte [0x415a28], 1
jne 0x4062c8
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x30000
mov dword [esp + 8], 1
movzx eax, byte [edi + 3]
movzx edx, byte [edi + 2]
shl eax, 8
add eax, edx
movzx eax, ax
sub eax, 0x16
mov dword [esp + 4], eax
lea eax, [edi + 0x1a]
mov dword [esp], eax
call dword [sym.imp.user32.dll_CreateIconFromResourceEx]
mov ecx, dword [ebp - 0xcc]
sub esp, 0x1c
mov dword [ecx + 0x94], eax
movzx eax, byte [edi + 3]
movzx edx, byte [edi + 2]
shl eax, 8
add eax, edx
jmp 0x40599d
mov eax, dword [ebp - 0xd8]
mov dword [esp], ebx
call eax
mov edx, eax
lea eax, [eax + 9]
mov dword [ebp - 0xd0], edx
mov dword [esp], eax
mov eax, dword [ebp - 0xdc]
call eax
mov edx, dword [ebp - 0xd0]
test eax, eax
mov esi, eax
je 0x405990
lea ecx, [eax + 8]
inc edx
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov dword [esp + 8], edx
mov dword [ebp - 0xd0], ecx
call sym._memcpy
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd0]
mov dword [esi + 4], 0
mov eax, dword [eax + 0x1c]
mov dword [esi], ecx
test eax, eax
je 0x406970
lea esi, [esi]
nop
mov edx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x405bc0
add edx, 4
mov dword [edx], esi
movzx eax, byte [edi + 3]
movzx edx, byte [edi + 2]
shl eax, 8
add eax, edx
jmp 0x40599d
movzx eax, byte [edi + 3]
movzx edx, byte [edi + 2]
movzx ecx, byte [0x415a28]
shl eax, 8
add eax, edx
cmp ax, 4
je 0x405c6b
and ecx, 4
je 0x40599d
mov dword [esp + 0xc], str.system3_n
jmp 0x405a8c
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4066ad
test byte [0x415a28], 4
je 0x405990
mov dword [esp + 0xc], str.copyright_n
jmp 0x405a8c
mov eax, dword [ebp - 0xcc]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x406701
test byte [0x415a28], 4
je 0x405990
mov dword [esp + 0xc], str.title_n
jmp 0x405a8c
movzx eax, byte [edi + 7]
movzx edx, byte [edi + 6]
movzx ebx, byte [edi + 4]
mov esi, dword [ebp - 0xcc]
shl eax, 8
add eax, edx
movzx edx, byte [edi + 5]
shl eax, 0x10
shl edx, 8
add edx, ebx
movzx edx, dx
add eax, edx
and ecx, 8
mov dword [esi + 0x3c], eax
je 0x405990
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Setting_contents_start_at__08lx_n
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415a28
mov dword [esp], 3
jmp 0x405a12
movzx eax, ax
mov dword [esp + 0xc], str.Unsupported_SystemRecord__d__n
mov dword [esp + 0x10], eax
jmp 0x405a40
movzx eax, dx
mov dword [esp + 0xc], str.Got_system_header:_magic_04x_version_d._d_flags_04x_n
mov dword [esp + 0x1c], eax
movzx eax, cx
mov dword [esp + 0x18], eax
movzx eax, di
mov dword [esp + 0x14], eax
movzx eax, si
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415a28
mov dword [esp], 3
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xcc], ecx
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xcc]
jmp 0x40513f
mov edi, dword [ebp - 0xcc]
movzx ecx, byte [esi]
add edx, dword [ebx + 0x88]
movzx eax, byte [eax + edi + 8]
mov edi, dword [ebp - 0x108]
shl eax, 8
add eax, ecx
movzx ecx, byte [edi]
mov edi, dword [ebp - 0xe4]
shl eax, 0x10
movzx esi, byte [edi]
shl ecx, 8
add ecx, esi
mov esi, str._smallCaps
movzx ecx, cx
add eax, ecx
and eax, 0xffffff
mov dword [ebp - 0xe0], eax
lea eax, [edx + 0x1c]
call sym._wine_dbgstr_an.constprop.0_1
mov edi, dword [ebp - 0x10c]
mov ecx, str._bold
movzx edx, byte [ebp - 0xd4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xb4]
test dl, 0x20
movzx edi, byte [eax + edi]
mov eax, 0x41658c
mov dword [esp + 0xc], str.Font__d_:_flags_02x_s_s_s_s_s_s_pSize_u_family_u_face_s__u__color_08x_n
cmove esi, eax
and edx, 0x10
mov edx, str._dblUnderline
mov dword [esp + 8], str.HLPFILE_ReadFont
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
mov esi, edx
mov edx, str._strikeOut
cmove esi, eax
cmp byte [ebp - 0x104], 0
mov dword [esp + 4], 0x415a28
mov dword [esp], 3
mov dword [esp + 0x28], esi
mov esi, edx
mov edx, str._underline
cmove esi, eax
cmp byte [ebp - 0x102], 0
mov dword [esp + 0x24], esi
mov esi, edx
mov edx, str._italic
cmove esi, eax
cmp byte [ebp - 0x100], 0
cmove edx, eax
cmp byte [ebp - 0xfc], 0
cmovne eax, ecx
mov ecx, dword [ebp - 0xe0]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp - 0xec]
mov dword [esp + 0x18], eax
movzx eax, byte [ebp - 0xd4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp - 0xe4]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xd0]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], ecx
call sym._wine_dbg_log.constprop.0_1
jmp 0x405870
mov esi, dword [ebp - 0x118]
mov edi, 0x1f
cmp esi, 0x1f
cmovbe edi, esi
imul esi, dword [ebp - 0xec]
add esi, dword [ebp - 0xf8]
mov dword [ebp - 0xe4], edi
mov edi, dword [ebx + 0x88]
mov dword [ebp - 0x108], edi
add edi, edx
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x114], ecx
lea ecx, [esi + eax]
mov esi, dword [ebp - 0xe4]
mov dword [ebp - 0x110], ecx
cmp esi, 4
jae 0x4068c2
test esi, esi
je 0x405ef3
movzx ecx, byte [ecx]
mov byte [edi + 0x1c], cl
mov edi, esi
and edi, 2
jne 0x4078a8
mov edi, dword [ebx + 0x88]
mov dword [ebp - 0x108], edi
mov ecx, dword [ebp - 0x108]
add ecx, dword [ebp - 0xe4]
mov byte [edx + ecx + 0x1c], 0
jmp 0x405810
test byte [0x415a28], 4
je 0x404f18
mov dword [esp + 0xc], str.topic0_n
mov dword [esp + 8], str.HLPFILE_Uncompress_Topic
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x404f18
movzx esi, byte [eax + 9]
add ecx, esi
movzx edi, cx
lea esi, [edi + edi]
mov dword [ebx + 0x64], edi
lea ecx, [esi + 0x13]
mov dword [ebp - 0xe0], esi
add eax, ecx
mov dword [ebp - 0xe8], ecx
cmp eax, edx
jb 0x406a13
test byte [0x415a28], 4
je 0x405f94
mov dword [esp + 0xc], 0x416fc1
mov dword [esp + 8], str.HLPFILE_UncompressLZ77_Phrases
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
lea eax, [ebp - 0xb8]
lea ecx, [ebp - 0xbc]
mov edx, str.PhrIndex
mov dword [esp], eax
mov eax, ebx
call sym._HLPFILE_FindSubFile
test eax, eax
je 0x4053aa
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.PhrImage
mov dword [esp], eax
mov eax, ebx
call sym._HLPFILE_FindSubFile
test eax, eax
je 0x4053aa
mov edi, dword [ebp - 0xbc]
movzx eax, byte [edi + 0x22]
movzx edx, byte [edi + 0x21]
shl eax, 8
add eax, edx
and edx, 0xf
mov word [ebp - 0xe8], ax
movzx eax, byte [edi + 0xe]
mov word [ebp - 0xd4], dx
movzx edx, byte [edi + 0xd]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xe4], eax
mov dword [ebx + 0x64], eax
mov eax, edi
test byte [0x415a28], 8
jne 0x407739
movzx edx, byte [eax + 0x18]
movzx ecx, byte [eax + 0x17]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 0x15]
mov esi, edx
movzx edx, byte [eax + 0x16]
shl esi, 0x10
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 0x1b]
movzx edx, dx
add esi, edx
movzx edx, byte [eax + 0x1c]
mov dword [ebp - 0xf4], esi
shl edx, 8
add ecx, edx
movzx edx, byte [eax + 0x1a]
movzx eax, byte [eax + 0x19]
shl ecx, 0x10
shl edx, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [ebp - 0xf8], eax
cmp eax, esi
je 0x4060cb
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb0]
lea esi, [eax + 9]
mov dword [ebp - 0xcc], edx
mov eax, esi
call sym._HLPFILE_UncompressedLZ77_Size
cmp eax, dword [ebp - 0xf4]
je 0x4060cb
test byte [0x415a28], 4
mov edx, dword [ebp - 0xcc]
jne 0x4078d5
mov eax, esi
call sym._HLPFILE_UncompressedLZ77_Size
mov esi, dword [ebp - 0xf4]
cmp esi, eax
cmovge eax, esi
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xe4]
mov esi, dword [ebp - 0xdc]
lea eax, [eax*4 + 4]
mov dword [esp], eax
call esi
mov ecx, dword [ebp - 0xf4]
mov dword [ebx + 0x68], eax
mov dword [ebp - 0xd0], eax
mov dword [esp], ecx
call esi
mov esi, eax
mov dword [ebx + 0x6c], eax
mov ecx, eax
mov eax, dword [ebp - 0xd0]
test esi, esi
je 0x40794e
mov edx, dword [ebp - 0xd0]
test edx, edx
je 0x40794e
mov esi, dword [ebp - 0xe4]
mov dword [eax], 0
lea edx, [edi + 0x21]
test esi, esi
je 0x407429
movzx esi, word [ebp - 0xe8]
mov dword [ebp - 0xf0], ebx
xor eax, eax
mov edi, 1
movzx ecx, word [ebp - 0xd4]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xcc], 0
and esi, 0xc
mov word [ebp - 0xec], si
shl edi, cl
mov ebx, 1
jmp 0x406182
mov esi, dword [edx]
test ecx, esi
je 0x4061a3
add ebx, edi
mov eax, ecx
mov ecx, eax
add ecx, ecx
jne 0x406178
mov esi, dword [edx + 4]
lea ecx, [edx + 4]
test esi, 1
je 0x4062b6
mov edx, ecx
mov ecx, 1
jmp 0x40617e
shl eax, 2
jne 0x407926
mov esi, dword [edx + 4]
lea ecx, [edx + 4]
test esi, 1
je 0x406849
mov eax, 1
inc ebx
mov edx, ecx
test byte [ebp - 0xe8], 0xe
je 0x4061ee
add eax, eax
jne 0x407473
lea edx, [ecx + 4]
mov ecx, dword [ecx + 4]
test cl, 1
je 0x40745b
mov eax, 1
add ebx, 2
cmp word [ebp - 0xd4], 2
jbe 0x406219
add eax, eax
jne 0x4069cc
mov ecx, dword [edx + 4]
lea eax, [edx + 4]
test cl, 1
je 0x4073d7
mov edx, eax
mov eax, 1
add ebx, 4
cmp word [ebp - 0xec], 0
je 0x406244
add eax, eax
jne 0x406a04
mov ecx, dword [edx + 4]
lea eax, [edx + 4]
test cl, 1
je 0x4073f1
mov edx, eax
mov eax, 1
add ebx, 8
cmp word [ebp - 0xd4], 4
jbe 0x406269
add eax, eax
jne 0x4069bd
lea eax, [edx + 4]
test byte [edx + 4], 1
mov edx, eax
mov eax, 1
je 0x406269
add ebx, 0x10
movzx ecx, bx
inc dword [ebp - 0xcc]
mov ebx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xcc]
add ecx, dword [ebp - 0xe0]
mov dword [ebx + esi*4], ecx
cmp dword [ebp - 0xe4], esi
je 0x407420
mov ecx, dword [ebp - 0xf0]
mov esi, dword [ecx + 0x68]
mov ecx, dword [ebp - 0xcc]
mov ecx, dword [esi + ecx*4]
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xe0], ecx
jmp 0x40616c
mov eax, 2
test eax, esi
jne 0x4061c3
jmp 0x4061c4
mov dword [esp + 0xc], str.More_than_one_icon__picking_up_first_n
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415a28
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x405ae0
mov esi, dword [ebp - 0xcc]
mov eax, dword [esi + 0x8c]
mov dword [ebp - 0xd0], eax
inc eax
mov dword [esi + 0x8c], eax
imul eax, eax, 0x68
mov dword [esp + 4], eax
mov eax, dword [esi + 0x90]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov dword [esi + 0x90], eax
test eax, eax
je 0x405990
mov esi, dword [ebp - 0xcc]
imul edx, dword [esi + 0x8c], 0x68
lea esi, [eax + edx - 0x68]
movzx edx, byte [edi + 5]
movzx eax, byte [edi + 4]
shl edx, 8
lea ecx, [edx + eax]
and ax, 1
mov word [ebp - 0xd0], cx
mov word [ebp - 0xec], ax
jne 0x40740b
mov byte [esi], 0
movzx eax, word [ebp - 0xd0]
and ax, 2
mov word [ebp - 0xf0], ax
jne 0x40747a
mov byte [esi + 0xa], 0
movzx eax, word [ebp - 0xd0]
lea ecx, [esi + 0x13]
mov dword [ebp - 0xe8], ecx
and ax, 4
mov word [ebp - 0xf4], ax
je 0x40697e
lea eax, [edi + 0x19]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
movzx eax, word [ebp - 0xd0]
mov dword [ebp - 0xd4], 0x80000000
and ax, 8
mov word [ebp - 0xf8], ax
je 0x4063e9
movzx eax, byte [edi + 0x4d]
movzx edx, byte [edi + 0x4c]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xe0], 0x80000000
mov eax, dword [ebp - 0xd4]
mov dword [esi + 0x48], eax
movzx eax, word [ebp - 0xd0]
and ax, 0x10
mov word [ebp - 0xfc], ax
je 0x406426
movzx eax, byte [edi + 0x4f]
movzx edx, byte [edi + 0x4e]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe4], 0x80000000
mov eax, dword [ebp - 0xe0]
mov dword [esi + 0x4c], eax
movzx eax, word [ebp - 0xd0]
and ax, 0x20
mov word [ebp - 0x100], ax
je 0x406463
movzx eax, byte [edi + 0x51]
movzx edx, byte [edi + 0x50]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov ebx, 0x80000000
mov dword [esi + 0x50], eax
movzx eax, word [ebp - 0xd0]
and ax, 0x40
mov word [ebp - 0x102], ax
je 0x406495
movzx eax, byte [edi + 0x53]
movzx edx, byte [edi + 0x52]
shl eax, 8
add eax, edx
movzx ebx, ax
movzx ecx, word [ebp - 0xd0]
mov dword [esi + 0x54], ebx
mov eax, 5
and cx, 0x80
mov word [ebp - 0x104], cx
je 0x4064c2
movzx eax, byte [edi + 0x55]
movzx edx, byte [edi + 0x54]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [esi + 0x58], eax
mov eax, 0xffffff
mov dword [esi + 0x5c], 0xcf0000
test word [ebp - 0xd0], 0x100
je 0x406500
movzx eax, byte [edi + 0x59]
movzx edx, byte [edi + 0x58]
shl eax, 8
add eax, edx
movzx edx, byte [edi + 0x56]
mov ecx, eax
movzx eax, byte [edi + 0x57]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [esi + 0x60], eax
mov eax, 0xffffff
test word [ebp - 0xd0], 0x200
je 0x406537
movzx eax, byte [edi + 0x5d]
movzx edx, byte [edi + 0x5c]
shl eax, 8
add eax, edx
movzx edx, byte [edi + 0x5a]
mov ecx, eax
movzx eax, byte [edi + 0x5b]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [esi + 0x64], eax
test byte [0x415a28], 8
je 0x405990
mov eax, dword [ebp - 0xe8]
call sym._wine_dbgstr_an.constprop.0_1
mov dword [ebp - 0xd0], eax
lea eax, [esi + 0xa]
call sym._wine_dbgstr_an.constprop.0_1
mov dword [ebp - 0xe8], eax
mov eax, esi
call sym._wine_dbgstr_an.constprop.0_1
cmp word [ebp - 0x104], 1
mov dword [esp + 0x48], ebx
sbb edx, edx
mov dword [esp + 0x30], eax
mov ebx, dword [ebp - 0xe4]
and edx, 0x20
add edx, 0x53
cmp word [ebp - 0x102], 1
mov dword [esp + 0x44], ebx
sbb esi, esi
mov ebx, dword [ebp - 0xe0]
mov dword [esp + 0x2c], edx
and esi, 0x20
add esi, 0x48
cmp word [ebp - 0x100], 1
mov dword [esp + 0x40], ebx
sbb ecx, ecx
mov ebx, dword [ebp - 0xd4]
mov dword [esp + 0x28], esi
and ecx, 0x20
add ecx, 0x57
cmp word [ebp - 0xfc], 1
mov dword [esp + 0x3c], ebx
sbb eax, eax
mov dword [ebp - 0x100], ecx
mov esi, dword [ebp - 0x100]
and eax, 0x20
mov ebx, dword [ebp - 0xd0]
add eax, 0x59
cmp word [ebp - 0xf8], 1
mov dword [esp + 0x24], esi
sbb ecx, ecx
mov dword [ebp - 0xfc], eax
mov esi, dword [ebp - 0xfc]
and ecx, 0x20
mov dword [esp + 0x38], ebx
mov ebx, dword [ebp - 0xe8]
add ecx, 0x58
cmp word [ebp - 0xf4], 1
mov dword [esp + 0x20], esi
sbb eax, eax
mov dword [ebp - 0xf8], ecx
mov esi, dword [ebp - 0xf8]
and eax, 0x20
mov dword [esp + 0x34], ebx
add eax, 0x43
cmp word [ebp - 0xf0], 1
mov dword [esp + 0x1c], esi
sbb ecx, ecx
mov dword [ebp - 0xf4], eax
and ecx, 0x20
add ecx, 0x4e
cmp word [ebp - 0xec], 1
mov esi, dword [ebp - 0xf4]
mov dword [esp + 0xc], str.System_Window:_flags_c_c_c_c_c_c_c_c_type_s_name_s_caption_s___ld__ld_x__ld__ld__n
sbb eax, eax
mov dword [esp + 0x14], ecx
and eax, 0x20
mov dword [esp + 0x18], esi
add eax, 0x54
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x415a28
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
movzx eax, byte [edi + 3]
movzx edx, byte [edi + 2]
shl eax, 8
add eax, edx
jmp 0x40599d
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__strdup]
mov esi, dword [ebp - 0xcc]
mov dword [esi + 0x10], eax
test eax, eax
je 0x40789d
test byte [0x415a28], 8
je 0x405990
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.Copyright:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415a28
mov dword [esp], 3
jmp 0x405a12
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__strdup]
mov esi, dword [ebp - 0xcc]
mov dword [esi + 0xc], eax
test eax, eax
je 0x40789d
test byte [0x415a28], 8
je 0x405990
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.Title:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415a28
mov dword [esp], 3
jmp 0x405a12
mov eax, dword [ebp - 0xf0]
mov dword [esp + 0xc], str.Too_high_face_ref___u__u__n
mov dword [esp + 8], str.HLPFILE_ReadFont
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xec]
mov dword [esp + 4], 0x415a28
mov dword [esp + 0x10], eax
mov dword [esp], 0
mov dword [ebp - 0xe4], edx
call sym._wine_dbg_log.constprop.0_1
movzx ecx, byte [0x415a28]
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xe4]
mov byte [ebp - 0xe0], cl
jmp 0x4057fd
movzx edx, word [ebx + 0x54]
lea eax, [edx + 4]
mov dword [ebp - 0xd4], edx
imul eax, esi
mov dword [esp], eax
mov eax, dword [ebp - 0xdc]
call eax
mov dword [ebx + 0x70], eax
test eax, eax
je 0x404f18
mov ecx, dword [ebp - 0xd0]
lea edi, [eax + esi*4]
add ecx, edi
mov dword [ebx + 0x74], ecx
test esi, esi
je 0x405559
mov dword [ebp - 0xcc], edi
mov edx, dword [ebp - 0xd4]
xor esi, esi
jmp 0x406807
mov eax, dword [ebx + 0x70]
movzx edx, word [ebx + 0x54]
imul edx, esi
add edx, dword [ebp - 0xcc]
mov dword [eax + esi*4], edx
mov eax, dword [ebx + 0x70]
mov edi, dword [ebp - 0xb4]
movzx ecx, word [ebx + 0x54]
mov edx, dword [eax + esi*4]
movzx eax, word [ebx + 0x52]
mov dword [esp + 8], ecx
imul eax, esi
mov dword [esp], edx
inc esi
lea eax, [edi + eax + 0xc]
mov dword [esp + 4], eax
call sym._memcpy
cmp esi, dword [ebx + 0x78]
jb 0x406800
jmp 0x405559
test byte [ebp - 0xe8], 0xe
je 0x4069db
mov edx, ecx
mov eax, 2
test eax, esi
jne 0x4061eb
jmp 0x4061ee
mov edx, dword [ebp - 0xb0]
add eax, dword [ebp - 0xe8]
call sym._HLPFILE_UncompressLZ77
jmp 0x4053a3
cmp dx, 4
je 0x407654
mov eax, 0x800
mov dword [ebx + 0x58], 1
mov word [ebx + 0x52], ax
mov eax, 0x4000
mov word [ebx + 0x4e], dx
mov edx, 1
mov word [ebx + 0x54], ax
mov eax, dword [ebp - 0xb4]
mov word [ebx + 0x4c], cx
mov word [ebx + 0x50], dx
lea edi, [eax + 0x15]
jmp 0x40594c
mov edi, dword [ebp - 0xe4]
mov esi, dword [ebp - 0x110]
mov ecx, dword [esi + edi - 4]
mov esi, dword [ebp - 0x114]
mov dword [esi + edi - 4], ecx
lea ecx, [edi - 1]
mov edi, esi
mov esi, dword [ebp - 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x405ee7
test byte [ebp - 0xe0], 1
je 0x4057c0
mov eax, dword [ebp - 0xf4]
mov dword [esp + 0xc], str.Unknown_family__u_n
mov dword [esp + 8], str.HLPFILE_ReadFont
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x415a28
mov dword [esp], 0
mov dword [ebp - 0xe4], edx
call sym._wine_dbg_log.constprop.0_1
movzx eax, byte [0x415a28]
mov edx, dword [ebp - 0xe4]
mov byte [ebp - 0xe0], al
jmp 0x4057c0
test byte [0x415a28], 4
jne 0x40768b
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
jmp 0x404f18
mov eax, dword [ebp - 0xcc]
lea edx, [eax + 0x1c]
jmp 0x405bcc
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xe8]
mov eax, dword [eax + 0xc]
lea ebx, [eax + 0x32]
movzx ecx, byte [eax]
test cl, cl
je 0x4069a0
inc eax
inc edx
mov byte [edx - 1], cl
cmp eax, ebx
jne 0x406990
mov byte [edx], 0
jmp 0x4063b5
cmp word [ebp - 0xd4], 4
jbe 0x40752f
mov edx, eax
mov eax, 2
mov ecx, dword [edx]
test eax, ecx
jne 0x406266
jmp 0x406269
mov ecx, dword [edx]
test eax, ecx
jne 0x406216
jmp 0x406219
cmp word [ebp - 0xd4], 2
mov edx, ecx
mov eax, 2
ja 0x4069cc
cmp word [ebp - 0xec], 0
mov eax, 1
je 0x406244
mov eax, 2
mov ecx, dword [edx]
test eax, ecx
jne 0x406241
jmp 0x406244
call sym._HLPFILE_UncompressedLZ77_Size
mov esi, 0x11
mov dword [ebp - 0xe4], eax
jmp 0x4052c8
mov dword [ebp - 0xd0], ebx
movzx edx, word [ebx + 0x4c]
mov edi, 0xffffffff
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xd4], 0xc
jmp 0x406bae
mov eax, dword [ebp - 0xd0]
xor edx, edx
movzx esi, word [eax + 0x54]
mov eax, ecx
div esi
mov dword [ebp - 0xcc], eax
mov ebx, edx
cmp eax, edi
je 0x406a7a
cmp edi, 0xffffffff
je 0x406a7a
mov dword [ebp - 0xd4], ecx
sub ebx, 0xc
test byte [0x415a28], 8
jne 0x406be1
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xcc]
cmp dword [eax + 0x78], ecx
jbe 0x4074bb
mov ecx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xcc]
mov eax, dword [ecx + 0x70]
mov ecx, dword [ecx + 0x74]
add ebx, dword [eax + esi*4]
lea eax, [ebx + 0x15]
cmp ecx, eax
jbe 0x4074f3
movzx esi, byte [ebx + 3]
movzx eax, byte [ebx + 2]
movzx edx, byte [ebx]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 1]
shl esi, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add esi, eax
lea eax, [ebx + esi]
cmp ecx, eax
cmovae ecx, eax
cmp edi, dword [ebp - 0xcc]
mov eax, 0
cmove eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe4], eax
movzx eax, byte [ebx + 0x14]
cmp al, 2
je 0x406c80
jbe 0x406c28
cmp al, 0x20
je 0x406b1b
cmp al, 0x23
jne 0x406c30
mov esi, dword [ebp - 0xd0]
mov edi, dword [esi + 0x14]
test edi, edi
je 0x40700a
lea edx, [ebx + 0x19]
cmp ecx, edx
jb 0x406fce
cmp al, 0x20
je 0x407042
cmp al, 0x23
sete al
sub ecx, ebx
sub ecx, 0xf
test al, al
jne 0x407042
add dword [ebp - 0xe4], ecx
mov eax, dword [ebp - 0xd0]
movzx ecx, byte [ebx + 0xe]
movzx edx, word [eax + 0x4c]
movzx eax, byte [ebx + 0xf]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebx + 0xd]
movzx ebx, byte [ebx + 0xc]
shl eax, 0x10
shl ecx, 8
add ecx, ebx
movzx ecx, cx
add ecx, eax
cmp dx, 0x10
ja 0x406c70
add dword [ebp - 0xd4], ecx
test ecx, ecx
je 0x407151
cmp dword [ebp - 0xd4], 0xffffffff
je 0x407151
mov edi, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xd4]
lea ecx, [eax - 0xc]
cmp dx, 0x10
jbe 0x406a50
mov eax, ecx
and ecx, 0x3fff
shr eax, 0xe
mov ebx, ecx
mov dword [ebp - 0xcc], eax
test byte [0x415a28], 8
je 0x406a87
mov eax, dword [ebp - 0xcc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], str.ref_08lx_____u__u__n
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xd4]
mov dword [esp + 8], str.HLPFILE_DoReadHlpFile
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x415a28
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x406a87
cmp al, 1
je 0x406b1b
test byte [0x415a28], 2
je 0x406b57
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.buf_0x14____x_n
mov dword [esp + 8], str.HLPFILE_DoReadHlpFile
mov dword [esp + 4], 0x415a28
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x406b57
mov dword [ebp - 0xd4], ecx
jmp 0x406b9b
mov eax, dword [ebp - 0xd0]
cmp word [eax + 0x4c], 0x10
mov eax, dword [ebp - 0xcc]
ja 0x406d1a
mov edi, dword [ebp - 0xd4]
lea eax, [eax + eax*2]
lea eax, [edi + eax*4]
mov dword [ebp - 0xe0], eax
movzx eax, byte [ebx + 0x13]
movzx edx, byte [ebx + 0x12]
shl eax, 8
lea edi, [eax + edx]
movzx eax, byte [ebx + 0x11]
movzx edx, byte [ebx + 0x10]
shl edi, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, edi
mov dword [ebp - 0xec], eax
add eax, ebx
mov dword [ebp - 0xf0], eax
cmp ecx, eax
jae 0x406d2e
mov ebx, dword [ebp - 0xd0]
test byte [0x415a28], 4
je 0x404f18
mov dword [esp + 0xc], str.page2_n
mov dword [esp + 8], str.HLPFILE_AddPage
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x404f18
shl eax, 0xf
add eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe0], eax
jmp 0x406ca9
movzx eax, byte [ebx + 7]
movzx edx, byte [ebx + 6]
mov dword [ebp - 0xf4], ecx
movzx edi, byte [ebx + 4]
shl eax, 8
add edx, eax
movzx eax, byte [ebx + 5]
shl edx, 0x10
shl eax, 8
add eax, edi
mov edi, dword [ebp - 0xdc]
movzx eax, ax
add eax, edx
mov dword [ebp - 0xe8], eax
add eax, 0x2d
mov dword [esp], eax
call edi
mov edi, eax
test eax, eax
je 0x40791b
lea edx, [eax + 0x2c]
sub esi, dword [ebp - 0xec]
mov dword [eax], edx
cmp esi, dword [ebp - 0xe8]
jae 0x407066
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xf4]
mov eax, dword [eax + 0x5c]
test eax, eax
jne 0x407120
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 0x60]
test eax, eax
jne 0x407492
test byte [0x415a28], 1
jne 0x4075f7
mov eax, dword [ebp - 0xf0]
mov dword [esp], edx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
call sym._memcpy
mov dword [ebp - 0xe8], esi
mov edx, dword [edi]
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xd0]
mov byte [edx + eax], 0
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x4070f2
mov eax, dword [ecx + 0x18]
mov dword [eax + 0x18], edi
mov eax, dword [ecx + 0x18]
mov dword [ecx + 0x18], edi
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0x18], 0
mov dword [edi + 4], 0
mov esi, dword [ebp - 0xe0]
mov dword [edi + 0x28], eax
mov dword [edi + 8], 0
movzx eax, byte [ebx + 0x24]
movzx edx, byte [ebx + 0x23]
movzx ecx, byte [ebx + 0x21]
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 0x22]
mov dword [edi + 0x10], esi
shl eax, 0x10
shl edx, 8
add edx, ecx
mov ecx, dword [ebp - 0xd4]
movzx edx, dx
add eax, edx
mov dword [edi + 0x14], ecx
mov dword [edi + 0xc], eax
movzx eax, byte [ebx + 0x1c]
movzx esi, byte [ebx + 0x1b]
movzx edx, byte [ebx + 0x19]
shl eax, 8
add esi, eax
shl esi, 0x10
mov eax, esi
movzx esi, byte [ebx + 0x1a]
shl esi, 8
add esi, edx
movzx esi, si
add esi, eax
mov dword [edi + 0x20], esi
movzx edx, byte [ebx + 0x20]
movzx eax, byte [ebx + 0x1f]
movzx ecx, byte [ebx + 0x1d]
shl edx, 8
add edx, eax
movzx eax, byte [ebx + 0x1e]
shl edx, 0x10
shl eax, 8
add eax, ecx
movzx eax, ax
add edx, eax
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0x24], edx
cmp word [eax + 0x4c], 0x10
ja 0x406ef8
cmp esi, 0xffff
je 0x407116
cmp esi, 0xffffffff
je 0x407116
mov eax, dword [eax + 0x38]
mov eax, dword [eax + esi*4]
mov dword [edi + 0x20], eax
cmp edx, 0xffff
je 0x40710a
cmp edx, 0xffffffff
je 0x40710a
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + edx*4]
mov dword [edi + 0x24], eax
test byte [0x415a28], 8
jne 0x407093
mov esi, dword [edi]
mov eax, dword [ebp - 0xd8]
mov dword [esp], esi
call eax
lea eax, [esi + eax + 1]
add esi, dword [ebp - 0xe8]
cmp eax, esi
jae 0x406b57
mov dword [ebp - 0xec], ebx
mov esi, eax
jmp 0x406f79
lea eax, [ebx + 9]
inc ebx
mov dword [esp], eax
mov eax, dword [ebp - 0xdc]
call eax
mov edx, eax
lea eax, [eax + 8]
mov dword [edx], eax
mov dword [esp + 4], esi
add esi, ebx
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [ebp - 0xe0], edx
call sym._memcpy
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0xe0]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xe8]
add eax, dword [edi]
mov dword [edi + 4], edx
cmp esi, eax
jae 0x406fc3
mov dword [esp], esi
mov eax, dword [ebp - 0xd8]
call eax
mov ebx, eax
test byte [0x415a28], 8
je 0x406f30
mov eax, esi
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.macro:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.HLPFILE_AddPage
mov dword [esp + 4], 0x415a28
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x406f30
mov ebx, dword [ebp - 0xec]
jmp 0x406b57
mov ebx, dword [ebp - 0xd0]
test byte [0x415a28], 4
je 0x404f18
mov dword [esp + 0xc], str.header_too_small_n
mov dword [esp + 8], str.HLPFILE_SkipParagraph
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x404f18
mov ebx, esi
test byte [0x415a28], 4
je 0x404f18
mov dword [esp + 0xc], str.no_page_n
mov dword [esp + 8], str.HLPFILE_SkipParagraph
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x404f18
lea eax, [ebx + 0x17]
test byte [ebx + 0x15], 1
cmove edx, eax
movzx ecx, byte [edx]
test cl, 1
je 0x407147
movzx ecx, word [edx]
shr cx, 1
movzx ecx, cx
jmp 0x406b51
mov eax, dword [ebp - 0xe8]
mov dword [esp], edx
mov dword [ebp - 0xec], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xf0]
mov dword [esp + 4], eax
call sym._memcpy
mov edx, dword [ebp - 0xec]
jmp 0x406dde
mov edx, dword [edi + 0x24]
mov eax, dword [edi]
mov esi, dword [edi + 0x20]
mov dword [ebp - 0xec], edx
call sym._wine_dbgstr_an.constprop.0_1
mov edx, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xe0]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 0xc]
mov dword [esp + 0xc], str.Added_page__d_:_title_s__08lx_____08x_____08lx_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.HLPFILE_AddPage
mov dword [esp + 4], 0x415a28
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x406f05
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0x1c], 0
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
jmp 0x406e08
mov dword [edi + 0x24], 0xffffffff
jmp 0x406ef8
mov eax, 0xffffffff
jmp 0x406ed1
mov eax, dword [ebp - 0xe8]
mov dword [esp], edx
add eax, edx
mov edx, dword [ebp - 0xf0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xd0]
call sym._HLPFILE_Uncompress2
mov edx, dword [edi]
jmp 0x406dde
shr cl, 1
movzx ecx, cl
jmp 0x40705e
mov ebx, dword [ebp - 0xd0]
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.KWBTREE
mov dword [esp], eax
mov eax, ebx
call sym._HLPFILE_FindSubFile
test eax, eax
je 0x4071e2
mov esi, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xdc]
sub edi, esi
mov dword [esp], edi
call eax
mov dword [ebx + 0x24], eax
test eax, eax
je 0x4071e2
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.KWDATA
mov dword [esp], eax
mov eax, ebx
call sym._HLPFILE_FindSubFile
test eax, eax
jne 0x407585
test byte [0x415a28], 2
jne 0x407874
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.CTXOMAP
mov dword [esp], eax
mov eax, ebx
call sym._HLPFILE_FindSubFile
test eax, eax
jne 0x407272
test byte [0x415a28], 4
jne 0x4076cc
cmp word [ebx + 0x4c], 0x10
jbe 0x404dfa
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.CONTEXT
mov dword [esp], eax
mov eax, ebx
call sym._HLPFILE_FindSubFile
test eax, eax
jne 0x4075be
test byte [0x415a28], 4
je 0x404f18
mov dword [esp + 0xc], str.context0_n
mov dword [esp + 8], str.HLPFILE_GetContext
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x404f18
mov esi, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xdc]
movzx eax, byte [esi + 0xa]
movzx edx, byte [esi + 9]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xd0], eax
shl eax, 3
mov dword [esp], eax
call edi
mov dword [ebx + 0x30], eax
mov edi, eax
test eax, eax
je 0x40720e
mov eax, dword [ebp - 0xd0]
mov dword [ebx + 0x2c], eax
test eax, eax
je 0x40720e
mov dword [ebp - 0xcc], 0
xor eax, eax
lea ecx, [esi + 0xb]
jmp 0x4072ce
mov edi, dword [ebx + 0x30]
movzx edx, byte [ecx + eax + 3]
movzx esi, byte [ecx + eax + 2]
inc dword [ebp - 0xcc]
shl edx, 8
add edx, esi
movzx esi, byte [ecx + eax + 1]
movzx ecx, byte [ecx + eax]
shl edx, 0x10
shl esi, 8
add ecx, esi
movzx ecx, cx
add edx, ecx
mov dword [edi + eax], edx
mov esi, dword [ebp - 0xb4]
movzx edx, byte [esi + eax + 0x12]
movzx edi, byte [esi + eax + 0x11]
lea ecx, [esi + 0xb]
shl edx, 8
add edx, edi
movzx edi, byte [esi + eax + 0x10]
movzx esi, byte [esi + eax + 0xf]
shl edx, 0x10
shl edi, 8
add esi, edi
movzx esi, si
add edx, esi
mov esi, dword [ebx + 0x30]
mov dword [esi + eax + 4], edx
mov esi, dword [ebp - 0xcc]
add eax, 8
cmp dword [ebp - 0xd0], esi
jne 0x4072cb
jmp 0x40720e
mov dword [ebx + 0xa4], 1
mov dword [ebx + 0xa8], 0
test byte [0x415a28], 1
je 0x404f18
mov dword [esp + 0xc], str.mvb_font:_not_implemented_n
mov dword [esp + 8], str.HLPFILE_ReadFont
mov dword [esp + 4], 0x415a28
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x404f18
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xf0]
mov dword [esp + 0xc], str.Got_NumFacenames_u__u_NumDesc_u__u_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.HLPFILE_ReadFont
mov dword [esp + 4], 0x415a28
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4055f0
cmp word [ebp - 0xec], 0
je 0x4069a8
mov edx, eax
mov eax, 2
jmp 0x406a06
cmp word [ebp - 0xd4], 4
jbe 0x40752f
mov edx, eax
mov eax, 2
jmp 0x4069bf
lea eax, [edi + 6]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
jmp 0x406368
mov ebx, dword [ebp - 0xf0]
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xf8]
add eax, 9
cmp dword [ebp - 0xf4], esi
je 0x4076f5
mov edx, dword [ebp - 0xb0]
call sym._HLPFILE_UncompressLZ77
mov dword [ebx + 0x60], 1
jmp 0x4053aa
cmp word [ebp - 0xd4], 2
jbe 0x4076b4
mov eax, 2
jmp 0x4069ce
mov esi, dword [ecx]
jmp 0x40685d
lea eax, [edi + 0x10]
mov dword [esp + 4], eax
lea eax, [esi + 0xa]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
jmp 0x406384
mov eax, dword [ebp - 0xe8]
mov esi, dword [ebp - 0xf0]
mov dword [esp + 4], ecx
add eax, edx
mov dword [esp], esi
mov ecx, eax
mov eax, dword [ebp - 0xd0]
call sym._HLPFILE_Uncompress3.isra.0
mov edx, dword [edi]
jmp 0x406dde
mov ebx, eax
test byte [0x415a28], 4
je 0x407157
mov dword [esp + 0xc], str.maplen_n
mov dword [esp + 8], str.HLPFILE_DoReadHlpFile
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407157
mov ebx, dword [ebp - 0xd0]
test byte [0x415a28], 4
je 0x407157
mov dword [esp + 0xc], str.extra_n
mov dword [esp + 8], str.HLPFILE_DoReadHlpFile
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407157
mov edx, eax
mov eax, 1
jmp 0x406269
mov dword [ebx + 0xa4], 1
mov dword [ebx + 0xa8], 0
test byte [0x415a28], 1
je 0x404f18
mov dword [esp + 0xc], str.new_font:_not_implemented_n
mov dword [esp + 8], str.HLPFILE_ReadFont
mov dword [esp + 4], 0x415a28
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x404f18
mov esi, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xdc]
sub edi, esi
mov dword [esp], edi
call eax
mov dword [ebx + 0x28], eax
test eax, eax
je 0x4071e2
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
jmp 0x4071e2
mov esi, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xdc]
sub edi, esi
mov dword [esp], edi
call eax
mov dword [ebx + 0x20], eax
test eax, eax
je 0x404f18
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
jmp 0x404dfa
mov dword [esp + 0xc], str.Text_size_is_too_long__splitting_n
mov dword [esp + 8], str.HLPFILE_AddPage
mov dword [esp + 4], 0x415a28
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [edi]
jmp 0x406dc0
call sym._wine_dbgstr_an.constprop.0_1
mov dword [esp + 0xc], str.Title:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415a28
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4051a7
mov eax, 0x1000
mov dword [ebx + 0x58], 1
mov word [ebx + 0x52], ax
jmp 0x40689a
mov dword [esp], 0
mov eax, dword [ebp - 0xdc]
call eax
mov dword [ebx + 0x70], eax
test eax, eax
je 0x404f18
mov dword [ebx + 0x74], eax
jmp 0x405559
mov dword [esp + 0xc], str.no_subfile_FONT_n
mov dword [esp + 8], str.HLPFILE_ReadFont
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x406957
cmp word [ebp - 0xec], 0
mov eax, 1
je 0x406269
jmp 0x4069ff
mov dword [esp + 0xc], str.no_map_section_n
mov dword [esp + 8], str.HLPFILE_GetMap
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x40720e
mov edi, dword [ebp - 0xf4]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], edi
call sym._memcpy
jmp 0x40744f
mov dword [esp + 0xc], str.filesize2_n
mov dword [esp + 8], str.HLPFILE_ReadFileToBuffer
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4050b7
movzx eax, byte [edi + 0x24]
movzx edx, byte [edi + 0x23]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [esp + 0x2c], eax
movzx eax, byte [edi + 0x22]
movzx edx, byte [edi + 0x21]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [esp + 0x28], eax
movzx ecx, byte [edi + 0x20]
movzx eax, byte [edi + 0x1f]
movzx edx, byte [edi + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x1e]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [esp + 0x24], eax
movzx ecx, byte [edi + 0x1c]
movzx eax, byte [edi + 0x1b]
movzx edx, byte [edi + 0x19]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x1a]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [esp + 0x20], eax
movzx ecx, byte [edi + 0x18]
movzx eax, byte [edi + 0x17]
movzx edx, byte [edi + 0x15]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x16]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [esp + 0x1c], eax
movzx ecx, byte [edi + 0x14]
movzx eax, byte [edi + 0x13]
movzx edx, byte [edi + 0x11]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x12]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [esp + 0x18], eax
movzx ecx, byte [edi + 0x10]
movzx eax, byte [edi + 0xf]
movzx edx, byte [edi + 0xd]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xe]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [esp + 0x14], eax
movzx ecx, byte [edi + 0xc]
movzx eax, byte [edi + 0xb]
movzx edx, byte [edi + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xa]
mov dword [esp + 0xc], str.Index:_Magic_08x_entries_u_CpsdSize_u_PhrImgSize_u_n_tPhrImgCprsdSize_u_0_u_bc_x_ukn_x_n
shl ecx, 0x10
mov dword [esp + 8], str.HLPFILE_Uncompress_Phrases40
shl eax, 8
mov dword [esp + 4], 0x415a28
add eax, edx
mov dword [esp], 3
movzx eax, ax
add eax, ecx
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebp - 0xbc]
jmp 0x406026
mov dword [esp + 0xc], str.corrupted_help_file:_kwbtree_present_but_kwdata_absent_n
mov dword [esp + 8], str.HLPFILE_GetKeywords
mov dword [esp + 4], 0x415a28
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4071d6
mov ebx, dword [ebp - 0xcc]
jmp 0x404f18
mov edi, dword [ebp - 0xe4]
mov esi, dword [ebp - 0x110]
movzx ecx, word [esi + edi - 2]
mov esi, dword [ebp - 0x114]
mov word [esi + edi - 2], cx
mov edi, dword [ebx + 0x88]
mov dword [ebp - 0x108], edi
jmp 0x405ef3
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xf4]
mov dword [esp + 0xc], str.size_mismatch__u__u_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.HLPFILE_Uncompress_Phrases40
mov dword [esp + 4], 0x415a28
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb0]
lea esi, [eax + 9]
jmp 0x4060b3
mov ebx, dword [ebp - 0xd0]
jmp 0x404f18
mov ecx, edx
jmp 0x4062bb
mov dword [ebp - 0xcc], eax
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], edi
call esi
mov eax, dword [ebp - 0xcc]
mov dword [esp], eax
call esi
jmp 0x405f94
mov dword [esp], eax
mov edi, dword [sym.imp.ucrtbase.dll_free]
call edi
mov dword [esp], esi
call edi
jmp 0x4053aa