joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410a00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567c26
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x5c8eb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 1
lea ecx, [ebx + 0x160]
mov dword [ebx + 0x154], 1
push eax
call fcn.0040d9c0
lea eax, [ebp + 0x10]
lea ecx, [ebx + 0x164]
push eax
call fcn.0040d9c0
cmp dword [ebx + 0x154], 0
je 0x410b48
mov eax, dword [ebx + 0xac]
add eax, 0x123
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0x5a87b8
push str.LoginText
push str.AutoLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
mov ecx, esp
mov dword [ebp - 0x418], esp
push 0x5a9224
call fcn.0040d7f0
push ecx
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 2
mov ecx, esp
push eax
call fcn.0040d7f0
lea ecx, [ebx + 0x168]
mov byte [ebp - 4], 1
call fcn.00411ee0
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0054d170
mov eax, dword [ebx + 0xac]
add esp, 0x14
add eax, 0x123
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0x5a87b8
push str.PwdText
push str.AutoLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
mov ecx, esp
mov dword [ebp - 0x414], esp
push 0x5a9224
call fcn.0040d7f0
push ecx
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 3
mov ecx, esp
push eax
call fcn.0040d7f0
lea ecx, [ebx + 0x17c]
mov byte [ebp - 4], 1
call fcn.00411ee0
add esp, 8
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 0xc]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x410b6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x410b8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x411a30
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567cf9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c8eb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov esi, dword [edi + 0xb4]
push ecx
mov ecx, esi
mov edx, dword [esi + 4]
mov dword [esi + 0x24], 1
mov dword [esi + 0x26c], 0
mov dword [esi + 0x270], 0
mov eax, dword [edx + 0x80]
mov dword [esi + 0x274], eax
mov eax, dword [edx + 0x84]
add eax, dword [esi + 0x20]
mov dword [esi + 0x278], eax
call fcn.0041fd90
mov dword [esi + 0x24], 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
call fcn.00437f58
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x411ad8
push 0x80004005
call fcn.00401c10
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
push 1
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x411b20
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
push 0x5a7e50
push esi
call fcn.004024d0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x411b40
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567d28
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5c8eb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov edx, 1
mov eax, dword [ebp + 8]
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x411b8b
push 0
lea ecx, [ebp + 8]
call fcn.00402360
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi + 0xac]
add eax, 0x878
push 0x5a7e50
push eax
call fcn.00411da0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x411bd8
mov eax, dword [esi + 0xac]
push 0x80
add eax, 0x123
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esi + 0xac]
lea eax, [ecx + 0x24]
push eax
lea eax, [ecx + 0x123]
push eax
call fcn.00419100
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411bfc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4138f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0x814], 0
je 0x413af9
cmp dword [esi + 0x834], 0
je 0x413af9
mov eax, dword [esi + 0x400]
cmp eax, 0x400
jge 0x413af9
test eax, eax
jle 0x41394c
mov ecx, dword [esi + 0x404]
test ecx, ecx
jle 0x41394c
push eax
lea eax, [ecx + esi]
push eax
push esi
call fcn.0054c2f0
add esp, 0xc
mov dword [esi + 0x404], 0
mov ecx, dword [esi + 0x400]
cmp ecx, 0x400
jge 0x413a7d
movzx eax, word [esi + 0x81c]
dec eax
je 0x413a44
dec eax
je 0x413998
dec eax
jne 0x413a7d
push eax
lea eax, [ebp + 8]
push eax
mov eax, 0x400
sub eax, ecx
push eax
lea eax, [ecx + esi]
push eax
push dword [esi + 0x82c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x413a74
push ebx
lea ebx, [edi + 0x24]
lea esp, [esp]
push 0
lea eax, [ebp - 4]
push eax
push dword [esi + 0x82c]
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov ecx, dword [esi + 0x400]
lea eax, [ebp + 8]
push ebx
push eax
mov eax, 0x400
sub eax, ecx
push eax
lea eax, [ecx + esi]
push eax
push dword [esi + 0x82c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x413a12
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4139f8
push 0x3e8
push dword [edi + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4139ff
xor eax, eax
mov dword [ebp + 8], eax
jmp 0x413a15
push 0
lea eax, [ebp + 8]
push eax
push ebx
push dword [esi + 0x82c]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [ebp + 8]
add dword [esi + 0x400], eax
test eax, eax
je 0x413a2f
cmp dword [esi + 0x400], 0x400
jl 0x4139a0
push 0
lea eax, [ebp - 4]
push eax
push dword [esi + 0x82c]
call dword [sym.imp.KERNEL32.dll_ClearCommError]
pop ebx
jmp 0x413a7d
push 0
mov eax, 0x400
sub eax, ecx
push eax
lea eax, [ecx + esi]
push eax
push dword [esi + 0x824]
mov eax, dword [edi + 0x60]
call eax
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x413a77
mov eax, dword [edi + 0x80]
mov dword [ebp + 8], 0
call eax
mov eax, dword [ebp + 8]
add dword [esi + 0x400], eax
cmp dword [esi + 0x400], 0
jne 0x413af9
movzx eax, word [esi + 0x81c]
dec eax
je 0x413ad4
dec eax
je 0x413ab9
dec eax
jne 0x413aef
push 0x20
push eax
push 0x44
push dword [esi + 0x810]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov dword [esi + 0x834], 0
pop esi
mov esp, ebp
pop ebp
ret 4
mov dword [esi + 0x834], 0
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 4], 0
jne 0x413aef
mov eax, dword [edi + 0x74]
push 0x25
push 0x44
push dword [esi + 0x810]
push dword [esi + 0x824]
call eax
mov dword [esi + 0x834], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x413ee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5c8eb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
mov esi, 1
mov eax, dword [edi + 0x38]
cmp eax, 0xffffffff
jne 0x413f1b
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
cmp dword [edi + 0x3c], 0
jne 0x413f57
mov eax, 0x400
sub eax, dword [ebp - 8]
cmp eax, 1
jge 0x413f57
mov esi, eax
test esi, esi
jg 0x413f57
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
push 0
sbb eax, eax
and dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop edi
pop esi
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret 8
Function at 0x4299f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5c8eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x130], esi
call fcn.004286c0
call fcn.00429740
test eax, eax
je 0x429b2d
mov eax, dword [0x5aa698]
lea edx, [esi + 0x18]
movq xmm0, qword [str.TTPMACRO__D]
mov esi, edx
mov dword [ebp - 0x124], eax
mov al, byte [0x5aa69c]
movq qword [ebp - 0x12c], xmm0
mov byte [ebp - 0x120], al
lea ecx, [ecx]
mov al, byte [edx]
inc edx
test al, al
jne 0x429a50
push edi
lea edi, [ebp - 0x12c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x429a61
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebx, ebx
je 0x429ae3
lea edi, [ebp - 0x12c]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x429a82
mov ax, word [0x5a7f3c]
lea edx, [ebp - 0x12c]
mov word [edi], ax
lea ecx, [edx + 1]
mov edi, edi
mov al, byte [edx]
inc edx
test al, al
jne 0x429aa0
sub edx, ecx
mov esi, ebx
jmp 0x429ab0
mov al, byte [ebx]
inc ebx
test al, al
jne 0x429ab0
lea edi, [ebp - 0x12c]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x429ac0
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x12c]
add ecx, edx
call fcn.004159e0
mov esi, dword [ebp - 0x130]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], eax
test eax, eax
je 0x429b11
lea edi, [ebp - 0x12c]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x429b00
mov eax, dword [0x5aa6a0]
mov dword [edi], eax
push 6
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
cmp eax, 0x20
jae 0x429b2d
mov ecx, esi
call fcn.00429870
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret 8
Function at 0x429be0
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
je 0x429bf3
inc dword [edi + 0x3c]
mov eax, 1
pop edi
ret
push str.TTPFILE.DLL
mov dword [edi + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x54], eax
test eax, eax
jne 0x429c0e
pop edi
ret
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
push 1
push eax
call esi
push 2
push dword [edi + 0x54]
test eax, eax
mov dword [edi + 0x58], eax
mov ecx, 1
cmove ebx, ecx
call esi
test eax, eax
mov dword [edi + 0x5c], eax
push 3
push dword [edi + 0x54]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x60], eax
push 4
push dword [edi + 0x54]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x64], eax
push 5
push dword [edi + 0x54]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x68], eax
push 6
push dword [edi + 0x54]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x6c], eax
push 7
push dword [edi + 0x54]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x70], eax
push 8
push dword [edi + 0x54]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x74], eax
push 9
push dword [edi + 0x54]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x78], eax
push 0xa
push dword [edi + 0x54]
mov eax, 1
cmove ebx, eax
call esi
mov dword [edi + 0x7c], eax
test eax, eax
je 0x429cea
test ebx, ebx
jne 0x429cea
pop esi
lea eax, [ebx + 1]
mov dword [edi + 0x3c], 1
pop ebx
pop edi
ret
push dword [edi + 0x54]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
mov dword [edi + 0x54], 0
xor eax, eax
pop edi
ret

