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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x140
mov eax, dword [0x41d008]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
test eax, eax
je 0x40740d
mov esi, dword [sym.imp.ucrtbase.dll_strcmp]
mov edi, eax
jmp 0x4071d7
mov edi, dword [edi + 0x44]
test edi, edi
je 0x4071f8
mov eax, dword [edi + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
test eax, eax
jne 0x4071d0
add dword [edi + 0x48], 1
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], ebx
mov dword [ebp - 0xc0], 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 edi, eax
test eax, eax
je 0x407313
mov eax, dword [ebp - 0xb4]
lea edx, [edi + 0xac]
add esi, 1
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 8], edx
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 1
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], edx
call sym._memcpy
mov eax, dword [ebp - 0xb4]
mov dword [0x41d008], edi
mov dword [eax + 0x40], edi
lea eax, [ebp - 0x94]
mov dword [esp], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_OpenFile]
sub esp, 0xc
mov ebx, eax
cmp eax, 0xffffffff
je 0x407306
lea eax, [ebp - 0xa4]
mov dword [esp + 8], 0x10
mov esi, dword [sym.imp.kernel32.dll__hread]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
sub esp, 0xc
cmp eax, 0x10
jne 0x407320
movzx eax, byte [ebp - 0xa1]
movzx edx, byte [ebp - 0xa2]
movzx ecx, byte [ebp - 0xa4]
shl eax, 8
add eax, edx
movzx edx, byte [ebp - 0xa3]
shl eax, 0x10
shl edx, 8
add edx, ecx
movzx edx, dx
add edx, eax
cmp edx, 0x35f3f
je 0x40734f
test byte [0x415010], 4
jne 0x407d01
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll__lclose]
sub esp, 4
sub dword [edi + 0x48], 1
jne 0x407313
mov eax, edi
call sym._HLPFILE_FreeHlpFile.part.0
lea esp, [ebp - 0xc]
xor edi, edi
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret
test byte [0x415010], 4
je 0x4072fa
mov dword [esp + 0xc], str.header_n
mov dword [esp + 8], str.HLPFILE_ReadFileToBuffer
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4072fa
movzx edx, byte [ebp - 0x95]
movzx eax, byte [ebp - 0x96]
movzx ecx, byte [ebp - 0x98]
shl edx, 8
add edx, eax
movzx eax, byte [ebp - 0x97]
shl edx, 0x10
shl eax, 8
add eax, ecx
movzx eax, ax
add edx, eax
lea eax, [edx + 1]
mov dword [edi + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xc4], eax
call eax
mov dword [edi], eax
test eax, eax
je 0x4072fa
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xb4]
add eax, 0x10
mov dword [eax - 0x10], ecx
mov ecx, dword [ebp - 0xa0]
sub edx, 0x10
mov dword [eax - 0xc], ecx
mov ecx, dword [ebp - 0x9c]
mov dword [eax - 8], ecx
mov ecx, dword [ebp - 0x98]
mov dword [eax - 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov edx, eax
mov eax, dword [edi + 4]
sub esp, 0xc
sub eax, 0x10
cmp edx, eax
je 0x40747c
test byte [0x415010], 4
je 0x4072fa
mov dword [esp + 0xc], str.filesize1_n
jmp 0x407331
mov eax, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], ebx
mov dword [ebp - 0xc0], 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 edi, eax
test eax, eax
je 0x407313
lea eax, [edi + 0xac]
add esi, 1
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 8], eax
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 1
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._memcpy
mov dword [0x41d008], edi
jmp 0x40726d
lea eax, [ebp - 0xa8]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
sub esp, 0xc
test eax, eax
je 0x4074a7
test byte [0x415010], 4
jne 0x409b31
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov byte [edx + eax], 0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll__lclose]
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov dword [edi + 0xc], 0
sub esp, 4
mov edx, str.SYSTEM
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
je 0x407306
mov eax, dword [ebp - 0xa8]
movzx esi, byte [eax + 0xa]
movzx edx, byte [eax + 9]
movzx ebx, byte [eax + 0xc]
shl esi, 8
add esi, edx
movzx edx, byte [eax + 0xb]
shl ebx, 8
add ebx, edx
movzx edx, byte [eax + 0xe]
mov ecx, edx
movzx edx, byte [eax + 0xd]
shl ecx, 8
add ecx, edx
movzx edx, byte [eax + 0x14]
movzx eax, byte [eax + 0x13]
shl edx, 8
add edx, eax
test byte [0x415010], 8
jne 0x4080cb
cmp si, 0x36c
jne 0x407ccb
cmp cx, 1
jne 0x407ccb
cmp bx, 0x10
ja 0x407d0e
mov eax, 0x7f4
mov dword [edi + 0x58], 0
mov word [edi + 0x54], ax
mov eax, dword [ebp - 0xa8]
mov word [edi + 0x4c], bx
add eax, 0x15
mov word [edi + 0x4e], dx
mov dword [edi + 0x50], 0x8000001
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__strdup]
mov dword [edi + 0xc], eax
test eax, eax
je 0x407306
test byte [0x415010], 8
jne 0x409977
cmp word [edi + 0x4c], 0x10
ja 0x407637
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov edx, str.TOMAP
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
jne 0x4075f7
test byte [0x415010], 4
je 0x407306
mov dword [esp + 0xc], str.no_tomap_section_n
mov dword [esp + 8], str.HLPFILE_GetTOMap
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407306
mov esi, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xc4]
sub ebx, esi
sub ebx, 9
mov dword [esp], ebx
call eax
mov dword [edi + 0x38], eax
test eax, eax
je 0x407306
add esi, 9
mov dword [esp + 8], ebx
shr ebx, 2
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
mov dword [edi + 0x34], ebx
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov edx, str.Phrases
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
je 0x408382
cmp word [edi + 0x4c], 0x10
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
ja 0x408326
movzx ecx, byte [eax + 0xa]
movzx ebx, byte [eax + 9]
shl ecx, 8
add ecx, ebx
movzx esi, cx
lea ecx, [esi + esi]
mov dword [edi + 0x64], esi
mov dword [ebp - 0xc8], ecx
add ecx, 0x13
mov dword [ebp - 0xd0], ecx
add ecx, eax
cmp edx, ecx
jbe 0x408355
sub edx, eax
mov ebx, 0xd
lea eax, [edx - 0xf]
sub eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
lea eax, [esi*4 + 4]
mov dword [esp], eax
mov eax, dword [ebp - 0xc4]
call eax
mov ecx, dword [ebp - 0xcc]
mov dword [edi + 0x68], eax
mov esi, eax
mov eax, dword [ebp - 0xc4]
mov dword [esp], ecx
call eax
mov dword [edi + 0x6c], eax
test eax, eax
je 0x409d63
test esi, esi
je 0x409d63
mov ecx, dword [ebp - 0xc8]
mov eax, 0xfffffffe
lea edx, [ebx + 2]
mov dword [ebp - 0xbc], edi
sub eax, ecx
mov dword [ebp - 0xb8], eax
lea eax, [edx + ecx]
xor ecx, ecx
mov dword [ebp - 0xb4], eax
jmp 0x40772c
mov eax, dword [ebp - 0xbc]
add edx, 2
mov esi, dword [eax + 0x68]
mov eax, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xa8]
movzx eax, byte [eax + ebx + 1]
movzx ebx, byte [edi + ebx]
shl eax, 8
add eax, ebx
mov ebx, edx
movzx eax, ax
add eax, dword [ebp - 0xb8]
mov dword [esi + ecx], eax
add ecx, 4
cmp dword [ebp - 0xb4], edx
jne 0x407720
mov edi, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xa8]
cmp word [edi + 0x4c], 0x10
mov ecx, dword [edi + 0x6c]
ja 0x408c3c
mov esi, dword [ebp - 0xc8]
mov dword [esp], ecx
lea eax, [eax + esi + 0xf]
mov esi, dword [ebp - 0xcc]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call sym._memcpy
mov dword [edi + 0x5c], 1
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov edx, str.TOPIC
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
je 0x4082f0
mov ecx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xa4]
xor edx, edx
lea eax, [ecx + 9]
mov ebx, esi
sub ebx, eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xa8], eax
mov eax, ebx
mov dword [ebp - 0xb8], ebx
movzx ebx, word [edi + 0x52]
sub eax, 1
div ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xbc], eax
lea ebx, [eax + 1]
mov eax, dword [edi + 0x58]
mov dword [edi + 0x78], ebx
test eax, eax
je 0x408b7e
lea eax, [ebx*4]
mov dword [ebp - 0xcc], eax
test ebx, ebx
je 0x409aa5
lea ebx, [ecx + 0x4d]
lea eax, [esi - 0x44]
xor ecx, ecx
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xb8], 0
mov edi, ecx
mov dword [ebp - 0xc8], eax
jmp 0x407852
mov edi, eax
cmp esi, ebx
mov ecx, dword [ebp - 0xb4]
lea eax, [ebx - 0x44]
cmovb eax, dword [ebp - 0xc8]
lea edx, [eax + ecx]
cmp esi, edx
cmovb edx, esi
add eax, 0xc
call dbg.HLPFILE_UncompressedLZ77_Size
add ebx, dword [ebp - 0xb4]
add dword [ebp - 0xb8], eax
lea eax, [edi + 1]
cmp edi, dword [ebp - 0xbc]
jne 0x407850
mov edi, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0xcc]
mov dword [esp], eax
mov eax, dword [ebp - 0xc4]
call eax
mov dword [edi + 0x70], eax
mov edx, eax
test eax, eax
je 0x407306
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xb8]
xor ebx, ebx
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xbc], edx
mov esi, edi
add ecx, edx
add eax, ecx
mov dword [edi + 0x74], eax
mov edi, ebx
mov eax, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0xd0]
jmp 0x40790f
mov eax, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0xbc], eax
movzx eax, word [esi + 0x52]
imul eax, edi
mov edx, dword [ebp - 0xb8]
add eax, ebx
lea ebx, [eax + 0x44]
mov dword [ebp - 0xb4], ebx
lea ebx, [edx - 0x44]
cmp edx, dword [ebp - 0xb4]
cmovb eax, ebx
mov ebx, dword [ebp - 0xbc]
mov dword [ebx + edi*4], ecx
movzx edx, word [esi + 0x52]
mov ebx, dword [ebp - 0xa4]
add edx, eax
cmp ebx, edx
cmovb edx, ebx
add eax, 0xc
add edi, 1
call dbg.HLPFILE_UncompressLZ77
mov ecx, eax
cmp edi, dword [esi + 0x78]
jb 0x4078f0
mov edi, esi
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov edx, str.FONT
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
je 0x408d6f
mov eax, dword [ebp - 0xa8]
lea edx, [eax + 9]
mov dword [ebp - 0xa8], edx
movzx edx, byte [eax + 0xa]
movzx ecx, byte [eax + 9]
shl edx, 8
add edx, ecx
movzx ecx, dx
movzx edx, byte [eax + 0xc]
mov dword [ebp - 0xdc], ecx
movzx ecx, byte [eax + 0xb]
shl edx, 8
add edx, ecx
movzx ecx, dx
movzx edx, byte [eax + 0xe]
mov dword [ebp - 0xd4], ecx
movzx ecx, byte [eax + 0xd]
shl edx, 8
add edx, ecx
movzx ecx, dx
movzx edx, byte [eax + 0x10]
movzx eax, byte [eax + 0xf]
mov dword [ebp - 0xe4], ecx
shl edx, 8
add eax, edx
movzx esi, ax
test byte [0x415010], 8
jne 0x4097c9
mov eax, dword [ebp - 0xd4]
mov dword [edi + 0x84], eax
imul eax, eax, 0x44
mov dword [esp], eax
mov eax, dword [ebp - 0xc4]
call eax
cmp dword [ebp - 0xe4], 0xf
mov dword [edi + 0x88], eax
mov ecx, eax
ja 0x40977f
cmp dword [ebp - 0xe4], 0xb
ja 0x4099a9
mov dword [edi + 0xa4], 0xa
mov eax, dword [ebp - 0xd4]
mov dword [edi + 0xa8], 5
test eax, eax
je 0x408e62
mov dword [ebp - 0xb4], 0
mov eax, esi
xor edx, edx
sub eax, dword [ebp - 0xe4]
div dword [ebp - 0xdc]
mov dword [ebp - 0x100], eax
lea esi, [esi]
mov eax, dword [ebp - 0xa8]
movzx ebx, byte [eax + esi + 2]
movzx edx, byte [eax + esi]
movzx eax, byte [eax + esi + 1]
mov byte [ebp - 0xb8], bl
lea ebx, [esi + 1]
mov dword [ebp - 0xfc], ebx
imul ebx, dword [ebp - 0xb4], 0x44
mov byte [ebp - 0xd0], dl
mov dword [ecx + ebx], eax
mov eax, dword [edi + 0x88]
mov dword [eax + ebx + 4], 0
mov eax, dword [edi + 0x88]
mov dword [eax + ebx + 8], 0
mov eax, dword [edi + 0x88]
mov dword [eax + ebx + 0xc], 0
mov eax, edx
mov ecx, dword [edi + 0x88]
and eax, 1
cmp al, 1
mov byte [ebp - 0xe6], al
sbb eax, eax
and eax, 0xfffffed4
add eax, 0x2bc
mov dword [ecx + ebx + 0x10], eax
mov eax, dword [edi + 0x88]
mov ecx, edx
and edx, 2
mov byte [ebp - 0xe8], dl
mov edx, ecx
setne byte [eax + ebx + 0x14]
mov eax, dword [edi + 0x88]
and edx, 4
mov byte [ebp - 0xec], dl
setne byte [eax + ebx + 0x15]
mov eax, dword [edi + 0x88]
and ecx, 8
mov byte [ebp - 0xf0], cl
setne byte [eax + ebx + 0x16]
mov eax, dword [edi + 0x88]
movzx ecx, word [edi + 0x50]
mov byte [eax + ebx + 0x17], cl
mov eax, dword [edi + 0x88]
mov byte [eax + ebx + 0x18], 0
mov eax, dword [edi + 0x88]
movzx ecx, byte [ebp - 0xb8]
mov byte [eax + ebx + 0x19], 0
mov eax, dword [edi + 0x88]
mov dword [ebp - 0xe0], ecx
mov byte [eax + ebx + 0x1a], 0
mov eax, dword [edi + 0x88]
mov byte [eax + ebx + 0x1b], 0
movzx eax, byte [0x415010]
mov byte [ebp - 0xb8], al
cmp cl, 5
ja case.0x407b8d.0
jmp dword [ecx*4 + 0x417398]
mov eax, dword [edi + 0x88]
add eax, ebx
or byte [eax + 0x1b], 0x50
mov ecx, dword [ebp - 0xa8]
movzx eax, byte [ecx + esi + 4]
movzx edx, byte [ecx + esi + 3]
mov dword [ebp - 0xbc], ecx
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xdc], eax
ja 0x408267
test byte [ebp - 0xb8], 1
jne 0x408b28
mov eax, dword [edi + 0x88]
add eax, ebx
mov dword [eax + 0x1c], 0x766c6548
mov byte [eax + 0x20], 0
mov eax, dword [edi + 0x88]
mov edx, dword [ebp - 0xbc]
mov dword [eax + ebx + 0x3c], 0
lea eax, [edx + esi + 5]
mov ecx, eax
mov dword [ebp - 0xf4], eax
mov eax, edx
lea edx, [edx + esi + 6]
mov dword [ebp - 0xc8], edx
lea edx, [eax + esi + 7]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xf8], edx
movzx eax, byte [eax]
shl eax, 8
mov dword [ebp - 0xcc], eax
movzx eax, byte [edx]
movzx edx, byte [ecx]
shl eax, 0x10
or eax, dword [ebp - 0xcc]
or eax, edx
mov edx, dword [edi + 0x88]
mov dword [edx + ebx + 0x40], eax
test byte [ebp - 0xb8], 8
jne 0x408128
add dword [ebp - 0xb4], 1
add esi, 0xb
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0xd4], eax
je 0x408e62
mov ecx, dword [edi + 0x88]
jmp 0x407a70
mov eax, dword [edi + 0x88]
add eax, ebx
or byte [eax + 0x1b], 0x40
jmp 0x407ba0
mov eax, dword [edi + 0x88]
add eax, ebx
or byte [eax + 0x1b], 0x20
jmp 0x407ba0
mov eax, dword [edi + 0x88]
add eax, ebx
or byte [eax + 0x1b], 0x10
jmp 0x407ba0
mov eax, dword [edi + 0x88]
add eax, ebx
or byte [eax + 0x1b], 0x30
jmp 0x407ba0
test byte [0x415010], 4
je 0x407306
mov dword [esp + 0xc], str.Wrong_system_header_n
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407306
mov dword [esp + 0xc], str.wrong_header_n
jmp 0x407331
test dx, dx
jne 0x408c52
mov word [edi + 0x4c], bx
mov ebx, dword [ebp - 0xa8]
mov dword [edi + 0x58], 0
mov dword [edi + 0x4e], 0x10000
lea esi, [ebx + 0x15]
mov dword [edi + 0x52], 0xff41000
add ebx, 0x19
cmp dword [ebp - 0xa4], ebx
jb 0x407da5
mov dword [ebp - 0xb4], edi
lea esi, [esi]
movzx eax, byte [esi + 1]
shl eax, 8
mov edx, eax
movzx eax, byte [esi]
add eax, edx
cmp ax, 0xb
ja case.0x407d67.0
movzx edx, ax
jmp dword [edx*4 + 0x4173b0]
test byte [0x415010], 4
jne 0x4080b7
lea esi, [esi]
movzx eax, byte [esi + 3]
movzx edx, byte [esi + 2]
shl eax, 8
add eax, edx
movzx eax, ax
lea esi, [esi + eax + 4]
lea ebx, [esi + 4]
cmp ebx, dword [ebp - 0xa4]
jbe 0x407d50
mov edi, dword [ebp - 0xb4]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x407597
mov dword [esp], 0x4166f8
call dword [sym.imp.ucrtbase.dll__strdup]
mov dword [edi + 0xc], eax
jmp 0x407597
movzx edx, byte [esi + 4]
mov ecx, dword [ebp - 0xb4]
mov word [ecx + 0x50], dx
test byte [0x415010], 8
je 0x407d80
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Charset:__d_n
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407d80
test byte [0x415010], 4
je 0x407d80
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], 0x415010
mov dword [esp], 2
jmp 0x407e02
movzx eax, byte [esi + 3]
movzx edx, byte [esi + 2]
shl eax, 8
add eax, edx
cmp ax, 0x5a
je 0x4086e4
test byte [0x415010], 4
je 0x407d8d
mov dword [esp + 0xc], str.system6_n
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
movzx eax, byte [esi + 3]
movzx edx, byte [esi + 2]
shl eax, 8
add eax, edx
jmp 0x407d8d
movzx eax, byte [esi + 9]
movzx edx, byte [esi + 8]
shl eax, 8
add eax, edx
cmp ax, 1
je 0x407ed0
test byte [0x415010], 1
jne 0x4086bb
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 [esi + 3]
movzx edx, byte [esi + 2]
shl eax, 8
add eax, edx
movzx eax, ax
sub eax, 0x16
mov dword [esp + 4], eax
lea eax, [esi + 0x1a]
mov dword [esp], eax
call dword [sym.imp.user32.dll_CreateIconFromResourceEx]
mov ecx, dword [ebp - 0xb4]
sub esp, 0x1c
mov dword [ecx + 0x94], eax
movzx eax, byte [esi + 3]
movzx edx, byte [esi + 2]
shl eax, 8
add eax, edx
jmp 0x407d8d
mov eax, dword [ebp - 0xc0]
mov dword [esp], ebx
call eax
mov edx, eax
lea eax, [eax + 9]
mov dword [ebp - 0xb8], edx
mov dword [esp], eax
mov eax, dword [ebp - 0xc4]
call eax
mov edx, dword [ebp - 0xb8]
test eax, eax
mov edi, eax
je 0x407d80
lea ecx, [eax + 8]
add edx, 1
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov dword [esp + 8], edx
mov dword [ebp - 0xb8], ecx
call sym._memcpy
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xb8]
mov dword [edi + 4], 0
mov eax, dword [eax + 0x1c]
mov dword [edi], ecx
test eax, eax
je 0x408d95
lea esi, [esi]
mov edx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x407fb0
add edx, 4
mov dword [edx], edi
movzx eax, byte [esi + 3]
movzx edx, byte [esi + 2]
shl eax, 8
add eax, edx
jmp 0x407d8d
movzx eax, byte [esi + 3]
movzx edx, byte [esi + 2]
movzx ecx, byte [0x415010]
shl eax, 8
add eax, edx
cmp ax, 4
je 0x40805b
and ecx, 4
je 0x407d8d
mov dword [esp + 0xc], str.system3_n
jmp 0x407e7c
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x408a80
test byte [0x415010], 4
je 0x407d80
mov dword [esp + 0xc], str.copyright_n
jmp 0x407e7c
mov eax, dword [ebp - 0xb4]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x408ad4
test byte [0x415010], 4
je 0x407d80
mov dword [esp + 0xc], str.title_n
jmp 0x407e7c
movzx eax, byte [esi + 7]
movzx edx, byte [esi + 6]
movzx ebx, byte [esi + 4]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 5]
shl eax, 0x10
shl edx, 8
add edx, ebx
mov ebx, dword [ebp - 0xb4]
movzx edx, dx
add eax, edx
and ecx, 8
mov dword [ebx + 0x3c], eax
je 0x407d80
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], 0x415010
mov dword [esp], 3
jmp 0x407e02
movzx eax, ax
mov dword [esp + 0xc], str.Unsupported_SystemRecord__d__n
mov dword [esp + 0x10], eax
jmp 0x407e30
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, bx
mov dword [esp + 0x18], eax
movzx eax, cx
mov dword [esp + 0x14], eax
movzx eax, si
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415010
mov dword [esp], 3
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb4], ecx
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb4]
jmp 0x40752f
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xf8]
add ebx, dword [edi + 0x88]
movzx eax, byte [eax + esi + 8]
movzx ecx, byte [ecx]
shl eax, 8
add eax, ecx
mov ecx, dword [ebp - 0xc8]
shl eax, 0x10
movzx edx, byte [ecx]
mov ecx, dword [ebp - 0xf4]
movzx ecx, byte [ecx]
shl edx, 8
add edx, ecx
movzx edx, dx
add eax, edx
and eax, 0xffffff
mov dword [ebp - 0xb8], eax
lea eax, [ebx + 0x1c]
mov ebx, str._smallCaps
call sym._wine_dbgstr_an.constprop.0_1
mov edx, dword [ebp - 0xfc]
mov ecx, eax
mov eax, dword [ebp - 0xa8]
movzx edx, byte [eax + edx]
mov eax, 0x4166f8
mov dword [esp + 4], 0x415010
mov dword [esp], 3
mov dword [esp + 0x30], edx
movzx edx, byte [ebp - 0xd0]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp - 0xe0]
test dl, 0x20
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 ebx, eax
and edx, 0x10
mov edx, str._dblUnderline
mov dword [esp + 0x34], ecx
mov dword [esp + 8], str.HLPFILE_ReadFont
mov dword [esp + 0x2c], ebx
mov ebx, edx
mov edx, str._strikeOut
cmove ebx, eax
cmp byte [ebp - 0xf0], 0
cmove edx, eax
cmp byte [ebp - 0xec], 0
mov dword [esp + 0x28], ebx
mov ebx, str._underline
cmove ebx, eax
cmp byte [ebp - 0xe8], 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebx
mov ebx, str._italic
cmove ebx, eax
cmp byte [ebp - 0xe6], 0
mov dword [esp + 0x1c], ebx
mov ebx, str._bold
cmovne eax, ebx
mov ebx, dword [ebp - 0xb8]
mov dword [esp + 0x18], eax
movzx eax, byte [ebp - 0xd0]
mov dword [esp + 0x40], ebx
mov ebx, dword [ebp - 0xd8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0_1
jmp 0x407c60
mov edx, dword [ebp - 0x100]
mov eax, 0x1f
cmp edx, 0x1f
cmovbe eax, edx
imul edx, dword [ebp - 0xd8]
add edx, dword [ebp - 0xe4]
mov dword [ebp - 0xc8], eax
mov eax, dword [edi + 0x88]
lea ecx, [eax + ebx]
mov dword [ebp - 0xf4], ecx
add ecx, 0x1c
mov dword [ebp - 0xf8], ecx
mov ecx, dword [ebp - 0xbc]
add ecx, edx
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
cmp edx, 4
jae 0x408c94
test edx, edx
je 0x4082e0
movzx eax, byte [ecx]
mov ecx, dword [ebp - 0xf4]
mov byte [ecx + 0x1c], al
mov eax, edx
test al, 2
jne 0x409cd9
mov eax, dword [edi + 0x88]
add eax, dword [ebp - 0xc8]
mov byte [ebx + eax + 0x1c], 0
jmp 0x407bf0
test byte [0x415010], 4
je 0x407306
mov dword [esp + 0xc], str.topic0_n
mov dword [esp + 8], str.HLPFILE_Uncompress_Topic
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407306
movzx ecx, byte [eax + 0xa]
movzx ebx, byte [eax + 9]
shl ecx, 8
add ecx, ebx
movzx esi, cx
lea ecx, [esi + esi]
mov dword [edi + 0x64], esi
mov dword [ebp - 0xc8], ecx
add ecx, 0x13
add eax, ecx
mov dword [ebp - 0xd0], ecx
cmp eax, edx
jb 0x408e4d
test byte [0x415010], 4
je 0x408382
mov dword [esp + 0xc], 0x41712d
mov dword [esp + 8], str.HLPFILE_UncompressLZ77_Phrases
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0xb0]
mov edx, str.PhrIndex
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
je 0x4077a0
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov edx, str.PhrImage
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
je 0x4077a0
mov esi, dword [ebp - 0xb0]
movzx eax, byte [esi + 0x22]
movzx edx, byte [esi + 0x21]
shl eax, 8
add eax, edx
and edx, 0xf
mov word [ebp - 0xd0], ax
movzx eax, byte [esi + 0xe]
mov word [ebp - 0xbc], dx
movzx edx, byte [esi + 0xd]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xcc], eax
mov dword [edi + 0x64], eax
mov eax, esi
test byte [0x415010], 8
jne 0x409b75
movzx edx, byte [eax + 0x18]
movzx ecx, byte [eax + 0x17]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 0x15]
mov ebx, edx
movzx edx, byte [eax + 0x16]
shl ebx, 0x10
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 0x1b]
movzx edx, dx
add ebx, edx
movzx edx, byte [eax + 0x1c]
mov dword [ebp - 0xdc], ebx
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 - 0xe0], eax
cmp eax, ebx
je 0x4084b9
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
lea ebx, [eax + 9]
mov dword [ebp - 0xb4], edx
mov eax, ebx
call dbg.HLPFILE_UncompressedLZ77_Size
cmp eax, dword [ebp - 0xdc]
je 0x4084b9
test byte [0x415010], 4
mov edx, dword [ebp - 0xb4]
jne 0x409d00
mov eax, ebx
call dbg.HLPFILE_UncompressedLZ77_Size
mov ecx, dword [ebp - 0xdc]
cmp ecx, eax
cmovge eax, ecx
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xcc]
mov ebx, dword [ebp - 0xc4]
lea eax, [eax*4 + 4]
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0xdc]
mov dword [edi + 0x68], eax
mov dword [ebp - 0xb8], eax
mov dword [esp], ecx
call ebx
mov edx, dword [ebp - 0xb8]
mov dword [edi + 0x6c], eax
mov ebx, eax
mov ecx, eax
mov eax, dword [ebp - 0xb8]
test edx, edx
je 0x409d84
test ebx, ebx
je 0x409d84
mov dword [eax], 0
mov eax, dword [ebp - 0xcc]
lea ebx, [esi + 0x21]
test eax, eax
je 0x409860
movzx esi, word [ebp - 0xd0]
mov eax, 1
movzx ecx, word [ebp - 0xbc]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xb4], 0
and esi, 0xc
shl eax, cl
mov dword [ebp - 0xd8], edi
mov word [ebp - 0xd4], si
mov ecx, eax
xor eax, eax
mov edi, ecx
mov ecx, 1
jmp 0x408572
mov esi, dword [ebx]
test edx, esi
je 0x408593
add ecx, edi
mov eax, edx
mov edx, eax
add edx, edx
jne 0x408568
mov esi, dword [ebx + 4]
lea edx, [ebx + 4]
test esi, 1
je 0x4086a9
mov ebx, edx
mov edx, 1
jmp 0x40856e
shl eax, 2
jne 0x409d46
mov esi, dword [ebx + 4]
lea edx, [ebx + 4]
test esi, 1
je 0x408c1b
mov eax, 1
add ecx, 1
mov ebx, edx
test byte [ebp - 0xd0], 0xe
je 0x4085e0
add eax, eax
jne 0x4098aa
lea ebx, [edx + 4]
mov edx, dword [edx + 4]
test dl, 1
je 0x409892
mov eax, 1
add ecx, 2
cmp word [ebp - 0xbc], 2
jbe 0x40860b
add eax, eax
jne 0x408e06
mov edx, dword [ebx + 4]
lea eax, [ebx + 4]
test dl, 1
je 0x40980e
mov ebx, eax
mov eax, 1
add ecx, 4
cmp word [ebp - 0xd4], 0
je 0x408636
add eax, eax
jne 0x408e3e
mov edx, dword [ebx + 4]
lea eax, [ebx + 4]
test dl, 1
je 0x409828
mov ebx, eax
mov eax, 1
add ecx, 8
cmp word [ebp - 0xbc], 4
jbe 0x40865b
add eax, eax
jne 0x408df7
lea eax, [ebx + 4]
test byte [ebx + 4], 1
mov ebx, eax
mov eax, 1
je 0x40865b
add ecx, 0x10
movzx edx, cx
add dword [ebp - 0xb4], 1
mov ecx, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xb4]
add edx, dword [ebp - 0xc8]
mov dword [ecx + esi*4], edx
cmp dword [ebp - 0xcc], esi
je 0x409857
mov ecx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xb4]
mov ecx, dword [ecx + 0x68]
mov dword [ebp - 0xb8], ecx
mov ecx, dword [ecx + esi*4]
mov dword [ebp - 0xc8], ecx
jmp 0x40855e
mov eax, 2
test eax, esi
jne 0x4085b3
jmp 0x4085b6
mov dword [esp + 0xc], str.More_than_one_icon__picking_up_first_n
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415010
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x407ed0
mov ebx, dword [ebp - 0xb4]
mov eax, dword [ebx + 0x8c]
mov dword [ebp - 0xb8], eax
add eax, 1
mov dword [ebx + 0x8c], eax
imul eax, eax, 0x68
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x90]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov dword [ebx + 0x90], eax
test eax, eax
je 0x407d80
mov ecx, dword [ebp - 0xb4]
imul edx, dword [ecx + 0x8c], 0x68
lea edi, [eax + edx - 0x68]
movzx edx, byte [esi + 5]
movzx eax, byte [esi + 4]
shl edx, 8
lea ebx, [edx + eax]
and ax, 1
mov word [ebp - 0xd0], ax
jne 0x409842
mov byte [edi], 0
mov eax, ebx
and ax, 2
mov word [ebp - 0xd4], ax
jne 0x4098b1
mov byte [edi + 0xa], 0
mov eax, ebx
lea ecx, [edi + 0x13]
and ax, 4
mov dword [ebp - 0xcc], ecx
mov word [ebp - 0xd8], ax
je 0x408da3
lea eax, [esi + 0x19]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
mov dword [ebp - 0xb8], 0x80000000
mov eax, ebx
and ax, 8
mov word [ebp - 0xdc], ax
je 0x4087c8
movzx eax, byte [esi + 0x4d]
movzx edx, byte [esi + 0x4c]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xbc], 0x80000000
mov eax, dword [ebp - 0xb8]
mov dword [edi + 0x48], eax
mov eax, ebx
and ax, 0x10
mov word [ebp - 0xe0], ax
je 0x408800
movzx eax, byte [esi + 0x4f]
movzx edx, byte [esi + 0x4e]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov ecx, 0x80000000
mov dword [edi + 0x4c], eax
mov eax, ebx
and ax, 0x20
mov word [ebp - 0xe4], ax
je 0x40882d
movzx eax, byte [esi + 0x51]
movzx edx, byte [esi + 0x50]
shl eax, 8
add eax, edx
movzx ecx, ax
mov eax, ebx
mov dword [edi + 0x50], ecx
mov dword [ebp - 0xc8], 0x80000000
and ax, 0x40
mov word [ebp - 0xe6], ax
je 0x40885f
movzx eax, byte [esi + 0x53]
movzx edx, byte [esi + 0x52]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov edx, ebx
and dx, 0x80
mov dword [edi + 0x54], eax
mov eax, 5
mov word [ebp - 0xe8], dx
je 0x40888d
movzx eax, byte [esi + 0x55]
movzx edx, byte [esi + 0x54]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [edi + 0x58], eax
mov eax, 0xffffff
mov dword [edi + 0x5c], 0xcf0000
test bh, 1
je 0x4088cd
movzx eax, byte [esi + 0x59]
movzx edx, byte [esi + 0x58]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0x56]
shl eax, 0x10
mov dword [ebp - 0xec], eax
movzx eax, byte [esi + 0x57]
shl eax, 8
add eax, edx
movzx eax, ax
add eax, dword [ebp - 0xec]
mov dword [edi + 0x60], eax
mov eax, 0xffffff
and bh, 2
je 0x4088fe
movzx eax, byte [esi + 0x5d]
movzx edx, byte [esi + 0x5c]
shl eax, 8
add eax, edx
movzx edx, byte [esi + 0x5a]
mov ebx, eax
movzx eax, byte [esi + 0x5b]
shl ebx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ebx
mov dword [edi + 0x64], eax
test byte [0x415010], 8
je 0x407d80
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xf0], ecx
call sym._wine_dbgstr_an.constprop.0_1
mov dword [ebp - 0xcc], eax
lea eax, [edi + 0xa]
call sym._wine_dbgstr_an.constprop.0_1
mov dword [ebp - 0xec], eax
mov eax, edi
call sym._wine_dbgstr_an.constprop.0_1
cmp word [ebp - 0xe8], 1
sbb edx, edx
mov dword [esp + 0x30], eax
and edx, 0x20
add edx, 0x53
cmp word [ebp - 0xe6], 1
sbb edi, edi
mov dword [esp + 0x2c], edx
and edi, 0x20
add edi, 0x48
cmp word [ebp - 0xe4], 1
sbb ecx, ecx
mov dword [esp + 0x28], edi
and ecx, 0x20
add ecx, 0x57
cmp word [ebp - 0xe0], 1
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0xc8]
sbb ebx, ebx
and ebx, 0x20
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp - 0xf0]
add ebx, 0x59
cmp word [ebp - 0xdc], 1
mov dword [ebp - 0xe0], ebx
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp - 0xbc]
sbb eax, eax
and eax, 0x20
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp - 0xb8]
add eax, 0x58
cmp word [ebp - 0xd8], 1
mov dword [ebp - 0xdc], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp - 0xcc]
sbb ebx, ebx
and ebx, 0x20
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp - 0xec]
add ebx, 0x43
cmp word [ebp - 0xd4], 1
mov dword [ebp - 0xd8], ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp - 0xe4]
sbb ebx, ebx
and ebx, 0x20
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp - 0xe0]
add ebx, 0x4e
cmp word [ebp - 0xd0], 1
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0xdc]
sbb eax, eax
and eax, 0x20
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 0xd8]
add eax, 0x54
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
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
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 4], 0x415010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
movzx eax, byte [esi + 3]
movzx edx, byte [esi + 2]
shl eax, 8
add eax, edx
jmp 0x407d8d
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__strdup]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0x10], eax
test eax, eax
je 0x409d58
test byte [0x415010], 8
je 0x407d80
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], 0x415010
mov dword [esp], 3
jmp 0x407e02
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__strdup]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x409d58
test byte [0x415010], 8
je 0x407d80
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], 0x415010
mov dword [esp], 3
jmp 0x407e02
mov eax, dword [ebp - 0xdc]
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 - 0xd8]
mov dword [esp + 4], 0x415010
mov dword [esp + 0x10], eax
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xbc], eax
movzx eax, byte [0x415010]
mov byte [ebp - 0xb8], al
jmp 0x407bdd
movzx edx, word [edi + 0x54]
lea eax, [edx + 4]
mov dword [ebp - 0xbc], edx
imul eax, ebx
mov dword [esp], eax
mov eax, dword [ebp - 0xc4]
call eax
mov dword [edi + 0x70], eax
test eax, eax
je 0x407306
mov ecx, dword [ebp - 0xb8]
lea esi, [eax + ebx*4]
add ecx, esi
mov dword [edi + 0x74], ecx
test ebx, ebx
je 0x40795d
mov dword [ebp - 0xb4], esi
mov edx, dword [ebp - 0xbc]
xor ebx, ebx
jmp 0x408bd7
mov eax, dword [edi + 0x70]
movzx edx, word [edi + 0x54]
imul edx, ebx
add edx, dword [ebp - 0xb4]
mov dword [eax + ebx*4], edx
mov eax, dword [edi + 0x70]
mov esi, dword [ebp - 0xa8]
movzx ecx, word [edi + 0x54]
mov edx, dword [eax + ebx*4]
movzx eax, word [edi + 0x52]
mov dword [esp + 8], ecx
imul eax, ebx
mov dword [esp], edx
add ebx, 1
lea eax, [esi + eax + 0xc]
mov dword [esp + 4], eax
call sym._memcpy
cmp ebx, dword [edi + 0x78]
jb 0x408bd0
jmp 0x40795d
test byte [ebp - 0xd0], 0xe
je 0x408e15
mov ebx, edx
mov eax, 2
test eax, esi
jne 0x4085dd
jmp 0x4085e0
mov edx, dword [ebp - 0xa4]
add eax, dword [ebp - 0xd0]
call dbg.HLPFILE_UncompressLZ77
jmp 0x407799
cmp dx, 4
je 0x409a65
mov eax, 0x800
mov dword [edi + 0x58], 1
mov word [edi + 0x52], ax
mov word [edi + 0x4c], bx
mov ebx, dword [ebp - 0xa8]
mov eax, 0x4000
mov word [edi + 0x4e], dx
mov edx, 1
mov word [edi + 0x54], ax
lea esi, [ebx + 0x15]
mov word [edi + 0x50], dx
jmp 0x407d39
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xf4]
mov eax, dword [edx]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], edx
mov eax, dword [edx + ecx - 4]
mov edx, dword [ebp - 0xf8]
mov dword [edx + ecx - 4], eax
mov eax, dword [ebp - 0xf4]
lea edx, [eax + 0x20]
mov eax, dword [ebp - 0xf8]
and edx, 0xfffffffc
sub eax, edx
mov dword [ebp - 0xf4], edx
mov edx, dword [ebp - 0xcc]
sub edx, eax
add eax, ecx
and eax, 0xfffffffc
cmp eax, 4
jb 0x4082da
mov dword [ebp - 0xf8], ebx
and eax, 0xfffffffc
mov dword [ebp - 0xcc], eax
xor eax, eax
mov ebx, dword [edx + eax]
mov ecx, dword [ebp - 0xf4]
mov dword [ecx + eax], ebx
add eax, 4
cmp eax, dword [ebp - 0xcc]
jb 0x408d00
mov ebx, dword [ebp - 0xf8]
jmp 0x4082da
test byte [ebp - 0xb8], 1
je 0x407ba0
mov eax, dword [ebp - 0xe0]
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], 0x415010
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
movzx eax, byte [0x415010]
mov byte [ebp - 0xb8], al
jmp 0x407ba0
test byte [0x415010], 4
jne 0x409ac7
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
jmp 0x407306
mov eax, dword [ebp - 0xb4]
lea edx, [eax + 0x1c]
jmp 0x407fbc
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xb8], esi
mov eax, dword [eax + 0xc]
lea ecx, [eax + 0x32]
mov esi, ecx
lea esi, [esi]
movzx ecx, byte [eax]
test cl, cl
je 0x408dd4
add eax, 1
add edx, 1
mov byte [edx - 1], cl
cmp eax, esi
jne 0x408dc0
mov byte [edx], 0
mov esi, dword [ebp - 0xb8]
jmp 0x408799
cmp word [ebp - 0xbc], 4
jbe 0x40996b
mov ebx, eax
mov eax, 2
mov edx, dword [ebx]
test eax, edx
jne 0x408658
jmp 0x40865b
mov edx, dword [ebx]
test eax, edx
jne 0x408608
jmp 0x40860b
cmp word [ebp - 0xbc], 2
mov ebx, edx
mov eax, 2
ja 0x408e06
cmp word [ebp - 0xd4], 0
mov eax, 1
je 0x408636
mov eax, 2
mov edx, dword [ebx]
test eax, edx
jne 0x408633
jmp 0x408636
call dbg.HLPFILE_UncompressedLZ77_Size
mov ebx, 0x11
mov dword [ebp - 0xcc], eax
jmp 0x4076b6
mov dword [ebp - 0xb8], edi
movzx edx, word [edi + 0x4c]
mov esi, 0xffffffff
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xbc], 0xc
jmp 0x408ffe
mov eax, dword [ebp - 0xb8]
xor edx, edx
movzx ebx, word [eax + 0x54]
mov eax, ecx
div ebx
mov dword [ebp - 0xb4], eax
mov ebx, edx
cmp eax, esi
je 0x408eba
cmp esi, 0xffffffff
je 0x408eba
mov dword [ebp - 0xbc], ecx
sub ebx, 0xc
test byte [0x415010], 8
jne 0x409031
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb4]
cmp dword [eax + 0x78], ecx
jbe 0x4098f7
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
mov eax, dword [ecx + 0x70]
mov ecx, dword [ecx + 0x74]
add ebx, dword [eax + edx*4]
lea eax, [ebx + 0x15]
cmp ecx, eax
jbe 0x40992f
movzx edi, byte [ebx + 3]
movzx eax, byte [ebx + 2]
movzx edx, byte [ebx]
shl edi, 8
add edi, eax
movzx eax, byte [ebx + 1]
shl edi, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add edi, eax
lea eax, [ebx + edi]
cmp ecx, eax
cmovb eax, ecx
cmp esi, dword [ebp - 0xb4]
mov dword [ebp - 0xc8], eax
mov eax, 0
cmove eax, dword [ebp - 0xcc]
mov dword [ebp - 0xcc], eax
movzx eax, byte [ebx + 0x14]
cmp al, 2
je 0x4090c0
jbe 0x409078
cmp al, 0x20
je 0x408f61
cmp al, 0x23
jne 0x409080
mov ecx, dword [ebp - 0xb8]
mov esi, dword [ecx + 0x14]
test esi, esi
je 0x40943c
lea edx, [ebx + 0x19]
cmp dword [ebp - 0xc8], edx
jb 0x409400
cmp al, 0x20
je 0x409474
mov ecx, dword [ebp - 0xc8]
cmp al, 0x23
sete al
sub ecx, ebx
sub ecx, 0xf
test al, al
jne 0x409474
add dword [ebp - 0xcc], ecx
mov eax, dword [ebp - 0xb8]
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
mov ebx, ecx
cmp dx, 0x10
ja 0x408ff2
add ebx, dword [ebp - 0xbc]
cmp ebx, 0xffffffff
je 0x409587
test ecx, ecx
je 0x409587
mov dword [ebp - 0xbc], ebx
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xbc]
lea ecx, [eax - 0xc]
cmp dx, 0x10
jbe 0x408e90
mov eax, ecx
and ecx, 0x3fff
shr eax, 0xe
mov ebx, ecx
mov dword [ebp - 0xb4], eax
test byte [0x415010], 8
je 0x408ec7
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], str.ref_08lx_____u__u__n
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xbc]
mov dword [esp + 8], str.HLPFILE_DoReadHlpFile
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x415010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x408ec7
cmp al, 1
je 0x408f61
test byte [0x415010], 2
je 0x408fa7
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], 0x415010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x408fa7
mov eax, dword [ebp - 0xb8]
cmp word [eax + 0x4c], 0x10
mov eax, dword [ebp - 0xb4]
ja 0x40915d
mov ecx, dword [ebp - 0xbc]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov dword [ebp - 0xd4], eax
movzx eax, byte [ebx + 0x13]
movzx edx, byte [ebx + 0x12]
movzx ecx, byte [ebx + 0x10]
shl eax, 8
add edx, eax
movzx eax, byte [ebx + 0x11]
shl edx, 0x10
shl eax, 8
add eax, ecx
movzx eax, ax
add eax, edx
mov dword [ebp - 0xd8], eax
add eax, ebx
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xc8], eax
jae 0x409171
mov edi, dword [ebp - 0xb8]
test byte [0x415010], 4
je 0x407306
mov dword [esp + 0xc], str.page2_n
mov dword [esp + 8], str.HLPFILE_AddPage
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407306
shl eax, 0xf
add eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
jmp 0x4090e9
movzx eax, byte [ebx + 7]
movzx ecx, byte [ebx + 6]
movzx esi, byte [ebx + 4]
shl eax, 8
add ecx, eax
movzx eax, byte [ebx + 5]
shl ecx, 0x10
shl eax, 8
add eax, esi
movzx eax, ax
add eax, ecx
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xd0], eax
add eax, 0x2d
mov dword [esp], eax
call ecx
mov esi, eax
test eax, eax
je 0x409d4d
lea edx, [eax + 0x2c]
sub edi, dword [ebp - 0xd8]
mov dword [eax], edx
cmp edi, dword [ebp - 0xd0]
jae 0x409498
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x5c]
test eax, eax
jne 0x409550
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x60]
test eax, eax
jne 0x4098c9
test byte [0x415010], 1
jne 0x409a7a
mov eax, dword [ebp - 0xdc]
mov dword [esp], edx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
call sym._memcpy
mov dword [ebp - 0xd0], edi
mov edx, dword [esi]
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xb8]
mov byte [edx + eax], 0
mov edi, dword [ecx + 0x14]
test edi, edi
je 0x409524
mov eax, dword [ecx + 0x18]
mov dword [eax + 0x18], esi
mov eax, dword [ecx + 0x18]
mov dword [ecx + 0x18], esi
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp - 0xb8]
mov dword [esi + 0x18], 0
mov dword [esi + 4], 0
mov dword [esi + 0x28], ecx
mov dword [esi + 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]
shl eax, 0x10
shl edx, 8
add edx, ecx
movzx edx, dx
add eax, edx
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xd4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xbc]
mov dword [esi + 0x14], eax
movzx eax, byte [ebx + 0x1c]
movzx edi, byte [ebx + 0x1b]
movzx edx, byte [ebx + 0x19]
shl eax, 8
add edi, eax
mov eax, edi
movzx edi, byte [ebx + 0x1a]
shl eax, 0x10
shl edi, 8
add edi, edx
movzx edi, di
add edi, eax
mov dword [esi + 0x20], edi
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
mov ecx, dword [ebp - 0xb8]
movzx eax, ax
add edx, eax
cmp word [ecx + 0x4c], 0x10
mov dword [esi + 0x24], edx
ja 0x409316
mov eax, 0xffffffff
cmp edi, 0xffff
je 0x409300
mov eax, dword [ecx + 0x38]
mov eax, dword [eax + edi*4]
mov dword [esi + 0x20], eax
cmp edx, 0xffff
jne 0x40953c
mov dword [esi + 0x24], 0xffffffff
test byte [0x415010], 8
jne 0x4094c5
mov edx, dword [esi]
mov eax, dword [ebp - 0xc0]
mov dword [esp], edx
mov dword [ebp - 0xc8], edx
call eax
mov edx, dword [ebp - 0xc8]
lea edi, [edx + eax + 1]
add edx, dword [ebp - 0xd0]
cmp edi, edx
jae 0x408fa7
mov dword [ebp - 0xd4], ebx
jmp 0x4093ab
lea eax, [ebx + 9]
add ebx, 1
mov dword [esp], eax
mov eax, dword [ebp - 0xc4]
call eax
mov ecx, eax
lea eax, [eax + 8]
mov dword [ecx], eax
mov dword [esp + 4], edi
add edi, ebx
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [ebp - 0xc8], ecx
call sym._memcpy
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xd0]
add eax, dword [esi]
mov dword [esi + 4], ecx
cmp edi, eax
jae 0x4093f5
mov dword [esp], edi
mov eax, dword [ebp - 0xc0]
call eax
mov ebx, eax
test byte [0x415010], 8
je 0x409360
mov eax, edi
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], 0x415010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x409360
mov ebx, dword [ebp - 0xd4]
jmp 0x408fa7
mov edi, dword [ebp - 0xb8]
test byte [0x415010], 4
je 0x407306
mov dword [esp + 0xc], str.header_too_small_n
mov dword [esp + 8], str.HLPFILE_SkipParagraph
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407306
mov edi, ecx
test byte [0x415010], 4
je 0x407306
mov dword [esp + 0xc], str.no_page_n
mov dword [esp + 8], str.HLPFILE_SkipParagraph
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407306
lea eax, [ebx + 0x17]
test byte [ebx + 0x15], 1
cmove edx, eax
movzx ecx, byte [edx]
test cl, 1
je 0x40957d
movzx ecx, word [edx]
shr cx, 1
movzx ecx, cx
jmp 0x408fa1
mov eax, dword [ebp - 0xd0]
mov dword [esp], edx
mov dword [ebp - 0xc8], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xdc]
mov dword [esp + 4], eax
call sym._memcpy
mov edx, dword [ebp - 0xc8]
jmp 0x409215
mov edx, dword [esi + 0x24]
mov eax, dword [esi]
mov edi, dword [esi + 0x20]
mov dword [ebp - 0xc8], edx
call sym._wine_dbgstr_an.constprop.0_1
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xd4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 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], 0x415010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x409323
mov eax, dword [ebp - 0xb8]
mov dword [esi + 0x1c], 0
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
jmp 0x40923f
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + edx*4]
mov dword [esi + 0x24], eax
jmp 0x409316
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xc8]
mov dword [esp], edx
add eax, edx
mov edx, dword [ebp - 0xdc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb8]
call dbg.HLPFILE_Uncompress2
mov edx, dword [esi]
jmp 0x409215
shr cl, 1
movzx ecx, cl
jmp 0x409490
mov edi, dword [ebp - 0xb8]
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov edx, str.KWBTREE
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
je 0x409618
mov esi, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xc4]
sub ebx, esi
mov dword [esp], ebx
call eax
mov dword [edi + 0x24], eax
test eax, eax
je 0x409618
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov edx, str.KWDATA
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
jne 0x4099f3
test byte [0x415010], 2
jne 0x409cb0
mov eax, dword [edi + 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov edx, str.CTXOMAP
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
jne 0x4096a8
test byte [0x415010], 4
jne 0x409b08
cmp word [edi + 0x4c], 0x10
jbe 0x4071eb
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov edx, str.CONTEXT
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
jne 0x409a2c
test byte [0x415010], 4
je 0x407306
mov dword [esp + 0xc], str.context0_n
mov dword [esp + 8], str.HLPFILE_GetContext
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407306
mov esi, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xc4]
movzx eax, byte [esi + 0xa]
movzx edx, byte [esi + 9]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xb8], eax
shl eax, 3
mov dword [esp], eax
call ecx
mov dword [edi + 0x30], eax
mov ebx, eax
test eax, eax
je 0x409644
mov eax, dword [ebp - 0xb8]
mov dword [edi + 0x2c], eax
test eax, eax
je 0x409644
mov dword [ebp - 0xb4], 0
xor eax, eax
lea ecx, [esi + 0xb]
jmp 0x409704
mov ebx, dword [edi + 0x30]
movzx edx, byte [ecx + eax + 3]
movzx esi, byte [ecx + eax + 2]
add dword [ebp - 0xb4], 1
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 [ebx + eax], edx
mov ebx, dword [ebp - 0xa8]
movzx edx, byte [ebx + eax + 0x12]
movzx esi, byte [ebx + eax + 0x11]
lea ecx, [ebx + 0xb]
shl edx, 8
add edx, esi
movzx esi, byte [ebx + eax + 0x10]
movzx ebx, byte [ebx + eax + 0xf]
shl edx, 0x10
shl esi, 8
add ebx, esi
mov esi, dword [edi + 0x30]
movzx ebx, bx
add edx, ebx
mov dword [esi + eax + 4], edx
mov esi, dword [ebp - 0xb4]
add eax, 8
cmp dword [ebp - 0xb8], esi
jne 0x409701
jmp 0x409644
mov dword [edi + 0xa4], 1
mov dword [edi + 0xa8], 0
test byte [0x415010], 1
je 0x407306
mov dword [esp + 0xc], str.mvb_font:_not_implemented_n
mov dword [esp + 8], str.HLPFILE_ReadFont
mov dword [esp + 4], 0x415010
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x407306
mov eax, dword [ebp - 0xd4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xdc]
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], 0x415010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4079ee
cmp word [ebp - 0xd4], 0
je 0x408de2
mov ebx, eax
mov eax, 2
jmp 0x408e40
cmp word [ebp - 0xbc], 4
jbe 0x40996b
mov ebx, eax
mov eax, 2
jmp 0x408df9
lea eax, [esi + 6]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
jmp 0x408756
mov edi, dword [ebp - 0xd8]
mov ecx, dword [edi + 0x6c]
mov eax, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xe0]
add eax, 9
cmp dword [ebp - 0xdc], ebx
je 0x409b5a
mov edx, dword [ebp - 0xa4]
call dbg.HLPFILE_UncompressLZ77
mov dword [edi + 0x60], 1
jmp 0x4077a0
cmp word [ebp - 0xbc], 2
jbe 0x409af0
mov eax, 2
jmp 0x408e08
mov esi, dword [edx]
jmp 0x408c2f
lea eax, [esi + 0x10]
mov dword [esp + 4], eax
lea eax, [edi + 0xa]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
jmp 0x40876d
mov eax, dword [ebp - 0xd0]
lea ecx, [edx + eax]
mov eax, dword [ebp - 0xc8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xdc]
mov dword [esp], eax
mov eax, dword [ebp - 0xb8]
call sym._HLPFILE_Uncompress3.isra.0
mov edx, dword [esi]
jmp 0x409215
mov edi, eax
test byte [0x415010], 4
je 0x40958d
mov dword [esp + 0xc], str.maplen_n
mov dword [esp + 8], str.HLPFILE_DoReadHlpFile
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x40958d
mov edi, dword [ebp - 0xb8]
test byte [0x415010], 4
je 0x40958d
mov dword [esp + 0xc], str.extra_n
mov dword [esp + 8], str.HLPFILE_DoReadHlpFile
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x40958d
mov ebx, eax
mov eax, 1
jmp 0x40865b
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], 0x415010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407597
mov dword [edi + 0xa4], 1
mov dword [edi + 0xa8], 0
test byte [0x415010], 1
je 0x407306
mov dword [esp + 0xc], str.new_font:_not_implemented_n
mov dword [esp + 8], str.HLPFILE_ReadFont
mov dword [esp + 4], 0x415010
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x407306
mov esi, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xc4]
sub ebx, esi
mov dword [esp], ebx
call eax
mov dword [edi + 0x28], eax
test eax, eax
je 0x409618
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
jmp 0x409618
mov esi, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xc4]
sub ebx, esi
mov dword [esp], ebx
call eax
mov dword [edi + 0x20], eax
test eax, eax
je 0x407306
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
jmp 0x4071eb
mov eax, 0x1000
mov dword [edi + 0x58], 1
mov word [edi + 0x52], ax
jmp 0x408c6c
mov dword [esp + 0xc], str.Text_size_is_too_long__splitting_n
mov dword [esp + 8], str.HLPFILE_AddPage
mov dword [esp + 4], 0x415010
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [esi]
jmp 0x4091f7
mov dword [esp], 0
mov eax, dword [ebp - 0xc4]
call eax
mov dword [edi + 0x70], eax
test eax, eax
je 0x407306
mov dword [edi + 0x74], eax
jmp 0x40795d
mov dword [esp + 0xc], str.no_subfile_FONT_n
mov dword [esp + 8], str.HLPFILE_ReadFont
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x408d7c
cmp word [ebp - 0xd4], 0
mov eax, 1
je 0x40865b
jmp 0x408e39
mov dword [esp + 0xc], str.no_map_section_n
mov dword [esp + 8], str.HLPFILE_GetMap
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x409644
mov dword [esp + 0xc], str.filesize2_n
mov dword [esp + 8], str.HLPFILE_ReadFileToBuffer
mov dword [esp + 4], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4074a7
mov esi, dword [ebp - 0xdc]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], esi
call sym._memcpy
jmp 0x409886
movzx eax, byte [esi + 0x24]
movzx edx, byte [esi + 0x23]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0x22]
movzx edx, byte [esi + 0x21]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [esp + 0x28], eax
movzx ecx, byte [esi + 0x20]
movzx eax, byte [esi + 0x1f]
movzx edx, byte [esi + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 0x1e]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [esp + 0x24], eax
movzx ecx, byte [esi + 0x1c]
movzx eax, byte [esi + 0x1b]
movzx edx, byte [esi + 0x19]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 0x1a]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [esp + 0x20], eax
movzx ecx, byte [esi + 0x18]
movzx eax, byte [esi + 0x17]
movzx edx, byte [esi + 0x15]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 0x16]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [esp + 0x1c], eax
movzx ecx, byte [esi + 0x14]
movzx eax, byte [esi + 0x13]
movzx edx, byte [esi + 0x11]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 0x12]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [esp + 0x18], eax
movzx ecx, byte [esi + 0x10]
movzx eax, byte [esi + 0xf]
movzx edx, byte [esi + 0xd]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 0xe]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [esp + 0x14], eax
movzx ecx, byte [esi + 0xc]
movzx eax, byte [esi + 0xb]
movzx edx, byte [esi + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 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], 0x415010
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 - 0xb0]
jmp 0x408414
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], 0x415010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x40960c
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xf8]
movzx eax, word [eax + ecx - 2]
mov word [edx + ecx - 2], ax
mov eax, dword [edi + 0x88]
jmp 0x4082e0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xdc]
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], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
lea ebx, [eax + 9]
jmp 0x4084a1
mov edx, ebx
jmp 0x4086ae
mov edi, dword [ebp - 0xb8]
jmp 0x407306
mov edi, dword [ebp - 0xb4]
jmp 0x407306
mov dword [ebp - 0xb4], eax
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], esi
call ebx
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call ebx
jmp 0x408382
mov dword [esp], eax
mov esi, dword [sym.imp.ucrtbase.dll_free]
call esi
mov dword [esp], ebx
call esi
jmp 0x4077a0