joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fda8
Capabilities:
Inspect section memory permissions

Disassembly:
or byte [ebx - 0x2cc4e7b3], 0x74
add al, 0x80
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4

Function at 0x42ff5c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
invalid
invalid

Function at 0x430c60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0xc], ecx
push 4
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x10]
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.0042f5eb
add esp, 0xc
movsx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0x400]
sub ecx, eax
mov dword [ebp - 0x400], ecx
invalid
fsubr st(1)

Function at 0x4320d8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403bd0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x432139
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x432139
cmp byte [ebp - 0x102], 0
je 0x432139
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403dfc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4334c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x28], 0
je 0x433549
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4334fa
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43350c
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x433518
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.00433354
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43353d
push ebp
mov eax, dword [ebp - 4]
call fcn.00433438
pop ecx
mov ebx, eax
cmp bl, 2
je 0x433518
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c5e4
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x43c61d
mov eax, dword [0x4c60a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x43c610
push ebx
push 0x43c624
call fcn.00421de8
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x43c644
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0043c5e4
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43c6b6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x43c68a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403d84
jmp 0x43c691
mov eax, ebx
call fcn.00403bd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c6bd
cmp dword [ebp - 8], 0
je 0x43c6ad
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0043c5b8
ret

Function at 0x43c6c4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43c7a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043c5e4
xor edx, edx
push ebp
push 0x43c785
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x43c74e
mov edx, ebx
mov eax, dword [0x417088]
call fcn.0041b570
test al, al
je 0x43c73e
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0041b444
call fcn.0040374c
jmp 0x43c78c
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x43c709
lea edx, [ebp - 8]
mov eax, dword [0x4c5e18]
call fcn.00405510
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x406d64]
call fcn.0040b59c
call fcn.004036ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c78c
mov eax, dword [ebp - 4]
call fcn.0043c5b8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c7a9
lea eax, [ebp - 8]
call fcn.00403bd0
ret

Function at 0x43c7b0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0043c5e4
xor eax, eax
push ebp
push 0x43c808
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c80f
mov eax, dword [ebp - 4]
call fcn.0043c5b8
ret
Function at 0x43c818
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0043c5e4
xor edx, edx
push ebp
push 0x43c86d
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c874
mov eax, dword [ebp - 4]
call fcn.0043c5b8
ret

Function at 0x43c8e4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0043c5e4
xor eax, eax
push ebp
push 0x43c959
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043c59c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041b544
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x43c943
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c960
mov eax, dword [ebp - 4]
call fcn.0043c5b8
ret

Function at 0x43c968
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0043c5e4
xor eax, eax
push ebp
push 0x43c9dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043c59c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x43c9c7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c9e4
mov eax, dword [ebp - 4]
call fcn.0043c5b8
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x79d6f70
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x4a5d16d6
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x1001cf50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100df320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1001cf80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1001cfb0
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1001cfb0
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1001d0ab
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1001cfd9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1001d00d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1001d06c
sub eax, 1
je 0x1001d06c
sub eax, 2
jne 0x1001d0ab
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.1008f7c0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001d08a
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001d0ab
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1001d0ab
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
Function at 0x1008f7c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x1008f7cf
pop dword [ebp - 0x50]
mov eax, 0x1008f7cf
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xc0743dac
sub dword [ebp - 0x60], 0x7221f861
mov dword [ebp - 0x5c], 0x473fca22
sub dword [ebp - 0x5c], 0x150c7ddd
mov dword [ebp - 0x58], 0x326469a
sub dword [ebp - 0x58], 0xb6da026c
mov dword [ebp - 0x54], 0x8aca9cfe
sub dword [ebp - 0x54], 0x8aca9cfe
lea eax, [ebp - 0x60]
push eax
mov eax, 0x9851c193
sub eax, 0x884650b3
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x77032104
sub dword [ebp - 0x60], 0x290b7ae
mov dword [ebp - 0x5c], 0xa290353c
sub dword [ebp - 0x5c], 0x6123d3c7
mov dword [ebp - 0x58], 0xb0358b61
add dword [ebp - 0x58], 0xb339e10b
mov dword [ebp - 0x54], 0xa8ca4248
sub dword [ebp - 0x54], 0xa8ca4248
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x3cb0f2b4
sub eax, 0x2ca58218
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x6115a
push 0
call eax
mov ecx, 0x553b
xor edx, edx
add edx, eax
mov esi, 0x4c4d6921
sub esi, 0x3c3e3521
add esi, dword [ebp - 0x50]
mov ebx, 0x2cac56c9
sub ebx, 0x64cfc151
mov dword [ebp - 0x4c], 0xd4ee261f
mov edi, dword [esi]
xor edi, ebx
sub dword [ebp - 0x28], esi
mov dword [edx], edi
mov dword [ebp - 0x34], 0xc4e1cf42
add edx, 4
add esi, 0x19e2e214
add esi, 0xe61d1df0
loop 0x1008f8e8
add eax, 0xfb9596a8
add eax, 0x46bb117
mov ebx, eax
add eax, 5
mov ecx, 0x5b1017f8
add ecx, 0xb4efe808
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000dbe0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x214
mov eax, dword [0x100180e0]
test eax, eax
je 0x1000dc98
mov dword [esp], ebx
call eax
sub esp, 4
test eax, eax
mov dword [ebx + 8], eax
jns 0x1000dc20
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x1000dc0c
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x1000dccd
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
mov dword [0x100180e0], eax
test eax, eax
jne 0x1000dbfd
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x1000dc0e
Function at 0x405ef4
Capabilities:
Read file via mapping