Function at 0x42d530
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5c8eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 8
mov eax, dword [esi + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x5e4], 0
jg 0x42d5d2
cmp byte [esi + 0x4e4], 0
push edi
lea edi, [esi + 0x4e4]
jne 0x42d59a
lea eax, [ebp - 0x104]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push edi
push 0
push 0x5aaa68
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x42d5d1
jmp 0x42d5ad
push 1
push edi
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [esi + 0x5e4], eax
test eax, eax
jg 0x42d5bc
push 0
push edi
call dword [sym.imp.KERNEL32.dll__lcreat]
mov dword [esi + 0x5e4], eax
mov eax, dword [esi + 0x5e4]
test eax, eax
jle 0x42d5d1
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll__llseek]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret
Function at 0x42db80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x42dbda
mov ecx, dword [esi + 0xc]
push ebx
xor ebx, ebx
test ecx, ecx
je 0x42db99
cmp byte [ecx], bl
sete bl
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi + 4]
mov dword [esi + 0xc], 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42dbd2
call dword [sym.imp.USER32.dll_EmptyClipboard]
test ebx, ebx
jne 0x42dbcc
push dword [esi + 8]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esi + 8], 0
pop ebx
pop esi
ret

Function at 0x42dbe0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp dword [eax + 0x115c], 0
je 0x42dced
cmp dword [eax + 0x10], 0
jne 0x42dced
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x1c], 0
push edi
test ebx, ebx
jne 0x42dc36
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call edi
test eax, eax
je 0x42dc23
lea edi, [ebx + 1]
jmp 0x42dc39
push 7
call edi
test eax, eax
je 0x42dceb
mov edi, 7
jmp 0x42dc39
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x30], 0
test ebx, ebx
jne 0x42dc78
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42dc70
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [esi + 0x10], eax
cmp dword [esi + 0x10], 0
je 0x42dcc6
jmp 0x42dcbc
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 0x10], eax
test eax, eax
je 0x42dcc6
push eax
mov dword [esi + 0x30], 1
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esi + 0x14], eax
test eax, eax
je 0x42dcc6
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
call fcn.0054fca0
add esp, 0xc
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esi + 0x14], 0
mov eax, dword [esi + 4]
mov dword [eax + 0x10], 1
mov eax, dword [esi + 4]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
cmp dword [eax + 0x10], 1
je 0x42dceb
mov ecx, esi
call fcn.0042de70
pop edi
pop ebx
pop esi
pop ebp
ret 0x14
Function at 0x42e050
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x42e066
mov eax, 1
pop edi
pop ebp
ret 4
push esi
push str.IMM32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 4], eax
test eax, eax
jne 0x42e0d6
push 0x30
push str.Tera_Term:_Error
push str.Cant_use_IME
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [ebp + 8]
lea eax, [esi + 0xff]
push eax
push 0x5a9a4c
push 0x5aa044
push str.Tera_Term
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
xor eax, eax
push 0x924
mov word [esi + 0x8ca], ax
call fcn.0054b7fe
add esp, 4
test eax, eax
je 0x42e0ce
xor eax, eax
mov word [esi + 0x8ca], ax
pop esi
xor eax, eax
pop edi
pop ebp
ret 4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push str.ImmGetCompositionStringA
push eax
xor ebx, ebx
call esi
push 0x5aac40
push dword [edi + 4]
test eax, eax
mov dword [0x5d4690], eax
mov ecx, 1
cmove ebx, ecx
call esi
test eax, eax
mov dword [0x5d4694], eax
push 0x5aac50
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [0x5d4698], eax
push str.ImmSetCompositionFontA
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [0x5d469c], eax
push str.ImmSetCompositionWindow
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
mov dword [0x5d46a0], eax
test eax, eax
je 0x42e162
test ebx, ebx
jne 0x42e162
lea eax, [ebx + 1]
pop ebx
pop esi
pop edi
pop ebp
ret 4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
pop esi
mov dword [edi + 4], 0
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x42e260
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x5c8eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x42e41b
push str.WSOCK32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 4], eax
test eax, eax
je 0x42e402
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
push 3
push eax
call esi
push 4
push dword [edi + 4]
test eax, eax
mov dword [edi + 8], eax
mov ecx, 1
cmove ebx, ecx
call esi
test eax, eax
mov dword [edi + 0xc], eax
push 8
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x10], eax
push 9
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x14], eax
push 0xa
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x18], eax
push 0xc
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x1c], eax
push 0x10
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x20], eax
push 0x12
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x24], eax
push 0x13
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x28], eax
push 0x15
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x2c], eax
push 0x17
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x30], eax
mov eax, 1
push 0x65
push dword [edi + 4]
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x34], eax
push 0x67
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
cmp dword [edi + 0x34], 0
push 0x6c
push dword [edi + 4]
mov dword [edi + 0x38], eax
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x3c], eax
push 0x6f
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x40], eax
push 0x73
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
test eax, eax
mov dword [edi + 0x44], eax
push 0x74
push dword [edi + 4]
mov eax, 1
cmove ebx, eax
call esi
mov dword [edi + 0x48], eax
test eax, eax
je 0x42e3f2
test ebx, ebx
je 0x42e415
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 4], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret
cmp dword [edi + 4], 0
je 0x42e456
lea eax, [ebp - 0x198]
push eax
mov eax, dword [edi + 0x44]
push 0x101
call eax
test eax, eax
jne 0x42e441
mov eax, dword [ebp - 0x198]
cmp al, 1
jne 0x42e441
shr eax, 8
cmp al, 1
je 0x42e456
mov eax, dword [edi + 0x48]
call eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 4], 0
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [edi + 4], eax
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret
Function at 0x431792
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4317d7
call fcn.0043df1a
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4317d7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4317f3
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043e0b3
mov ebx, eax
test edi, edi
je 0x4317f1
test esi, esi
je 0x4317f1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43adc5
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568471
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.005502f0
mov eax, dword [0x5c8eb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1028], ebx
cmp dword [ecx + 0x58], ebx
je 0x43aef9
push ebx
push eax
call fcn.0043af48
mov ebx, eax
test ebx, ebx
jne 0x43ae2d
push esi
jmp 0x43af21
call fcn.00437f58
push eax
lea ecx, [ebp - 0x1014]
call fcn.00401bb0
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x101c]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1024], eax
test eax, eax
jne 0x43aeb8
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.004023d0
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x101c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x1024], eax
call fcn.0042f13a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1024], 0
jne 0x43aee6
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.00401c40
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00401cf0
jmp 0x43af28
push esi
mov ecx, edi
call fcn.0040d7f0
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x43aedf
test esi, esi
jne 0x43af02
mov esi, 0x5a87b8
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.0040d7f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054a5f8
mov esp, ebp
pop ebp
ret 0x10