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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x16c
mov eax, dword [0x41d008]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x4074ed
mov esi, dword [sym.imp.ucrtbase.dll_strcmp]
mov edi, eax
jmp 0x4072b7
mov edi, dword [edi + 0x44]
test edi, edi
je 0x4072d8
mov eax, dword [edi + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
test eax, eax
jne 0x4072b0
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 - 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 edi, eax
test eax, eax
je 0x4073f2
mov ecx, dword [ebp - 0xcc]
lea eax, [edi + 0xac]
add esi, 1
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 8], eax
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], 1
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._memcpy
mov ecx, dword [ebp - 0xcc]
mov dword [0x41d008], edi
mov dword [ecx + 0x40], edi
lea eax, [ebp - 0xa0]
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 0x4073e5
lea eax, [ebp - 0xb0]
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 0x407400
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 0x40742f
test byte [0x415010], 4
jne 0x407d9e
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll__lclose]
sub esp, 4
sub dword [edi + 0x48], 1
jne 0x4073f2
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 0x4073d9
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 0x4073d9
movzx edx, byte [ebp - 0xa1]
movzx eax, byte [ebp - 0xa2]
movzx ecx, byte [ebp - 0xa4]
shl edx, 8
add edx, eax
movzx eax, byte [ebp - 0xa3]
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 - 0xcc], edx
mov dword [ebp - 0xdc], eax
call eax
mov dword [edi], eax
test eax, eax
je 0x4073d9
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xcc]
add eax, 0x10
mov dword [eax - 0x10], ecx
mov ecx, dword [ebp - 0xac]
sub edx, 0x10
mov dword [eax - 0xc], ecx
mov ecx, dword [ebp - 0xa8]
mov dword [eax - 8], ecx
mov ecx, dword [ebp - 0xa4]
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 0x40755c
test byte [0x415010], 4
je 0x4073d9
mov dword [esp + 0xc], str.filesize1_n
jmp 0x407411
mov eax, dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp], ebx
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 edi, eax
test eax, eax
je 0x4073f2
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 0x40734d
lea eax, [ebp - 0xb4]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
sub esp, 0xc
test eax, eax
je 0x407587
test byte [0x415010], 4
jne 0x409b97
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 - 0xb0]
lea ecx, [ebp - 0xb4]
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 0x4073e5
mov ebx, dword [ebp - 0xb4]
movzx esi, byte [ebx + 0xa]
movzx eax, byte [ebx + 9]
movzx edx, byte [ebx + 0xb]
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 0xc]
shl eax, 8
lea ecx, [eax + edx]
movzx eax, byte [ebx + 0xe]
shl eax, 8
mov edx, eax
movzx eax, byte [ebx + 0xd]
add eax, edx
movzx edx, byte [ebx + 0x13]
mov word [ebp - 0xcc], ax
movzx eax, byte [ebx + 0x14]
shl eax, 8
add edx, eax
test byte [0x415010], 8
jne 0x40818b
cmp si, 0x36c
jne 0x407d68
cmp word [ebp - 0xcc], 1
jne 0x407d68
cmp cx, 0x10
ja 0x407dab
mov word [edi + 0x4c], cx
add ebx, 0x15
mov ecx, 0x7f4
mov dword [edi + 0x58], 0
mov word [edi + 0x4e], dx
mov dword [edi + 0x50], 0x8000001
mov word [edi + 0x54], cx
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__strdup]
mov dword [edi + 0xc], eax
test eax, eax
je 0x4073e5
test byte [0x415010], 8
jne 0x409982
cmp word [edi + 0x4c], 0x10
ja 0x40771d
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.TOMAP
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
jne 0x4076dd
test byte [0x415010], 4
je 0x4073e5
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 0x4073e5
mov esi, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xdc]
sub ebx, esi
sub ebx, 9
mov dword [esp], ebx
call eax
mov dword [edi + 0x38], eax
test eax, eax
je 0x4073e5
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 - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.Phrases
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
je 0x408409
mov ecx, dword [ebp - 0xb4]
movzx ebx, byte [ecx + 0xa]
movzx eax, byte [ecx + 9]
mov dword [ebp - 0xe4], ecx
shl ebx, 8
add ebx, eax
cmp word [edi + 0x4c], 0x10
movzx ebx, bx
lea eax, [ebx + ebx]
mov dword [ebp - 0xe8], eax
lea eax, [ecx + eax + 0x13]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd4], eax
ja 0x4083c7
mov dword [edi + 0x64], ebx
mov esi, dword [ebp - 0xd4]
cmp dword [ebp - 0xe0], esi
jae 0x4083dc
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0xe4]
mov esi, 0xd
sub eax, 0xf
sub eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
lea eax, [ebx*4 + 4]
mov dword [esp], eax
mov eax, dword [ebp - 0xdc]
call eax
mov ecx, dword [ebp - 0xec]
mov dword [edi + 0x68], eax
mov ebx, eax
mov eax, dword [ebp - 0xdc]
mov dword [esp], ecx
call eax
mov dword [edi + 0x6c], eax
test eax, eax
je 0x409dd0
test ebx, ebx
je 0x409dd0
mov ecx, dword [ebp - 0xe8]
mov eax, 0xfffffffe
sub eax, ecx
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xe4]
lea edx, [eax + esi + 1]
lea eax, [eax + ecx + 3]
xor ecx, ecx
add eax, esi
mov dword [ebp - 0xcc], eax
jmp 0x40782b
mov ebx, dword [edi + 0x68]
movzx eax, byte [edx]
movzx esi, byte [edx - 1]
add edx, 2
shl eax, 8
add eax, esi
movzx eax, ax
add eax, dword [ebp - 0xd0]
mov dword [ebx + ecx], eax
add ecx, 4
cmp dword [ebp - 0xcc], edx
jne 0x407828
cmp word [edi + 0x4c], 0x10
mov ecx, dword [edi + 0x6c]
ja 0x408cc4
mov esi, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe4]
mov dword [esp], ecx
lea eax, [eax + esi + 0xf]
mov esi, dword [ebp - 0xec]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call sym._memcpy
mov dword [edi + 0x5c], 1
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.TOPIC
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
je 0x408391
mov ebx, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xb0]
xor edx, edx
lea eax, [ebx + 9]
mov ecx, esi
sub ecx, eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xb4], eax
mov eax, ecx
mov dword [ebp - 0xd0], ecx
movzx ecx, word [edi + 0x52]
sub eax, 1
div ecx
mov dword [ebp - 0xcc], ecx
mov ecx, dword [edi + 0x58]
test ecx, ecx
lea edx, [eax + 1]
mov dword [ebp - 0xe0], eax
mov dword [edi + 0x78], edx
je 0x408bfa
lea eax, [edx*4]
mov dword [ebp - 0xe8], eax
test edx, edx
je 0x409b34
xor ecx, ecx
lea eax, [esi - 0x44]
mov dword [ebp - 0xec], edi
add ebx, 0x4d
mov dword [ebp - 0xd0], 0
mov edi, ecx
mov dword [ebp - 0xe4], eax
jmp 0x40793a
mov edi, eax
cmp esi, ebx
mov ecx, dword [ebp - 0xcc]
lea eax, [ebx - 0x44]
cmovb eax, dword [ebp - 0xe4]
lea edx, [eax + ecx]
cmp esi, edx
cmovbe edx, esi
add eax, 0xc
call dbg.HLPFILE_UncompressedLZ77_Size
add ebx, dword [ebp - 0xcc]
add dword [ebp - 0xd0], eax
lea eax, [edi + 1]
cmp edi, dword [ebp - 0xe0]
jne 0x407938
mov edi, dword [ebp - 0xec]
mov eax, dword [ebp - 0xd0]
add eax, dword [ebp - 0xe8]
mov dword [esp], eax
mov eax, dword [ebp - 0xdc]
call eax
mov dword [edi + 0x70], eax
mov edx, eax
test eax, eax
je 0x4073e5
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xd0]
xor ebx, ebx
mov dword [ebp - 0xd0], edx
add ecx, edx
add eax, ecx
mov dword [edi + 0x74], eax
lea eax, [esi - 0x44]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xcc]
jmp 0x4079dd
mov eax, dword [edi + 0x70]
mov dword [ebp - 0xd0], eax
movzx eax, word [edi + 0x52]
imul eax, ebx
add eax, dword [ebp - 0xd4]
lea edx, [eax + 0x44]
cmp esi, edx
mov edx, dword [ebp - 0xd0]
cmovb eax, dword [ebp - 0xe0]
mov dword [edx + ebx*4], ecx
movzx edx, word [edi + 0x52]
add edx, eax
cmp esi, edx
cmovbe edx, esi
add eax, 0xc
add ebx, 1
call dbg.HLPFILE_UncompressLZ77
mov ecx, eax
cmp ebx, dword [edi + 0x78]
jb 0x4079d0
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.FONT
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
je 0x408dd8
mov ebx, dword [ebp - 0xb4]
lea eax, [ebx + 9]
mov dword [ebp - 0xb4], eax
movzx edx, byte [ebx + 9]
mov dword [ebp - 0x10c], eax
movzx eax, byte [ebx + 0xa]
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 0xb]
movzx eax, ax
mov dword [ebp - 0xe8], eax
movzx eax, byte [ebx + 0xc]
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 0xd]
movzx eax, ax
mov dword [ebp - 0xe0], eax
movzx eax, byte [ebx + 0xe]
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 0xf]
movzx eax, ax
mov dword [ebp - 0xf0], eax
movzx eax, byte [ebx + 0x10]
shl eax, 8
add eax, edx
movzx esi, ax
test byte [0x415010], 8
jne 0x409842
mov eax, dword [ebp - 0xe0]
mov dword [edi + 0x84], eax
imul eax, eax, 0x44
mov dword [esp], eax
mov eax, dword [ebp - 0xdc]
call eax
cmp dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xd0], eax
mov dword [edi + 0x88], eax
ja 0x4097f8
cmp dword [ebp - 0xf0], 0xb
ja 0x409a24
mov dword [edi + 0xa4], 0xa
mov eax, dword [ebp - 0xe0]
mov dword [edi + 0xa8], 5
test eax, eax
je 0x408eda
mov dword [ebp - 0xcc], 0
mov eax, esi
xor edx, edx
sub eax, dword [ebp - 0xf0]
div dword [ebp - 0xe8]
lea edx, [ebx + esi]
mov ebx, edx
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov eax, 0x1f
mov esi, eax
cmp ecx, eax
cmovbe esi, ecx
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x104], esi
and esi, 2
mov dword [ebp - 0x11c], esi
lea esi, [esi]
movzx eax, byte [ebx + 0xb]
imul esi, dword [ebp - 0xcc], 0x44
movzx edx, byte [ebx + 9]
mov byte [ebp - 0xd0], al
movzx eax, byte [ebx + 0xa]
mov byte [ebp - 0xd4], dl
mov dword [ecx + esi], eax
mov eax, dword [edi + 0x88]
mov dword [eax + esi + 4], 0
mov eax, dword [edi + 0x88]
mov dword [eax + esi + 8], 0
mov eax, dword [edi + 0x88]
mov dword [eax + esi + 0xc], 0
mov eax, edx
mov ecx, dword [edi + 0x88]
and eax, 1
cmp al, 1
mov byte [ebp - 0xf4], al
sbb eax, eax
and eax, 0xfffffed4
add eax, 0x2bc
mov dword [ecx + esi + 0x10], eax
mov eax, dword [edi + 0x88]
mov ecx, edx
and edx, 2
mov byte [ebp - 0xf8], dl
mov edx, ecx
setne byte [eax + esi + 0x14]
mov eax, dword [edi + 0x88]
and edx, 4
mov byte [ebp - 0xfc], dl
setne byte [eax + esi + 0x15]
mov eax, dword [edi + 0x88]
and ecx, 8
mov byte [ebp - 0x100], cl
setne byte [eax + esi + 0x16]
mov eax, dword [edi + 0x88]
movzx ecx, word [edi + 0x50]
mov byte [eax + esi + 0x17], cl
mov eax, dword [edi + 0x88]
mov byte [eax + esi + 0x18], 0
mov eax, dword [edi + 0x88]
mov byte [eax + esi + 0x19], 0
mov eax, dword [edi + 0x88]
movzx edx, byte [0x415010]
mov byte [eax + esi + 0x1a], 0
mov eax, dword [edi + 0x88]
mov byte [eax + esi + 0x1b], 0
movzx eax, byte [ebp - 0xd0]
mov byte [ebp - 0xd0], dl
mov dword [ebp - 0xec], eax
cmp al, 5
ja case.0x407c6b.0
jmp dword [eax*4 + 0x417398]
mov eax, dword [edi + 0x88]
add eax, esi
or byte [eax + 0x1b], 0x50
nop
movzx eax, byte [ebx + 0xd]
movzx edx, byte [ebx + 0xc]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe8], eax
ja 0x408315
test byte [ebp - 0xd0], 1
jne 0x408bb0
mov eax, dword [edi + 0x88]
add eax, esi
mov dword [eax + 0x1c], 0x766c6548
mov byte [eax + 0x20], 0
mov eax, dword [edi + 0x88]
mov dword [eax + esi + 0x3c], 0
movzx edx, byte [ebx + 0xf]
movzx eax, byte [ebx + 0x10]
shl edx, 8
shl eax, 0x10
or eax, edx
movzx edx, byte [ebx + 0xe]
or eax, edx
mov edx, dword [edi + 0x88]
mov dword [edx + esi + 0x40], eax
test byte [ebp - 0xd0], 8
jne 0x4081ec
add dword [ebp - 0xcc], 1
add ebx, 0xb
mov eax, dword [ebp - 0xcc]
cmp dword [ebp - 0xe0], eax
je 0x408eda
mov ecx, dword [edi + 0x88]
jmp 0x407b60
mov eax, dword [edi + 0x88]
add eax, esi
or byte [eax + 0x1b], 0x40
jmp 0x407c80
mov eax, dword [edi + 0x88]
add eax, esi
or byte [eax + 0x1b], 0x20
jmp 0x407c80
mov eax, dword [edi + 0x88]
add eax, esi
or byte [eax + 0x1b], 0x10
jmp 0x407c80
mov eax, dword [edi + 0x88]
add eax, esi
or byte [eax + 0x1b], 0x30
jmp 0x407c80
test byte [0x415010], 4
je 0x4073e5
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 0x4073e5
mov dword [esp + 0xc], str.wrong_header_n
jmp 0x407411
test dx, dx
je 0x408cda
mov esi, 0x800
cmp dx, 4
mov eax, 0x1000
mov dword [edi + 0x58], 1
cmovne eax, esi
mov word [edi + 0x4c], cx
lea esi, [ebx + 0x15]
mov word [edi + 0x4e], dx
mov word [edi + 0x52], ax
mov eax, 0x4000
mov word [edi + 0x54], ax
mov eax, 1
mov word [edi + 0x50], ax
mov eax, dword [ebp - 0xb0]
add ebx, 0x19
mov dword [ebp - 0xcc], eax
cmp ebx, eax
ja 0x407e65
mov dword [ebp - 0xd0], edi
lea esi, [esi]
lea esi, [esi]
movzx edx, byte [esi + 1]
movzx eax, byte [esi]
shl edx, 8
add eax, edx
cmp ax, 0xb
ja case.0x407e25.0
movzx edx, ax
jmp dword [edx*4 + 0x4173b0]
test byte [0x415010], 4
jne 0x408177
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 - 0xcc]
jbe 0x407e10
mov edi, dword [ebp - 0xd0]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x40767d
mov dword [esp], 0x4166f8
call dword [sym.imp.ucrtbase.dll__strdup]
mov dword [edi + 0xc], eax
jmp 0x40767d
movzx edx, byte [esi + 4]
mov ecx, dword [ebp - 0xd0]
mov word [ecx + 0x50], dx
test byte [0x415010], 8
je 0x407e40
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 0x407e40
test byte [0x415010], 4
je 0x407e40
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 0x407ec2
movzx eax, byte [esi + 3]
movzx edx, byte [esi + 2]
shl eax, 8
add eax, edx
cmp ax, 0x5a
je 0x40876c
test byte [0x415010], 4
je 0x407e4d
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 0x407e4d
movzx eax, byte [esi + 9]
movzx edx, byte [esi + 8]
shl eax, 8
add eax, edx
cmp ax, 1
je 0x407f90
test byte [0x415010], 1
jne 0x408743
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 - 0xd0]
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 0x407e4d
mov eax, dword [ebp - 0xd8]
mov dword [esp], ebx
call eax
mov edx, eax
lea eax, [eax + 9]
mov dword [ebp - 0xd4], edx
mov dword [esp], eax
mov eax, dword [ebp - 0xdc]
call eax
mov edx, dword [ebp - 0xd4]
test eax, eax
mov edi, eax
je 0x407e40
lea ecx, [eax + 8]
add edx, 1
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov dword [esp + 8], edx
mov dword [ebp - 0xd4], ecx
call sym._memcpy
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xd4]
mov dword [edi + 4], 0
mov eax, dword [eax + 0x1c]
mov dword [edi], ecx
test eax, eax
je 0x408dfe
lea esi, [esi]
mov edx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x408070
add edx, 4
mov dword [edx], edi
movzx eax, byte [esi + 3]
movzx edx, byte [esi + 2]
shl eax, 8
add eax, edx
jmp 0x407e4d
movzx eax, byte [esi + 3]
movzx edx, byte [esi + 2]
movzx ecx, byte [0x415010]
shl eax, 8
add eax, edx
cmp ax, 4
je 0x40811b
and ecx, 4
je 0x407e4d
mov dword [esp + 0xc], str.system3_n
jmp 0x407f3c
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x408b08
test byte [0x415010], 4
je 0x407e40
mov dword [esp + 0xc], str.copyright_n
jmp 0x407f3c
mov eax, dword [ebp - 0xd0]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x408b5c
test byte [0x415010], 4
je 0x407e40
mov dword [esp + 0xc], str.title_n
jmp 0x407f3c
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 - 0xd0]
movzx edx, dx
add eax, edx
and ecx, 8
mov dword [ebx + 0x3c], eax
je 0x407e40
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 0x407ec2
movzx eax, ax
mov dword [esp + 0xc], str.Unsupported_SystemRecord__d__n
mov dword [esp + 0x10], eax
jmp 0x407ef0
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, word [ebp - 0xcc]
mov dword [esp + 8], str.HLPFILE_SystemCommands
mov dword [esp + 0x14], eax
movzx eax, si
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x415010
mov dword [esp], 3
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xd0], ecx
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xd0]
jmp 0x407617
movzx eax, byte [ebx + 0x11]
movzx edx, byte [ebx + 0x10]
movzx ecx, byte [ebx + 0xe]
add esi, dword [edi + 0x88]
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 0xf]
shl eax, 0x10
shl edx, 8
add edx, ecx
movzx edx, dx
add eax, edx
and eax, 0xffffff
mov dword [ebp - 0xd0], eax
lea eax, [esi + 0x1c]
call sym._wine_dbgstr_an.constprop.0_1
movzx ecx, byte [ebp - 0xd4]
movzx esi, byte [ebx + 0xa]
mov dword [esp + 4], 0x415010
mov dword [ebp - 0x108], eax
mov eax, 0x4166f8
mov edx, ecx
mov dword [esp + 0x30], esi
mov esi, str._smallCaps
and edx, 0x20
mov edx, ecx
mov ecx, str._bold
mov dword [esp], 3
cmove esi, eax
and edx, 0x10
mov edx, str._strikeOut
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
mov dword [esp + 8], str.HLPFILE_ReadFont
mov dword [esp + 0x2c], esi
mov esi, str._dblUnderline
cmove esi, eax
cmp byte [ebp - 0x100], 0
cmove edx, eax
cmp byte [ebp - 0xfc], 0
mov dword [esp + 0x28], esi
mov esi, str._underline
cmove esi, eax
cmp byte [ebp - 0xf8], 0
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
mov esi, str._italic
cmove esi, eax
cmp byte [ebp - 0xf4], 0
cmovne eax, ecx
mov ecx, dword [ebp - 0xd0]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp - 0xe4]
mov dword [esp + 0x18], eax
movzx eax, byte [ebp - 0xd4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp - 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xcc]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp - 0xec]
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], ecx
call sym._wine_dbg_log.constprop.0_1
jmp 0x407cfd
mov edx, dword [edi + 0x88]
lea eax, [edx + esi]
mov dword [ebp - 0x114], eax
mov ecx, eax
add eax, 0x1c
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x110]
imul eax, dword [ebp - 0xe4]
add eax, dword [ebp - 0xf0]
add eax, dword [ebp - 0x10c]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x104]
cmp eax, 4
jae 0x408d03
test eax, eax
je 0x408381
mov eax, dword [ebp - 0x108]
movzx edx, byte [eax]
mov byte [ecx + 0x1c], dl
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x409d82
mov edx, dword [edi + 0x88]
add edx, dword [ebp - 0x104]
mov byte [esi + edx + 0x1c], 0
jmp 0x407cc2
test byte [0x415010], 4
je 0x4073e5
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 0x4073e5
mov dword [edi + 0x64], ebx
mov esi, dword [ebp - 0xd4]
cmp dword [ebp - 0xe0], esi
jb 0x408eb9
test byte [0x415010], 4
je 0x408409
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 - 0xb8]
lea ecx, [ebp - 0xbc]
mov edx, str.PhrIndex
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
je 0x40788c
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.PhrImage
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
je 0x40788c
mov ebx, dword [ebp - 0xbc]
movzx eax, byte [ebx + 0x22]
movzx edx, byte [ebx + 0x21]
shl eax, 8
add eax, edx
and edx, 0xf
mov word [ebp - 0xe8], ax
movzx eax, byte [ebx + 0xe]
mov word [ebp - 0xd4], dx
movzx edx, byte [ebx + 0xd]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xe4], eax
mov dword [edi + 0x64], eax
test byte [0x415010], 8
jne 0x409bdb
movzx eax, byte [ebx + 0x18]
movzx edx, byte [ebx + 0x17]
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 0x15]
mov ecx, eax
movzx eax, byte [ebx + 0x16]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 0x1b]
movzx eax, ax
lea esi, [ecx + eax]
movzx eax, byte [ebx + 0x1c]
mov dword [ebp - 0xf4], esi
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 0x19]
mov ecx, eax
movzx eax, byte [ebx + 0x1a]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add eax, ecx
mov dword [ebp - 0xf8], eax
cmp eax, esi
je 0x408541
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xb0]
lea esi, [eax + 9]
mov dword [ebp - 0xcc], edx
mov eax, esi
call dbg.HLPFILE_UncompressedLZ77_Size
cmp eax, dword [ebp - 0xf4]
je 0x408541
test byte [0x415010], 4
mov edx, dword [ebp - 0xcc]
jne 0x409d45
mov eax, esi
call dbg.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 [edi + 0x68], eax
mov dword [ebp - 0xd0], eax
mov dword [esp], ecx
call esi
mov edx, dword [ebp - 0xd0]
mov dword [edi + 0x6c], eax
mov esi, eax
mov ecx, eax
mov eax, dword [ebp - 0xd0]
test edx, edx
je 0x409da9
test esi, esi
je 0x409da9
lea edx, [ebx + 0x21]
mov ebx, dword [ebp - 0xe4]
mov dword [eax], 0
test ebx, ebx
je 0x4098f7
movzx ecx, word [ebp - 0xd4]
mov eax, 1
mov dword [ebp - 0xe0], 0
mov esi, eax
mov dword [ebp - 0xf0], edi
xor eax, eax
mov dword [ebp - 0xcc], 0
shl esi, cl
movzx ecx, word [ebp - 0xe8]
mov edi, esi
and ecx, 0xc
mov word [ebp - 0xec], cx
mov ebx, 1
jmp 0x4085fa
mov esi, dword [edx]
test ecx, esi
je 0x40861b
add ebx, edi
mov eax, ecx
mov ecx, eax
add ecx, ecx
jne 0x4085f0
mov esi, dword [edx + 4]
lea ecx, [edx + 4]
test esi, 1
je 0x408731
mov edx, ecx
mov ecx, 1
jmp 0x4085f6
shl eax, 2
jne 0x409dc9
mov esi, dword [edx + 4]
lea ecx, [edx + 4]
test esi, 1
je 0x408ca3
mov eax, 1
add ebx, 1
mov edx, ecx
test byte [ebp - 0xe8], 0xe
je 0x408668
add eax, eax
jne 0x409941
lea edx, [ecx + 4]
mov ecx, dword [ecx + 4]
test cl, 1
je 0x409929
mov eax, 1
add ebx, 2
cmp word [ebp - 0xd4], 2
jbe 0x408693
add eax, eax
jne 0x408e72
mov ecx, dword [edx + 4]
lea eax, [edx + 4]
test cl, 1
je 0x4098d4
mov edx, eax
mov eax, 1
add ebx, 4
cmp word [ebp - 0xec], 0
je 0x4086be
add eax, eax
jne 0x408eaa
mov ecx, dword [edx + 4]
lea eax, [edx + 4]
test cl, 1
je 0x40988d
mov edx, eax
mov eax, 1
add ebx, 8
cmp word [ebp - 0xd4], 4
jbe 0x4086e3
add eax, eax
jne 0x408e21
lea eax, [edx + 4]
test byte [edx + 4], 1
mov edx, eax
mov eax, 1
je 0x4086e3
add ebx, 0x10
movzx ecx, bx
add dword [ebp - 0xcc], 1
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 0x4098ee
mov esi, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xcc]
mov esi, dword [esi + 0x68]
mov dword [ebp - 0xd0], esi
mov esi, dword [esi + ecx*4]
mov dword [ebp - 0xe0], esi
jmp 0x4085e6
mov eax, 2
test eax, esi
jne 0x40863b
jmp 0x40863e
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 0x407f90
mov ebx, dword [ebp - 0xd0]
mov eax, dword [ebx + 0x8c]
mov dword [ebp - 0xd4], 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 0x407e40
mov ecx, dword [ebp - 0xd0]
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 - 0xec], ax
jne 0x4098a7
mov byte [edi], 0
mov eax, ebx
and ax, 2
mov word [ebp - 0xf0], ax
jne 0x4098bc
mov byte [edi + 0xa], 0
mov eax, ebx
lea ecx, [edi + 0x13]
and ax, 4
mov dword [ebp - 0xe8], ecx
mov word [ebp - 0xf4], ax
je 0x408e30
lea eax, [esi + 0x19]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
mov dword [ebp - 0xd4], 0x80000000
mov eax, ebx
and ax, 8
mov word [ebp - 0xf8], ax
je 0x408850
movzx eax, byte [esi + 0x4d]
movzx edx, byte [esi + 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 [edi + 0x48], eax
mov eax, ebx
and ax, 0x10
mov word [ebp - 0xfc], ax
je 0x408888
movzx eax, byte [esi + 0x4f]
movzx edx, byte [esi + 0x4e]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov ecx, 0x80000000
mov dword [edi + 0x4c], eax
mov eax, ebx
and ax, 0x20
mov word [ebp - 0x100], ax
je 0x4088b5
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 - 0xe4], 0x80000000
and ax, 0x40
mov word [ebp - 0x104], ax
je 0x4088e7
movzx eax, byte [esi + 0x53]
movzx edx, byte [esi + 0x52]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov edx, ebx
and dx, 0x80
mov dword [edi + 0x54], eax
mov eax, 5
mov word [ebp - 0x108], dx
je 0x408915
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 0x408955
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 - 0x10c], eax
movzx eax, byte [esi + 0x57]
shl eax, 8
add eax, edx
movzx eax, ax
add eax, dword [ebp - 0x10c]
mov dword [edi + 0x60], eax
mov eax, 0xffffff
and bh, 2
je 0x408986
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 0x407e40
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x110], ecx
call sym._wine_dbgstr_an.constprop.0_1
mov dword [ebp - 0xe8], eax
lea eax, [edi + 0xa]
call sym._wine_dbgstr_an.constprop.0_1
mov dword [ebp - 0x10c], eax
mov eax, edi
call sym._wine_dbgstr_an.constprop.0_1
cmp word [ebp - 0x108], 1
sbb edx, edx
mov dword [esp + 0x30], eax
and edx, 0x20
add edx, 0x53
cmp word [ebp - 0x104], 1
sbb edi, edi
mov dword [esp + 0x2c], edx
and edi, 0x20
add edi, 0x48
cmp word [ebp - 0x100], 1
sbb ecx, ecx
mov dword [esp + 0x28], edi
and ecx, 0x20
add ecx, 0x57
cmp word [ebp - 0xfc], 1
mov dword [ebp - 0x100], ecx
mov ecx, dword [ebp - 0xe4]
sbb ebx, ebx
and ebx, 0x20
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp - 0x110]
add ebx, 0x59
cmp word [ebp - 0xf8], 1
mov dword [ebp - 0xfc], ebx
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp - 0xe0]
sbb eax, eax
and eax, 0x20
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp - 0xd4]
add eax, 0x58
cmp word [ebp - 0xf4], 1
mov dword [ebp - 0xf8], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp - 0xe8]
sbb ebx, ebx
and ebx, 0x20
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp - 0x10c]
add ebx, 0x43
cmp word [ebp - 0xf0], 1
mov dword [ebp - 0xf4], ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp - 0x100]
sbb ebx, ebx
and ebx, 0x20
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp - 0xfc]
add ebx, 0x4e
cmp word [ebp - 0xec], 1
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0xf8]
sbb eax, eax
and eax, 0x20
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 0xf4]
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 0x407e4d
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__strdup]
mov ebx, dword [ebp - 0xd0]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x409dbe
test byte [0x415010], 8
je 0x407e40
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 0x407ec2
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__strdup]
mov ebx, dword [ebp - 0xd0]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x409dbe
test byte [0x415010], 8
je 0x407e40
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 0x407ec2
mov eax, dword [ebp - 0xe8]
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 - 0xe4]
mov dword [esp + 4], 0x415010
mov dword [esp + 0x10], eax
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
movzx eax, byte [0x415010]
mov byte [ebp - 0xd0], al
jmp 0x407caf
movzx ecx, word [edi + 0x54]
mov dword [ebp - 0xcc], edx
lea eax, [ecx + 4]
mov dword [ebp - 0xe0], ecx
imul eax, edx
mov dword [esp], eax
mov eax, dword [ebp - 0xdc]
call eax
mov dword [edi + 0x70], eax
test eax, eax
je 0x4073e5
mov edx, dword [ebp - 0xcc]
mov ebx, dword [ebp - 0xd0]
lea esi, [eax + edx*4]
add ebx, esi
mov dword [edi + 0x74], ebx
test edx, edx
je 0x407a18
mov dword [ebp - 0xcc], esi
mov edx, dword [ebp - 0xe0]
xor ebx, ebx
jmp 0x408c5f
mov eax, dword [edi + 0x70]
movzx edx, word [edi + 0x54]
imul edx, ebx
add edx, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xd4]
mov dword [eax + ebx*4], edx
mov eax, dword [edi + 0x70]
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 0x408c58
jmp 0x407a18
test byte [ebp - 0xe8], 0xe
je 0x408e81
mov edx, ecx
mov eax, 2
test eax, esi
jne 0x408665
jmp 0x408668
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xe0]
call dbg.HLPFILE_UncompressLZ77
jmp 0x407885
xor eax, eax
mov edx, 0xff4
mov word [edi + 0x4c], cx
lea esi, [ebx + 0x15]
mov dword [edi + 0x58], 0
mov word [edi + 0x4e], ax
mov dword [edi + 0x50], 0x10000001
mov word [edi + 0x54], dx
jmp 0x407ded
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x114]
mov edx, dword [edx]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x118]
mov edx, dword [edx + ecx - 4]
mov dword [eax + ecx - 4], edx
mov edx, dword [ebp - 0x114]
add edx, 0x20
and edx, 0xfffffffc
sub eax, edx
mov dword [ebp - 0x114], edx
mov edx, dword [ebp - 0x108]
sub edx, eax
add eax, ecx
and eax, 0xfffffffc
cmp eax, 4
jb 0x40837b
mov dword [ebp - 0x118], ebx
and eax, 0xfffffffc
mov dword [ebp - 0x108], eax
xor eax, eax
mov ebx, dword [edx + eax]
mov ecx, dword [ebp - 0x114]
mov dword [ecx + eax], ebx
add eax, 4
cmp eax, dword [ebp - 0x108]
jb 0x408d69
mov ebx, dword [ebp - 0x118]
jmp 0x40837b
test byte [ebp - 0xd0], 1
je 0x407c80
mov eax, dword [ebp - 0xec]
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 - 0xd0], al
jmp 0x407c80
test byte [0x415010], 4
jne 0x409b0b
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
jmp 0x4073e5
mov eax, dword [ebp - 0xd0]
lea edx, [eax + 0x1c]
jmp 0x40807c
cmp word [ebp - 0xd4], 4
jbe 0x409976
mov edx, eax
mov eax, 2
mov ecx, dword [edx]
test eax, ecx
jne 0x4086e0
jmp 0x4086e3
mov eax, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0xd4], edi
mov eax, dword [eax + 0xc]
lea ecx, [eax + 0x32]
mov edi, ecx
lea esi, [esi]
movzx ecx, byte [eax]
test cl, cl
je 0x408e64
add eax, 1
add edx, 1
mov byte [edx - 1], cl
cmp eax, edi
jne 0x408e50
mov byte [edx], 0
mov edi, dword [ebp - 0xd4]
jmp 0x408821
mov ecx, dword [edx]
test eax, ecx
jne 0x408690
jmp 0x408693
cmp word [ebp - 0xd4], 2
mov edx, ecx
mov eax, 2
ja 0x408e72
cmp word [ebp - 0xec], 0
mov eax, 1
je 0x4086be
mov eax, 2
mov ecx, dword [edx]
test eax, ecx
jne 0x4086bb
jmp 0x4086be
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xe0]
mov esi, 0x11
call dbg.HLPFILE_UncompressedLZ77_Size
mov dword [ebp - 0xec], eax
jmp 0x4077bb
mov dword [ebp - 0xd0], edi
movzx edx, word [edi + 0x4c]
mov esi, 0xffffffff
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xd4], 0xc
jmp 0x409073
mov eax, dword [ebp - 0xd0]
xor edx, edx
movzx ebx, word [eax + 0x54]
mov eax, ecx
div ebx
mov dword [ebp - 0xcc], eax
mov ebx, edx
cmp eax, esi
je 0x408f32
cmp esi, 0xffffffff
je 0x408f32
mov dword [ebp - 0xd4], ecx
sub ebx, 0xc
test byte [0x415010], 8
jne 0x4090a6
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xcc]
cmp dword [eax + 0x78], ecx
jbe 0x4099ec
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xcc]
mov eax, dword [ecx + 0x70]
add ebx, dword [eax + edx*4]
mov edx, dword [ecx + 0x74]
lea eax, [ebx + 0x15]
cmp edx, eax
jbe 0x4099b4
movzx edi, byte [ebx + 3]
movzx eax, byte [ebx + 2]
movzx ecx, byte [ebx]
shl edi, 8
add edi, eax
movzx eax, byte [ebx + 1]
shl edi, 0x10
shl eax, 8
add eax, ecx
movzx eax, ax
add edi, eax
lea eax, [ebx + edi]
cmp edx, eax
cmovbe eax, edx
mov dword [ebp - 0xe0], eax
xor eax, eax
cmp esi, dword [ebp - 0xcc]
cmove eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe4], eax
movzx eax, byte [ebx + 0x14]
cmp al, 2
je 0x409138
jbe 0x4090f0
cmp al, 0x20
je 0x408fd6
cmp al, 0x23
jne 0x4090f8
mov esi, dword [ebp - 0xd0]
mov edi, dword [esi + 0x14]
test edi, edi
je 0x4094d0
lea edx, [ebx + 0x19]
cmp dword [ebp - 0xe0], edx
jb 0x409470
cmp al, 0x20
je 0x4094ac
mov ecx, dword [ebp - 0xe0]
cmp al, 0x23
sete al
sub ecx, ebx
sub ecx, 0xf
test al, al
jne 0x4094ac
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 eax, ecx
mov ecx, eax
cmp dx, 0x10
ja 0x409067
add ecx, dword [ebp - 0xd4]
cmp ecx, 0xffffffff
je 0x4095ed
test eax, eax
je 0x4095ed
mov dword [ebp - 0xd4], ecx
mov esi, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xd4]
lea ecx, [eax - 0xc]
cmp dx, 0x10
jbe 0x408f08
mov eax, ecx
and ecx, 0x3fff
shr eax, 0xe
mov ebx, ecx
mov dword [ebp - 0xcc], eax
test byte [0x415010], 8
je 0x408f3f
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], 0x415010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x408f3f
cmp al, 1
je 0x408fd6
test byte [0x415010], 2
je 0x40901c
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 0x40901c
mov eax, dword [ebp - 0xd0]
cmp word [eax + 0x4c], 0x10
mov eax, dword [ebp - 0xcc]
ja 0x4091d5
mov esi, dword [ebp - 0xd4]
lea eax, [eax + eax*2]
lea eax, [esi + eax*4]
mov dword [ebp - 0xec], 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 - 0xf0], eax
add eax, ebx
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xe0], eax
jae 0x4091e9
mov edi, dword [ebp - 0xd0]
test byte [0x415010], 4
je 0x4073e5
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 0x4073e5
shl eax, 0xf
add eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
jmp 0x409161
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
mov esi, dword [ebp - 0xdc]
movzx eax, ax
add eax, ecx
mov dword [ebp - 0xe8], eax
add eax, 0x2d
mov dword [esp], eax
call esi
mov esi, eax
test eax, eax
je 0x409dbe
lea edx, [eax + 0x2c]
sub edi, dword [ebp - 0xf0]
mov dword [eax], edx
cmp edi, dword [ebp - 0xe8]
jae 0x409567
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 0x5c]
test eax, eax
jne 0x4095c0
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 0x60]
test eax, eax
jne 0x409948
test byte [0x415010], 1
jne 0x409a6e
mov eax, dword [ebp - 0xf4]
mov dword [esp], edx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
call sym._memcpy
mov dword [ebp - 0xe8], edi
mov edx, dword [esi]
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xd0]
mov byte [edx + eax], 0
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x409594
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 - 0xd0]
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 - 0xec]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xd4]
mov dword [esi + 0x14], eax
movzx edx, byte [ebx + 0x1c]
movzx eax, byte [ebx + 0x1b]
movzx ecx, byte [ebx + 0x19]
shl edx, 8
add edx, eax
movzx eax, byte [ebx + 0x1a]
shl edx, 0x10
shl eax, 8
add eax, ecx
movzx eax, ax
lea edi, [edx + 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 - 0xd0]
movzx eax, ax
add eax, edx
cmp word [ecx + 0x4c], 0x10
mov dword [esi + 0x24], eax
ja 0x40938c
mov edx, 0xffffffff
cmp edi, 0xffff
je 0x409377
mov edx, dword [ecx + 0x38]
mov edx, dword [edx + edi*4]
mov dword [esi + 0x20], edx
cmp eax, 0xffff
jne 0x4095ac
mov dword [esi + 0x24], 0xffffffff
test byte [0x415010], 8
jne 0x409508
mov edx, dword [esi]
mov eax, dword [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0xe0], edx
call eax
mov edx, dword [ebp - 0xe0]
lea edi, [edx + eax + 1]
add edx, dword [ebp - 0xe8]
cmp edi, edx
jae 0x40901c
mov dword [ebp - 0xec], ebx
jmp 0x40941b
lea eax, [ebx + 9]
add ebx, 1
mov dword [esp], eax
mov eax, dword [ebp - 0xdc]
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 - 0xe0], ecx
call sym._memcpy
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0xe0]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xe8]
add eax, dword [esi]
mov dword [esi + 4], ecx
cmp edi, eax
jae 0x409465
mov dword [esp], edi
mov eax, dword [ebp - 0xd8]
call eax
mov ebx, eax
test byte [0x415010], 8
je 0x4093d0
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 0x4093d0
mov ebx, dword [ebp - 0xec]
jmp 0x40901c
mov edi, dword [ebp - 0xd0]
test byte [0x415010], 4
je 0x4073e5
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 0x4073e5
lea eax, [ebx + 0x17]
test byte [ebx + 0x15], 1
cmove edx, eax
movzx ecx, byte [edx]
test cl, 1
je 0x4097ee
movzx ecx, word [edx]
shr cx, 1
movzx ecx, cx
jmp 0x409016
mov edi, esi
test byte [0x415010], 4
je 0x4073e5
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 0x4073e5
mov edx, dword [esi + 0x24]
mov eax, dword [esi]
mov edi, dword [esi + 0x20]
mov dword [ebp - 0xe0], edx
call sym._wine_dbgstr_an.constprop.0_1
mov edx, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xec]
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 0x409399
mov eax, dword [ebp - 0xe8]
mov dword [esp], edx
mov dword [ebp - 0xe0], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xf4]
mov dword [esp + 4], eax
call sym._memcpy
mov edx, dword [ebp - 0xe0]
jmp 0x40928d
mov eax, dword [ebp - 0xd0]
mov dword [esi + 0x1c], 0
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
jmp 0x4092b7
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + eax*4]
mov dword [esi + 0x24], eax
jmp 0x40938c
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xe0]
mov dword [esp], edx
add eax, edx
mov edx, dword [ebp - 0xf4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xd0]
call dbg.HLPFILE_Uncompress2
mov edx, dword [esi]
jmp 0x40928d
mov edi, dword [ebp - 0xd0]
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.KWBTREE
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
je 0x40967e
mov esi, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xdc]
sub ebx, esi
mov dword [esp], ebx
call eax
mov dword [edi + 0x24], eax
test eax, eax
je 0x40967e
mov dword [esp + 8], ebx
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, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
jne 0x409a99
test byte [0x415010], 2
jne 0x409d1c
mov eax, dword [edi + 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, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
jne 0x40970e
test byte [0x415010], 4
jne 0x409b6e
cmp word [edi + 0x4c], 0x10
jbe 0x4072cb
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xb4]
mov edx, str.CONTEXT
mov dword [esp], eax
mov eax, edi
call dbg.HLPFILE_FindSubFile
test eax, eax
jne 0x409ad2
test byte [0x415010], 4
je 0x4073e5
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 0x4073e5
mov esi, dword [ebp - 0xb4]
movzx ebx, byte [esi + 0xa]
movzx eax, byte [esi + 9]
shl ebx, 8
add ebx, eax
mov eax, dword [ebp - 0xdc]
movzx ebx, bx
lea edx, [ebx*8]
mov dword [esp], edx
mov dword [ebp - 0xd0], edx
call eax
mov dword [ebp - 0xcc], eax
mov dword [edi + 0x30], eax
test eax, eax
je 0x4096aa
mov dword [edi + 0x2c], ebx
test ebx, ebx
je 0x4096aa
mov edx, dword [ebp - 0xd0]
lea eax, [esi + 0xb]
lea ebx, [eax + edx]
mov edx, 0xfffffff5
sub edx, esi
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xd4], edx
jmp 0x409782
mov esi, dword [edi + 0x30]
mov dword [ebp - 0xcc], esi
movzx edx, byte [eax + 3]
movzx ecx, byte [eax + 2]
mov esi, dword [ebp - 0xd4]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 1]
lea ebx, [esi + eax]
movzx esi, byte [eax]
shl edx, 0x10
add eax, 8
shl ecx, 8
add ecx, esi
movzx ecx, cx
add edx, ecx
mov ecx, dword [ebp - 0xcc]
mov dword [ecx + ebx], edx
movzx edx, byte [eax - 1]
movzx ecx, byte [eax - 2]
movzx esi, byte [eax - 4]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax - 3]
shl edx, 0x10
shl ecx, 8
add ecx, esi
mov esi, dword [edi + 0x30]
movzx ecx, cx
add edx, ecx
mov dword [esi + ebx + 4], edx
cmp eax, dword [ebp - 0xd0]
jne 0x409779
jmp 0x4096aa
shr cl, 1
movzx ecx, cl
jmp 0x4094c8
mov dword [edi + 0xa4], 1
mov dword [edi + 0xa8], 0
test byte [0x415010], 1
je 0x4073e5
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 0x4073e5
mov eax, dword [ebp - 0xe0]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], str.Got_NumFacenames_u__u_NumDesc_u__u_n
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xf0]
mov dword [esp + 8], str.HLPFILE_ReadFont
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe8]
mov dword [esp + 4], 0x415010
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407aaf
cmp word [ebp - 0xd4], 4
jbe 0x409976
mov edx, eax
mov eax, 2
jmp 0x408e23
lea eax, [esi + 6]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
jmp 0x4087de
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 0x4087f5
cmp word [ebp - 0xec], 0
je 0x408e0c
mov edx, eax
mov eax, 2
jmp 0x408eac
mov edi, dword [ebp - 0xf0]
mov ecx, dword [edi + 0x6c]
mov eax, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0xf8]
add eax, 9
cmp dword [ebp - 0xf4], ebx
je 0x409bc0
mov edx, dword [ebp - 0xb0]
call dbg.HLPFILE_UncompressLZ77
mov dword [edi + 0x60], 1
jmp 0x40788c
cmp word [ebp - 0xd4], 2
jbe 0x409b56
mov eax, 2
jmp 0x408e74
mov esi, dword [ecx]
jmp 0x408cb7
mov eax, dword [ebp - 0xe8]
lea ecx, [edx + eax]
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
mov eax, dword [ebp - 0xd0]
call sym._HLPFILE_Uncompress3.isra.0
mov edx, dword [esi]
jmp 0x40928d
mov edx, eax
mov eax, 1
jmp 0x4086e3
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 0x40767d
mov edi, ecx
test byte [0x415010], 4
je 0x4095f3
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 0x4095f3
mov edi, eax
test byte [0x415010], 4
je 0x4095f3
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 0x4095f3
mov dword [edi + 0xa4], 1
mov dword [edi + 0xa8], 0
test byte [0x415010], 1
je 0x4073e5
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 0x4073e5
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 0x40926f
mov esi, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xdc]
sub ebx, esi
mov dword [esp], ebx
call eax
mov dword [edi + 0x28], eax
test eax, eax
je 0x40967e
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
jmp 0x40967e
mov esi, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xdc]
sub ebx, esi
mov dword [esp], ebx
call eax
mov dword [edi + 0x20], eax
test eax, eax
je 0x4073e5
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
jmp 0x4072cb
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 0x408de5
mov dword [esp], 0
mov eax, dword [ebp - 0xdc]
call eax
mov dword [edi + 0x70], eax
test eax, eax
je 0x4073e5
mov dword [edi + 0x74], eax
jmp 0x407a18
cmp word [ebp - 0xec], 0
mov eax, 1
je 0x4086e3
jmp 0x408ea5
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 0x4096aa
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 0x407587
mov esi, dword [ebp - 0xf4]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], esi
call sym._memcpy
jmp 0x40991d
movzx eax, byte [ebx + 0x24]
movzx edx, byte [ebx + 0x23]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0x22]
movzx edx, byte [ebx + 0x21]
shl eax, 8
add eax, edx
movzx eax, ax
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0x20]
movzx edx, byte [ebx + 0x1f]
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 0x1d]
mov ecx, eax
movzx eax, byte [ebx + 0x1e]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add ecx, eax
mov dword [esp + 0x24], ecx
movzx eax, byte [ebx + 0x1c]
movzx edx, byte [ebx + 0x1b]
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 0x19]
mov ecx, eax
movzx eax, byte [ebx + 0x1a]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add ecx, eax
mov dword [esp + 0x20], ecx
movzx eax, byte [ebx + 0x18]
movzx edx, byte [ebx + 0x17]
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 0x15]
mov ecx, eax
movzx eax, byte [ebx + 0x16]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add ecx, eax
mov dword [esp + 0x1c], ecx
movzx eax, byte [ebx + 0x14]
movzx edx, byte [ebx + 0x13]
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 0x11]
mov ecx, eax
movzx eax, byte [ebx + 0x12]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add ecx, eax
mov dword [esp + 0x18], ecx
movzx eax, byte [ebx + 0x10]
movzx edx, byte [ebx + 0xf]
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 0xd]
mov ecx, eax
movzx eax, byte [ebx + 0xe]
shl ecx, 0x10
shl eax, 8
add eax, edx
movzx eax, ax
add ecx, eax
mov dword [esp + 0x14], ecx
movzx eax, byte [ebx + 0xc]
movzx edx, byte [ebx + 0xb]
shl eax, 8
add eax, edx
movzx edx, byte [ebx + 9]
mov ecx, eax
movzx eax, byte [ebx + 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 ecx, eax
mov dword [esp + 0x10], ecx
call sym._wine_dbg_log.constprop.0_1
jmp 0x408499
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 0x409672
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], 0x415010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp - 0xcc]
jmp 0x408529
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 0x118]
movzx eax, word [eax + ecx - 2]
mov word [edx + ecx - 2], ax
mov edx, dword [edi + 0x88]
jmp 0x408381
mov dword [esp], eax
mov ebx, dword [sym.imp.ucrtbase.dll_free]
call ebx
mov dword [esp], esi
call ebx
jmp 0x40788c
mov edi, dword [ebp - 0xd0]
jmp 0x4073e5
mov ecx, edx
jmp 0x408736
mov dword [ebp - 0xcc], eax
mov dword [esp], ebx
mov ebx, dword [sym.imp.ucrtbase.dll_free]
call ebx
mov eax, dword [ebp - 0xcc]
mov dword [esp], eax
call ebx
jmp 0x408409