Disassembly:
push esi
push edi
push 0xffffffffffffffff
push dword [0x44d674]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edi, edi
cmp eax, edi
jne 0x405f86
push dword [0x44d674]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp eax, 1
je 0x405f27
mov dword [0x44d680], 0x138c
jmp 0x405f90
push edi
push edi
push edi
push 4
push dword [0x44d668]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, edi
jne 0x405f4a
mov dword [0x44d680], 0x138f
jmp 0x405f90
mov edi, dword [esi]
lea eax, [esi + 4]
push edi
push eax
push 0x44caa0
call fcn.00435b30
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [0x44d678]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, 1
je 0x405f82
mov dword [0x44d680], 0x138b
jmp 0x405f90
mov eax, edi
jmp 0x405f9c
mov dword [0x44d680], 0x138d
call fcn.00407bc5
call fcn.00406154
xor eax, eax
pop edi
pop esi
ret

Function at 0x41b45a
Capabilities:
Check for software breakpoints

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
xor edi, edi
mov dword [esp + 0x10], esi
test esi, esi
jle 0x41b54f
mov ebx, dword [esp + 0x1c]
mov ebp, 0x100
mov dword [esp + 0x1c], ebx
cmp esi, ebp
jge 0x41b55e
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax]
cmp eax, 7
jg 0x41b4b6
je 0x41b525
cmp eax, 1
je 0x41b525
cmp eax, 2
jle 0x41b53f
cmp eax, 5
jle 0x41b525
jmp 0x41b53f
cmp eax, 0x10
jl 0x41b53f
cmp eax, 0x12
jle 0x41b525
cmp eax, 0x14
je 0x41b525
mov ecx, 0xca
cmp eax, ecx
je 0x41b50d
cmp eax, 0xcc
jne 0x41b53f
push esi
push edi
push 1
push ebx
call fcn.0041b562
add esp, 0x10
cmp eax, 1
jne 0x41b4f0
inc esi
cmp esi, ebp
jge 0x41b55e
push esi
push edi
push 4
push ebx
call fcn.0041b562
add esp, 0x10
cmp eax, 1
jne 0x41b507
inc esi
cmp esi, ebp
jge 0x41b55e
push esi
push edi
push 3
jmp 0x41b52c
push esi
push edi
push ecx
push ebx
call fcn.0041b562
add esp, 0x10
cmp eax, 1
jne 0x41b53f
inc esi
cmp esi, ebp
jge 0x41b55e
jmp 0x41b53f
push esi
push edi
push 0xcc
push ebx
call fcn.0041b562
add esp, 0x10
cmp eax, 1
jne 0x41b53f
inc esi
cmp esi, ebp
jge 0x41b55e
add dword [esp + 0x1c], 0x30
inc edi
cmp edi, dword [esp + 0x10]
jl 0x41b480
mov eax, dword [esp + 0x18]
push 1
mov dword [eax], esi
pop eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor eax, eax
jmp 0x41b558
Function at 0x4317ab
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov eax, dword [0x448d74]
push ebx
push ebp
push esi
push edi
push 1
pop ebp
cmp eax, ebp
je 0x43186e
test eax, eax
je 0x43186e
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, 0x401
push edi
push 0x40
call esi
mov ebx, eax
test ebx, ebx
je 0x43185a
push edi
push 0x40
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, eax
test esi, esi
je 0x431821
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jbe 0x43180f
push esi
push str._shjimesv.ini
push ebx
call fcn.004361b0
add esp, 0xc
jmp 0x43181c
push str..hjimesv.ini
push ebx
call fcn.004361b0
pop ecx
pop ecx
push esi
call edi
jmp 0x43182e
push str..hjimesv.ini
push ebx
call fcn.004361b0
pop ecx
pop ecx
push ebx
push 0
push str.disk_access_disable
push str.HncJapaneseIMEServer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, ebp
jne 0x43184d
mov dword [0x448d74], ebp
jmp 0x431857
test eax, eax
jne 0x431857
and dword [0x448d74], eax
push ebx
call edi
mov eax, dword [0x448d74]
cmp eax, ebp
je 0x43186e
test eax, eax
je 0x43186e
mov eax, ebp
mov dword [0x448d74], eax
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx + 0x54], eax
xor eax, eax
pop ebx
ret

