joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46df40
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0x218], eax
cmp word [ebp + 8], 0x2469
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, esi
jne 0x46df94
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
call fcn.0046d9c0
mov ecx, dword [esi]
push eax
push 0x239a
push 0x111
push ecx
jmp 0x46e044
push str.JfDictSharedMem
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x46dfd7
push 0
push 0
push 0
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov ecx, 0x82
lea edi, [esp + 0x18]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
lea edi, [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
cmp ax, 0x246b
jne 0x46dff3
push 1
call sym.convertifd.exe_IpWait
lea edx, [esp + 0x20]
push edx
call sym.convertifd.exe_FdOpenAndCompileForm
jmp 0x46e00a
cmp ax, 0x246a
jne 0x46e035
push 1
call sym.convertifd.exe_IpWait
lea eax, [esp + 0x20]
push eax
call sym.convertifd.exe_FdOpenAndPrintForm
push 0
mov esi, eax
call sym.convertifd.exe_IpWait
mov ecx, dword [edi]
add esp, 0xc
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46e04a
mov edx, dword [esp + 0x18]
push esi
push 0x239a
push 0x111
push edx
jmp 0x46e044
mov eax, dword [edi]
push 0
push 0x239a
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00511a80
mov esp, ebp
pop ebp
ret
Function at 0x46eac0
Capabilities:
Read file via mapping

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x14]
push ebp
push edi
call sym.convertifd.exe_PointToEntity
push 0
push 0x6a2d18
mov esi, eax
call sym.convertifd.exe_PointToEntity
mov eax, dword [esi + 0x28]
push 1
push eax
call sym.convertifd.exe_FdOpenDictionary
add esp, 0x18
test eax, eax
jne 0x46eafa
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
push str.JfFifRetrieve
push 0x3d090
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [0x60665c], eax
je 0x46eaf3
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x46eb9e
mov ecx, dword [0x60665c]
push 0
push 0
push 0
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0x3d090
mov ebx, eax
push 0
push ebx
call fcn.00511e90
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46eb55
sub eax, edx
add eax, 1
push esi
push eax
push 0x2398
xor eax, eax
call fcn.0046de70
add esp, 0xc
test eax, eax
jne 0x46eba2
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [0x60665c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
pop esi
mov dword [0x60665c], 0
xor eax, eax
pop ebp
pop ecx
ret
mov ebx, dword [esp + 0x10]
mov byte [ebx + 0x3d08f], 0
mov eax, dword [0x6a2bb0]
push eax
push 0
push 0
push ebx
call sym.convertifd.exe_LoadFIFFromMemory
push ebp
push edi
call sym.convertifd.exe_PointToEntity
push 0
push 0x6a2d18
mov esi, eax
call sym.convertifd.exe_PointToEntity
xor edi, edi
add esp, 0x20
cmp dword [esi + 0x20], edi
mov ebp, eax
jle 0x46ec00
lea ebx, [ebx]
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + edi*4]
test eax, eax
jle 0x46ebf8
mov edx, dword [esp + 0x18]
push edx
push eax
call sym.convertifd.exe_DeleteEntity
add esp, 8
add edi, 1
cmp edi, dword [esi + 0x20]
jl 0x46ebe0
mov eax, dword [esi + 0x24]
push eax
call sym.convertifd.exe_UtFTable
mov ecx, dword [ebp + 0x24]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x20]
xor edi, edi
add esp, 4
xor eax, eax
cmp ecx, edi
mov dword [esi + 0x20], ecx
jle 0x46ec45
mov edx, dword [esi + 0x24]
cmp dword [edx + eax*4], edi
lea ecx, [edx + eax*4]
jle 0x46ec3d
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
mov ecx, dword [ecx]
lea ecx, [edx + ecx*8 + 4]
mov edx, dword [ecx]
neg edx
mov dword [ecx], edx
add eax, 1
cmp eax, dword [esi + 0x20]
jl 0x46ec20
push 0xa
push 0xa
lea eax, [esp + 0x18]
push 4
push eax
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], edi
call sym.convertifd.exe_UtMTable
add esp, 0x10
test eax, eax
jne 0x46ec6c
push 0xfffffffffffffff9
call sym.convertifd.exe_IpMessage
add esp, 4
mov ecx, dword [esp + 0x10]
push ebx
mov dword [ebp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [0x60665c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov dword [0x60665c], edi
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret
Function at 0x46f210
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x46f251
push 0
call sym.convertifd.exe_IsAsianDBCSEnv
add esp, 4
test eax, eax
je 0x46f251
mov eax, dword [esp + 8]
push eax
call sym.convertifd.exe_pFindForAsianDBCSEnv
add esp, 4
test eax, eax
je 0x46f251
mov ecx, dword [eax]
mov edx, dword [esp + 4]
push 0
push ecx
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
ret
Function at 0x46f2f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, 1
call sym.convertifd.exe_LockEntitySegments
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
movzx esi, ax
push 0x11
and esi, 0x8000
call edi
mov ecx, dword [esp + 0x14]
and eax, 0x8000
je case.default.0x46f327
lea edx, [ecx - 0x25]
cmp edx, 3
ja case.default.0x46f327
jmp dword [edx*4 + 0x46f4d0]
push 0x2633
call sym.convertifd.exe_ScrollScreen
add esp, 4
call sym.convertifd.exe_UnlockEntitySegments
pop edi
pop esi
mov eax, ebx
pop ebx
ret
push 0x2632
call sym.convertifd.exe_ScrollScreen
add esp, 4
call sym.convertifd.exe_UnlockEntitySegments
pop edi
pop esi
mov eax, ebx
pop ebx
ret
push 0x2631
call sym.convertifd.exe_ScrollScreen
add esp, 4
call sym.convertifd.exe_UnlockEntitySegments
pop edi
pop esi
mov eax, ebx
pop ebx
ret
push 0x2630
call sym.convertifd.exe_ScrollScreen
add esp, 4
call sym.convertifd.exe_UnlockEntitySegments
pop edi
pop esi
mov eax, ebx
pop ebx
ret
cmp dword [0x6a26a0], 0
je 0x46f416
lea edx, [ecx - 9]
cmp edx, 0x25
ja case.0x46f3aa.10
movzx edx, byte [edx + 0x46f4f0]
jmp dword [edx*4 + 0x46f4e0]
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
push ecx
call sym.convertifd.exe_TextSpecialKey
add esp, 0x10
call sym.convertifd.exe_UnlockEntitySegments
pop edi
pop esi
mov eax, ebx
pop ebx
ret
push 1
mov dword [0x6a29d8], 2
call sym.convertifd.exe_DeleteText
add esp, 4
mov dword [0x6a29d8], 0
call sym.convertifd.exe_UnlockEntitySegments
pop edi
pop esi
mov eax, ebx
pop ebx
ret
cmp dword [0x6a2914], 0
je case.0x46f3aa.10
push esi
call sym.convertifd.exe_TryToTabToNextField
add esp, 4
call sym.convertifd.exe_UnlockEntitySegments
pop edi
pop esi
mov eax, ebx
pop ebx
ret
cmp dword [0x6a2704], 0
je case.0x46f3aa.10
cmp ecx, 9
jne case.0x46f3aa.10
cmp dword [0x6a295c], 0
jne 0x46f402
cmp dword [0x6a2960], 0
jne 0x46f402
cmp dword [0x6a29a8], 0
jne 0x46f402
cmp dword [0x6a29a4], 0
jne 0x46f402
mov eax, dword [0x6a23d0]
test eax, eax
jl 0x46f49a
mov ecx, dword [0x6a23c4]
movsx edx, word [ecx + eax*2]
push edx
call sym.convertifd.exe_ConvertToEntity
push eax
push 0x6a2d18
call sym.convertifd.exe_PointToEntity
mov eax, dword [eax + 0x40]
push eax
push 0x6a2d18
call sym.convertifd.exe_PointToFieldData
add esp, 0x14
test byte [eax + 0x30], 2
jne 0x46f491
test byte [eax + 0x24], 8
je 0x46f49a
push esi
call sym.convertifd.exe_TryToTabToNextField
add esp, 4
mov ecx, dword [0x6a23d0]
push ecx
call sym.convertifd.exe_CV_IsSOSIDoubleByte
add esp, 4
test eax, eax
je case.0x46f3aa.10
push esi
call sym.convertifd.exe_TryToTabToNextField
add esp, 4
call sym.convertifd.exe_UnlockEntitySegments
pop edi
pop esi
mov eax, ebx
pop ebx
ret
xor ebx, ebx
call sym.convertifd.exe_UnlockEntitySegments
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x471330
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, edx
test edi, edi
mov esi, ecx
je 0x47135d
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
sub ebp, dword [esp + 0x10]
sub ebx, dword [esp + 0x14]
jmp 0x471373
test byte [eax + 0xc], 2
mov edi, dword [eax]
mov ebp, dword [eax + 4]
je 0x47136d
mov ebx, dword [eax + 8]
jmp 0x471373
mov ebx, dword [0x60667c]
test esi, esi
je 0x471380
push ebx
call sym.convertifd.exe_ControlSetHeight
add esp, 4
call sym.convertifd.exe_ControlGetOffset
mov edx, dword [esp + 0x24]
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 8
or ecx, 0x14
push ecx
push ebx
push ebp
push eax
push edx
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
neg esi
sbb esi, esi
and esi, 8
push esi
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x471a50
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esp + 8]
cmp eax, 0x26d8
mov ecx, dword [0x5abb80]
jg 0x471c51
je 0x471ba7
cmp eax, 0x2346
jg 0x471ad3
je 0x471aa9
mov ecx, eax
sub ecx, 0x1e16
je case.0x471c67.9977
sub ecx, 0x52e
je 0x471a9a
sub ecx, 1
jne case.0x471c67.9962
mov eax, dword [0x5abb80]
mov dword [0x5abb88], eax
xor eax, eax
jmp 0x471b00
mov eax, dword [0x5abb88]
test eax, eax
jl case.0x471bc4.4
jmp 0x471afc
cmp dword [0x6a2a1c], 0
je case.0x471bc4.4
test ecx, ecx
je 0x471ac4
mov dword [0x5abb84], ecx
xor eax, eax
jmp 0x471b00
mov eax, dword [0x5abb84]
test eax, eax
jl case.0x471bc4.4
jmp 0x471afc
cmp eax, 0x25a9
jg 0x471b97
cmp eax, 0x25a8
jge 0x471b7d
cmp eax, 0x2391
je case.0x471c67.9994
cmp eax, dword [0x606674]
jge case.0x471bc4.4
test eax, eax
jl case.0x471bc4.4
mov edx, eax
shl edx, 4
test byte [edx + 0x606694], 1
jne case.0x471bc4.4
push esi
mov esi, dword [0x5abb80]
cmp eax, esi
je 0x471b7a
push edi
mov dword [0x5abb80], eax
call sym.convertifd.exe_ModelessReload
mov eax, dword [0x5abb80]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
shl eax, 4
mov ecx, dword [eax + 0x606688]
push 8
push ecx
call edi
mov edx, dword [0x5abb80]
shl edx, 4
mov eax, dword [edx + 0x606688]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
shl esi, 4
test byte [esi + 0x606694], 2
je 0x471b6e
mov ecx, dword [esi + 0x606688]
push ecx
call sym.convertifd.exe_ModelessRollToggle
add esp, 4
mov edx, dword [esi + 0x606688]
push 0
push edx
call edi
pop edi
pop esi
pop ecx
ret
mov ecx, dword [0x6a2d00]
mov dword [ecx + 0xe8], 1
mov eax, 3
jmp 0x471b00
cmp eax, 0x25c1
je case.0x471c67.9977
jmp case.0x471c67.9962
lea edx, [esp + 8]
push edx
call sym.convertifd.exe_OneTablePicked
add esp, 4
test eax, eax
jle 0x471bdf
mov eax, dword [esp + 8]
add eax, 0xffffffff
cmp eax, 5
ja case.0x471bc4.4
jmp dword [eax*4 + 0x471c70]
mov eax, 2
jmp 0x471b00
mov eax, 1
jmp 0x471b00
lea eax, [esp]
push eax
call sym.convertifd.exe_OneGroupPicked
add esp, 4
test eax, eax
jle 0x471c3d
mov eax, dword [esp]
test eax, eax
jle 0x471c3d
mov ecx, dword [0x6a2d18]
mov ecx, dword [ecx + eax*8 + 4]
add ecx, 0xffffffff
cmp ecx, 7
ja case.0x471c67.9977
movzx edx, byte [ecx + 0x471c94]
jmp dword [edx*4 + 0x471c88]
push eax
push 0x6a2d18
call sym.convertifd.exe_PointToEntity
mov al, byte [eax + 8]
add esp, 8
test al, al
je case.0x471c67.9967
cmp al, 2
je case.0x471c67.9967
mov eax, 3
jmp 0x471b00
cmp dword [0x6a2a1c], 0
je case.0x471bc4.4
xor eax, eax
jmp 0x471b00
lea ecx, [eax - 0x26e9]
cmp ecx, 0x26
ja case.0x471c67.9962
movzx ecx, byte [ecx + 0x471cb0]
jmp dword [ecx*4 + 0x471c9c]
Function at 0x471cf0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
shl edi, 4
mov ecx, dword [edi + 0x606688]
lea eax, [esp + 0x10]
lea ebx, [edi + 0x606688]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebx]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
call ebp
mov esi, dword [ebx]
push 0
call fcn.00471830
mov eax, dword [0x6a1434]
mov ecx, dword [ebx]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [0x5abb80]
and dword [edi + 0x606694], 0xfffffffe
test eax, eax
jl 0x471d65
shl eax, 4
test byte [eax + 0x606694], 1
jne 0x471d65
mov edx, dword [eax + 0x606688]
push 0
push edx
call ebp
mov edx, dword [0x606670]
mov eax, dword [esp + 0x24]
xor ecx, ecx
cmp dword [esp + 0x28], ecx
mov dword [0x5abb80], eax
sete cl
push edx
mov eax, ebx
xor edx, edx
call fcn.00471330
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x471df0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
mov ecx, dword [0x606674]
push ebx
mov ebx, 1
push edi
mov edi, ebx
jne 0x471e09
lea edi, [ecx - 1]
mov edx, dword [0x5abb80]
test edx, edx
jl 0x471ebb
mov eax, edx
shl eax, 4
test byte [eax + 0x606694], bl
jne 0x471e3f
mov eax, dword [eax + 0x606688]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x606674]
mov edx, dword [0x5abb80]
push esi
xor esi, esi
test ecx, ecx
jle 0x471e65
lea eax, [edx + edi]
cdq
idiv ecx
mov eax, edx
shl eax, 4
test byte [eax + 0x606694], bl
je 0x471e5f
add esi, ebx
cmp esi, ecx
jl 0x471e46
mov dword [0x5abb80], edx
mov eax, edx
shl eax, 4
test byte [eax + 0x606694], bl
pop esi
jne 0x471e98
test byte [eax + 0x606694], 2
je 0x471e84
mov eax, dword [eax + 0x606690]
jmp 0x471e89
mov eax, dword [0x60667c]
push eax
call sym.convertifd.exe_ControlSetHeight
mov edx, dword [0x5abb80]
add esp, 4
push 0x53
push 0
push 0
push 0
push 0
shl edx, 4
mov ecx, dword [edx + 0x606688]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop ebx
jmp sym.convertifd.exe_UpdateModeless
pop edi
pop ebx
ret
Function at 0x471ec0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, eax
shl edi, 4
mov eax, dword [edi + 0x606688]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test byte [edi + 0x606694], 2
je 0x471eec
mov ebx, dword [edi + 0x606690]
jmp 0x471ef2
mov ebx, dword [0x60667c]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 6
call esi
push 5
lea ebx, [ebx + eax*2]
call esi
mov ecx, dword [edi + 0x60668c]
mov esi, dword [edi + 0x606688]
push 1
lea ebp, [ecx + eax*2]
call fcn.00471830
mov edx, dword [sym.convertifd.exe_i_window]
mov eax, dword [edi + 0x606688]
add esp, 4
push edx
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [sym.convertifd.exe_i_window]
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x606688]
push 0x14
push ebx
push ebp
push edx
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [edi + 0x606688]
push 0x2452
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x471faf
mov eax, dword [edi + 0x606688]
push 0
push 0x2452
push eax
call sym.convertifd.exe_MbSetState
add esp, 0xc
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 8
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x606694]
mov ecx, dword [edi + 0x606688]
mov esi, eax
push 8
or eax, 1
push ecx
and esi, 1
mov dword [edi + 0x606694], eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0x1c], 0
jne 0x471fe7
test esi, esi
jne 0x471fe7
push 1
call sym.convertifd.exe_SelectNextModeless
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x472470
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
call sym.convertifd.exe_MDragInitialize
call sym.convertifd.exe_ControlGetOffset
push sym.convertifd.exe_MControlDlgProc
lea esi, [esp + 0x14]
mov ebx, eax
mov edi, str.CONTROL
call fcn.00471540
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 4
push 8
push eax
mov dword [0x606680], eax
call ebp
mov ecx, dword [0x606680]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
call sym.convertifd.exe_ControlGetOffset
add eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push sym.convertifd.exe_MPositionDlg
mov esi, 0x606688
or ebx, 0xffffffff
mov edi, str.MPOSITION
mov dword [0x606670], eax
mov dword [0x60667c], edx
call fcn.00471540
push sym.convertifd.exe_MFontDlg
mov esi, 0x606698
or ebx, ebx
mov edi, str.MFONT
call fcn.00471540
push sym.convertifd.exe_MGraphicsDlg
mov esi, 0x6066a8
or ebx, 0xffffffff
mov edi, str.MGRAPHICS
call fcn.00471540
add esp, 0xc
cmp dword [0x6a29f8], 0
jne 0x47256f
push sym.convertifd.exe_MFieldDlg
mov esi, 0x6066b8
or ebx, ebx
mov edi, str.MFIELDNAME
call fcn.00471540
add esp, 4
cmp dword [0x6a29f4], 0
je 0x472568
push sym.convertifd.exe_MDictionaryDlg
mov esi, 0x6066c8
or ebx, 0xffffffff
mov edi, str.MDICTIONARY
call fcn.00471540
add esp, 4
lea ecx, [ebx + 6]
jmp 0x472574
mov ecx, 4
jmp 0x472574
mov ecx, 3
xor eax, eax
test ecx, ecx
mov dword [0x606674], ecx
jle 0x472597
mov edx, 0x60668c
mov esi, ecx
mov ecx, dword [edx]
cmp ecx, eax
jle 0x47258f
mov eax, ecx
add edx, 0x10
sub esi, 1
jne 0x472587
mov ecx, dword [0x606670]
lea ebx, [ecx + eax]
push sym.convertifd.exe_MPageDlg
lea esi, [esp + 0x14]
mov edi, str.MPAGE
call fcn.00471540
mov eax, dword [esp + 0x14]
add esp, 4
push 8
push eax
mov dword [0x606678], eax
call ebp
call fcn.00472180
mov ecx, dword [0x606674]
pop edi
pop esi
xor eax, eax
test ecx, ecx
pop ebp
pop ebx
jle 0x4725ef
mov edx, 0x606694
mov edi, edi
test byte [edx], 1
je 0x4725fe
add eax, 1
add edx, 0x10
cmp eax, ecx
jl 0x4725e0
mov edx, dword [0x60667c]
push edx
call sym.convertifd.exe_ControlSetHeight
add esp, 4
call sym.convertifd.exe_ModelessReload
mov ecx, dword [0x606674]
lea eax, [ecx - 1]
cdq
idiv ecx
push 1
mov dword [0x5abb80], edx
call sym.convertifd.exe_SelectNextModeless
add esp, 0x24
ret
Function at 0x476ed0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x124
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x128]
push ebp
push ecx
lea edx, [esp + 0x24]
push edx
push 0x581ee8
xor ebp, ebp
push eax
mov dword [esp + 0x18], ebp
call sym.convertifd.exe_FindLogoFile
add esp, 0x10
test eax, eax
je 0x477098
push ebx
lea eax, [esp + 0x24]
push 0x581e84
push eax
call fcn.00515a07
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x477097
push ebx
push 1
lea ecx, [esp + 0x20]
push 0xc
push ecx
call fcn.00515cb6
add esp, 0x10
cmp eax, 1
jne 0x47708e
mov edx, dword [esp + 0x18]
push esi
push edi
mov edi, str.iLg
lea esi, [esp + 0x18]
mov ecx, 5
xor eax, eax
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], 0
repe cmpsb byte [esi], byte es:[edi]
jne 0x47708c
movsx eax, word [esp + 0x28]
add eax, 7
cdq
and edx, 7
add eax, edx
mov ebp, eax
sar ebp, 3
lea eax, [ebp + 1]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, esi
push esi
call sym.convertifd.exe_IpMalloc
mov edi, eax
add esp, 4
test edi, edi
jne 0x476fa7
push 0xfffffffffffffff9
call sym.convertifd.exe_IpMessage
jmp 0x477085
push esi
push 0
push edi
call fcn.00511e90
movsx ecx, word [esp + 0x36]
movsx eax, word [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x14c]
call fcn.004758b0
add esp, 0x10
test eax, eax
je 0x47707f
cmp word [esp + 0x2a], 0
mov dword [esp + 0x10], 0
jle 0x477016
push ebx
push 1
push ebp
push edi
call fcn.00515cb6
add esp, 0x10
cmp eax, 1
jne 0x477047
movsx ecx, word [esp + 0x10]
push edi
xor eax, eax
call fcn.004761b0
mov eax, dword [esp + 0x14]
add eax, 1
add esp, 4
cmp ax, word [esp + 0x2a]
mov dword [esp + 0x10], eax
jl 0x476fe2
mov edx, dword [0x606770]
add edx, 0xffffffff
call fcn.00475960
push ebx
push 1
lea eax, [esp + 0x18]
push 2
push eax
call fcn.00515cb6
add esp, 0x10
cmp eax, 1
jne 0x47705b
movsx eax, word [esp + 0x10]
mov dword [0x606774], eax
jmp 0x477060
lea edx, [esp + 0x2c]
push edx
push 0xfffff828
call sym.convertifd.exe_DisplayLogoErrorMessage
add esp, 8
jmp 0x47707f
mov eax, dword [0x606774]
cmp eax, 1
jl 0x47706c
cmp eax, 0x7d0
jle 0x477076
mov dword [0x606774], 0x12c
call fcn.004759a0
mov dword [esp + 0x14], eax
push edi
call sym.convertifd.exe_IpFree
mov ebp, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
push ebx
call fcn.005158c7
add esp, 4
pop ebx
mov ecx, dword [esp + 0x124]
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.00511a80
add esp, 0x124
ret
Function at 0x477220
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
push edi
push eax
push 1
lea ecx, [esp + 0x16]
push 1
xor ebp, ebp
push ecx
mov edi, esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], 1
mov bl, 1
call fcn.00515cb6
add esp, 0x10
cmp eax, 1
jne 0x47733c
mov al, byte [esp + 0xe]
mov dl, al
and dl, 0xc0
cmp dl, 0xc0
jne 0x47728c
and al, 0x3f
mov bl, al
mov eax, dword [esp + 0x20]
push eax
push 1
lea ecx, [esp + 0x16]
push 1
push ecx
call fcn.00515cb6
add esp, 0x10
cmp eax, 1
jne 0x47733c
mov al, byte [esp + 0xe]
movzx ebx, bl
test ebx, ebx
mov byte [esp + 0xf], al
mov dword [esp + 0x18], 0
jle 0x47731b
nop
mov edx, dword [esp + 0x10]
cmp edx, 1
mov cl, al
not cl
jne 0x4772b1
mov byte [edi], cl
jmp 0x4772b3
or byte [edi], cl
mov ecx, dword [esp + 0x14]
add ecx, 1
add edi, 1
cmp ecx, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
jl 0x47730c
add edx, 1
cmp edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
jle 0x477302
mov dl, byte [esp + 0x30]
mov eax, dword [esp + 0x2c]
and byte [eax + esi - 1], dl
push esi
xor eax, eax
mov ecx, ebp
call fcn.004761b0
add ebp, 1
add esp, 4
cmp ebp, dword [esp + 0x34]
mov dword [esp + 0x10], 1
jge 0x477355
mov al, byte [esp + 0xf]
mov edi, esi
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x18]
add ecx, 1
cmp ecx, ebx
mov dword [esp + 0x18], ecx
jl 0x4772a0
mov eax, dword [esp + 0x20]
push eax
push 1
lea ecx, [esp + 0x16]
push 1
push ecx
mov bl, 1
call fcn.00515cb6
add esp, 0x10
cmp eax, 1
je 0x477257
mov dl, byte [esp + 0x30]
mov eax, dword [esp + 0x2c]
and byte [eax + esi - 1], dl
push esi
xor eax, eax
mov ecx, ebp
call fcn.004761b0
add esp, 4
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x477360
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x190
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x194]
push edi
push ecx
lea edx, [esp + 0x90]
push edx
push 0x581ea4
xor edi, edi
push eax
mov dword [esp + 0x14], edi
call sym.convertifd.exe_FindLogoFile
add esp, 0x10
test eax, eax
je 0x4774df
push esi
lea eax, [esp + 0x90]
push 0x581e84
push eax
call fcn.00515a07
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0xc], esi
je 0x4774de
push esi
push 1
lea ecx, [esp + 0x18]
push 0x80
push ecx
call fcn.00515cb6
add esp, 0x10
cmp eax, 1
jne 0x4774d5
movsx eax, word [esp + 0x1c]
cmp eax, 1
mov dword [0x606774], eax
jl 0x4773f9
cmp eax, 0x7d0
jle 0x477403
mov dword [0x606774], 0x12c
movsx eax, word [esp + 0x14]
movsx edi, word [esp + 0x18]
movsx edx, word [esp + 0x16]
sub edi, eax
movsx eax, word [esp + 0x52]
push ebx
movsx ebx, word [esp + 0x1e]
add eax, 1
sub ebx, edx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push ebp
add esi, esi
push esi
add ebx, 1
add edi, 1
call sym.convertifd.exe_IpMalloc
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x47744c
push 0xfffffffffffffff9
call sym.convertifd.exe_IpMessage
jmp 0x4774c8
push esi
push 0
push ebp
call fcn.00511e90
mov ecx, dword [esp + 0x1b4]
push ebx
mov eax, edi
call fcn.004758b0
add esp, 0x10
test eax, eax
je 0x4774c2
mov ecx, edi
and ecx, reloc.JFTIFF32.dll_Ordinal_7
push ebx
jns 0x47747b
dec ecx
or ecx, 0xfffffff8
inc ecx
movzx edx, byte [ecx + 0x5abc50]
movsx ecx, word [esp + 0x5e]
push edx
lea eax, [edi + 7]
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 3
push eax
movzx eax, byte [esp + 0x65]
push eax
push ecx
push edx
mov esi, ebp
call fcn.00477220
mov edx, dword [0x606770]
add esp, 0x18
add edx, 0xffffffff
call fcn.00475960
call fcn.004759a0
mov dword [esp + 0x10], eax
push ebp
call sym.convertifd.exe_IpFree
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add esp, 4
pop ebp
pop ebx
push esi
call fcn.005158c7
add esp, 4
pop esi
mov ecx, dword [esp + 0x190]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00511a80
add esp, 0x190
ret