Function at 0x43187c
Capabilities:
Get common file path
Read .ini file

Disassembly:
cmp byte [0x455ff8], 0
push ebx
push ebp
push esi
push edi
jne 0x43192e
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, 0x401
push edi
push 0x40
call esi
mov ebx, eax
mov ebp, 0x448dcc
test ebx, ebx
je 0x431918
push edi
push 0x40
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, eax
test esi, esi
je 0x4318ec
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jbe 0x4318da
push esi
push str._shjimesv.ini
push ebx
call fcn.004361b0
add esp, 0xc
jmp 0x4318e7
push str..hjimesv.ini
push ebx
call fcn.004361b0
pop ecx
pop ecx
push esi
call edi
jmp 0x4318f9
push str..hjimesv.ini
push ebx
call fcn.004361b0
pop ecx
pop ecx
push ebx
push 0x104
push 0x455ff8
push ebp
push str.path
push str.HncJapaneseIMEServer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
call edi
cmp byte [0x455ff8], 0
jne 0x43192e
push ebp
push 0x455ff8
call fcn.00434a30
pop ecx
pop ecx
push 0x455ff8
push dword [esp + 0x18]
call fcn.00434a30
pop ecx
xor eax, eax
pop ecx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x435ee0
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.00435fa0
mov eax, dword [0x458dd0]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x435f04
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x458dcc], 1
mov byte [0x458dc8], bl
jne 0x435f5e
mov ecx, dword [0x459eac]
test ecx, ecx
je 0x435f4c
mov esi, dword [0x459ea8]
sub esi, 4
cmp esi, ecx
jb 0x435f4c
mov eax, dword [esi]
test eax, eax
je 0x435f45
call eax
mov ecx, dword [0x459eac]
sub esi, 4
cmp esi, ecx
jae 0x435f37
push 0x44601c
push 0x446014
call fcn.00435fc0
add esp, 8
push 0x446024
push 0x446020
call fcn.00435fc0
add esp, 8
test ebx, ebx
je 0x435f7d
call fcn.00435fb0
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x458dd0], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x437130
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444218
push 0x43c978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x458da0], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x458d9c], ecx
shl ecx, 8
add ecx, edx
mov dword [0x458d98], ecx
shr eax, 0x10
mov dword [0x458d94], eax
call fcn.0043c930
test eax, eax
jne 0x43719a
push 0x1c
call fcn.00437310
add esp, 4
call fcn.0043af50
test eax, eax
jne 0x4371ad
push 0x10
call fcn.00437310
add esp, 4
mov dword [ebp - 4], 0
call fcn.004393a0
call fcn.0043c050
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x459ea4], eax
call fcn.0043c7d0
mov dword [0x458dd4], eax
test eax, eax
je 0x4371e0
mov eax, dword [0x459ea4]
test eax, eax
jne 0x4371ea
push 0xffffffffffffffff
call fcn.00435ea0
add esp, 4
call fcn.0043c520
call fcn.0043c430
call fcn.00435e70
mov esi, dword [0x459ea4]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x4372c9
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x437231
test al, al
je 0x437231
and eax, 0xff
push eax
call fcn.0043c3d0
add esp, 4
test eax, eax
je 0x43720b
inc esi
mov dword [ebp - 0x64], esi
jmp 0x43720b
cmp byte [esi], 0x22
jne 0x43723a
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x43724a
cmp al, 0x20
ja 0x43724a
inc esi
mov dword [ebp - 0x64], esi
jmp 0x43723a
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x43726b
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x437270
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.00435ea0
jmp 0x4372ae
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x43723a
inc esi
mov dword [ebp - 0x64], esi
jmp 0x4372c9
Function at 0x437310
Capabilities:
Terminate process

Disassembly:
cmp dword [0x458ddc], 1
jne 0x43731e
call fcn.0043ca50
mov eax, dword [esp + 4]
push eax
call fcn.0043ca90
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]