joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ba07
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x47f320]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46ba4d
cmp word [ebx], dx
jne 0x46ba4d
or byte [eax + edi + 0x28], 4
jmp 0x46ba52
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x46bbb5
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x46bb95
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x46ba93
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x46bac9
cmp eax, edx
jae 0x46bad7
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x46ba6e
jmp 0x46bbb5
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46bb90
cmp dword [ebp - 0x18], 0
je 0x46bb90
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x47f320]
test byte [eax + edi + 0x28], 0x48
je 0x46bb66
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x46bb2a
mov word [esi], cx
jmp 0x46bb61
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x47f320]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x47f320]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x47f320]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x46bbb5
pop eax
cmp word [ebp - 4], ax
jne 0x46bb76
cmp esi, ebx
jne 0x46bb76
mov word [esi], ax
jmp 0x46bbb2
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0046bd5b
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x46bbb5
push 0xd
pop eax
jmp 0x46bb71
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x47f320]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x46bbaf
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x46bbb5
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x46f0d8
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0046f26f
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x46f247
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x46f247
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x46f1fc
jg 0x46f134
test eax, eax
je 0x46f1f2
push 1
push 0x1000
call fcn.0046884d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x46f157
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x46f1e9
push 0x8000
push ebx
call fcn.00464900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x46f180
jg 0x46f17b
cmp ecx, 0x1000
jb 0x46f180
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0046c88d
add esp, 0x10
cmp eax, 0xffffffff
je 0x46f1c5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x46f17b
jl 0x46f1ac
test ecx, ecx
jne 0x46f16d
push dword [ebp - 0xc]
push ebx
call fcn.00464900
push esi
call fcn.00468111
add esp, 0xc
xor ebx, ebx
jmp 0x46f255
cmp byte [edi + 0x24], 0
je 0x46f1dc
cmp dword [edi + 0x20], 5
jne 0x46f1dc
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x46f1e7
mov ebx, dword [edi + 0x18]
jmp 0x46f1e9
xor ebx, ebx
push esi
call fcn.00468111
pop ecx
jmp 0x46f255
test ecx, ecx
jg 0x46f1be
jl 0x46f1fc
test eax, eax
jae 0x46f1be
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0046bd5b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x46f21c
cmp byte [edi + 0x1c], 0
je 0x46f1be
jmp 0x46f24d
push ebx
call fcn.0046a69a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x46f1be
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x46f255
cmp byte [edi + 0x1c], 0
je 0x46f252
mov ebx, dword [edi + 0x18]
jmp 0x46f255
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0046bd5b
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4017c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x404004]
jne 0x4017ce
repz ret
jmp fcn.00401b99

Function at 0x401000
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x9e200c
push eax
push dword fs:[0]
and byte [esi - 0x9bb000], bl
xor eax, 0
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
adc ebx, dword [edi - 0x54]
xchg ebx, eax
neg dl
push cs
dec ecx
mov eax, 0x7fb97088
add ah, ah
aam 0xeb
jp 0x40109d
mov byte [eax - 0x47], dh
jg 0x401033
in al, 0xd4
jmp 0x4010af
test eax, 0xcf33638c
adc ch, bl
js 0x400fd0
sbb ch, ah
daa
stosd dword es:[edi], eax
mov dword [0x540fb128], eax
xchg edi, eax
inc ecx
and dword [esi + esi*8 - 0x78], ebp
rcr byte [eax - 0x2e], 0xa4
sti
push ss
scasd eax, dword es:[edi]
jne 0x40108b
jl 0x40102c
salc
pushal
jbe 0x401085
daa
xchg esp, eax
lcall 0xa4e8, 0x1020bb2d
push eax
in eax, dx
xor bl, ah
sti
bnd jg 0x401002
popal
lea ebp, [edx - 0x70bb56c6]
push ds
pop ss
cmp dword [eax + ebx*8 + 0x46], eax
and byte [eax - 0x702274c0], al
pop eax
test al, 0xc5
fisttp qword [edi + 0x3dc5a858]
lahf
mov ah, 0xc2
sub ecx, dword [0x6e1df55c]
cmp eax, 0x2bc2b49f
or eax, 0x6e1df55c
pop esp
cmc
sbb eax, 0x97530b6e
or edx, dword [ebx - 0x69]
in al, 0x34
sub dword [ebx], esp
jge 0x401055
ja 0x4010fe
fld xword [esi - 7]
or al, 0xb7
dec edx
mov ch, 0xfc
outsd dx, dword [esi]
jns 0x4010cd
fcom qword [eax - 0x69d98623]
retf 0x41f8
and ecx, eax
hlt
int1
push 0xffffffffffffffb7
dec edx
mul dword [esi - 0x69]
invalid
push edx
inc edi
aas
int1
lds esi, [eax - 0x386d9885]
out 0xf1, eax
xchg edx, eax
cmp al, 0x61
sahf
jmp 0xb6298785
Function at 0x401110
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0x4c5bfc
lea eax, [esp + 4]
push str.map1.cs3
push eax
call fcn.0048d006
add esp, 0xc
test eax, eax
je 0x401145
push str._For_Xtrap__Failed_to_open_XTrap_map1_file__
push 0x2000000
call fcn.00434400
add esp, 8
mov eax, 1
pop ecx
ret
mov ecx, dword [esp]
push ecx
push 1
push 0x32c8
push 0x4e34c0
call fcn.0048d312
mov edx, dword [esp + 0x10]
push edx
call fcn.0048d459
add esp, 0x14
push 0x4c5bfc
lea eax, [esp + 4]
push str.map2.cs3
push eax
call fcn.0048d006
add esp, 0xc
test eax, eax
je 0x40119b
push str._For_Xtrap__Failed_to_open_XTrap_map2_file__
push 0x2000000
call fcn.00434400
add esp, 8
mov eax, 1
pop ecx
ret
mov ecx, dword [esp]
push ecx
push 1
push 0x32c8
push 0x4e6788
call fcn.0048d312
mov edx, dword [esp + 0x10]
push edx
call fcn.0048d459
add esp, 0x14
call fcn.0040de70
test eax, eax
je 0x4011df
push str._For_Xtrap__Failed_to_XTrap_Load_DLL__
push 0x2000000
call fcn.00434400
add esp, 8
mov eax, 1
pop ecx
ret
push 0
push 0x4e34c0
push 2
push 0x258
call dword [0x4e9ab4]
add esp, 0x10
test eax, eax
jne 0x40113e
push 0xfffffc3
call dword [0x4e9abc]
add esp, 4
pop ecx
ret

Function at 0x404820
Capabilities:
Check for time delay via gettickcount

Disassembly:
test esi, esi
jne 0x404827
xor eax, eax
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x188]
cmp eax, 0x2bf20
jbe 0x40484c
call edi
mov dword [esi + 0x188], eax
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x40de70
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x18
mov eax, dword [0x4df210]
xor eax, esp
mov dword [esp + 0x14], eax
mov edx, dword [0x4c6aa8]
mov eax, dword [str.XTrap4Server.Dll]
mov ecx, dword [0x4c6aa4]
mov dword [esp + 8], edx
mov dword [esp], eax
mov eax, dword [0x4c6aac]
mov dword [esp + 4], ecx
mov cl, byte [0x4c6ab0]
lea edx, [esp]
push edx
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], cl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4e9ae8], eax
jne 0x40deda
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x10000000
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0048cf20
add esp, 0x18
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XTrap_S_Start
push eax
call esi
mov dword [0x4e9ab4], eax
mov eax, dword [0x4e9ae8]
push str.XTrap_S_SessionInit
push eax
call esi
mov ecx, dword [0x4e9ae8]
push str.XTrap_S_SetActiveCode
push ecx
mov dword [0x4e9ab8], eax
call esi
mov edx, dword [0x4e9ae8]
push str.XTrap_CS_Step1
push edx
mov dword [0x4e9abc], eax
call esi
mov dword [0x4e9ac0], eax
mov eax, dword [0x4e9ae8]
push str.XTrap_CS_Step3
push eax
call esi
mov ecx, dword [0x4e9ae8]
push str.XTrap_S_SessionReset
push ecx
mov dword [0x4e9ac4], eax
call esi
mov edx, dword [0x4e9ae8]
push str.XTrap_S_SetModuleOn
push edx
mov dword [0x4e9ac8], eax
call esi
mov dword [0x4e9acc], eax
mov eax, dword [0x4e9ae8]
push str.XTrap_S_SetModuleOff
push eax
call esi
mov ecx, dword [0x4e9ae8]
push str.XTrap_S_SetOption
push ecx
mov dword [0x4e9ad0], eax
call esi
mov edx, dword [0x4e9ae8]
push str.XTrap_S_SaveLog
push edx
mov dword [0x4e9ad4], eax
call esi
mov dword [0x4e9ad8], eax
mov eax, dword [0x4e9ae8]
push str.XTrap_CS_Loading
push eax
call esi
mov ecx, dword [0x4e9ae8]
push str.XTrap_S_SendGamePacket
push ecx
mov dword [0x4e9adc], eax
call esi
mov edx, dword [0x4e9ae8]
push str.XTrap_S_RecvGamePacket
push edx
mov dword [0x4e9ae0], eax
call esi
cmp dword [0x4e9ab4], 0
mov dword [0x4e9ae4], eax
pop esi
je 0x40e03e
cmp dword [0x4e9ab8], 0
je 0x40e03e
cmp dword [0x4e9ac0], 0
je 0x40e03e
cmp dword [0x4e9ac4], 0
je 0x40e03e
cmp dword [0x4e9ac8], 0
je 0x40e03e
cmp dword [0x4e9acc], 0
je 0x40e03e
cmp dword [0x4e9ad0], 0
je 0x40e03e
cmp dword [0x4e9ad4], 0
je 0x40e03e
cmp dword [0x4e9adc], 0
je 0x40e03e
cmp dword [0x4e9ae0], 0
je 0x40e03e
test eax, eax
je 0x40e03e
xor eax, eax
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0048cf20
add esp, 0x18
ret
mov ecx, dword [esp + 0x14]
xor ecx, esp
mov eax, 0x20000000
call fcn.0048cf20
add esp, 0x18
ret
Function at 0x413420
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x138
mov eax, dword [0x4df210]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x413471
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0048cf20
add esp, 0x138
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ebx, ebx
lea esp, [esp]
call edi
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x4134a8
test ecx, ecx
je 0x4134a8
lea ecx, [esp + 0x34]
push str.AgentServer
push ecx
call fcn.0048dc20
lea edx, [esp + 0x3c]
add esp, 8
cmp eax, edx
je 0x4134b9
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x413480
jmp 0x4134bd
mov ebx, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0048cf20
add esp, 0x138
ret
Function at 0x431840
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0x40054]
mov esi, dword [eax]
lea ebx, [ebp + 0x40050]
mov edi, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
test edi, edi
mov eax, ebx
mov ecx, dword [eax + 4]
je 0x4318e9
cmp edi, eax
jne 0x4318e9
cmp esi, ecx
je 0x4318ee
cmp esi, dword [edi + 4]
je 0x4318e4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
jb 0x4318d1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
cmp esi, dword [edi + 4]
je 0x4318e4
movzx ecx, byte [esi + 0xc]
mov edx, dword [esi + 0x18]
push ecx
mov ecx, ebp
call edx
test al, al
jne 0x4318d1
lea edx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
call fcn.004336f0
push esi
push edi
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00432860
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
jmp 0x43185f
lea edx, [esp + 0x10]
call fcn.004336f0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x431867
call fcn.004335b0
call fcn.00433620
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x436130
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4e9b54]
test eax, eax
je 0x436179
mov eax, dword [eax + 0xbc]
mov dword [0x4e9b34], eax
call fcn.004360e0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea ecx, [esp]
push ecx
push 0
push 0
push 0x436270
push 0
push 0
mov dword [0x4e9b3c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4e9b38], eax
pop ecx
ret
Function at 0x43bc10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 1
mov ebx, ecx
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [ebx + 0xa0]
mov edi, dword [ecx]
lea eax, [ebx + 0x9c]
mov edx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
jmp 0x43bc54
mov edi, dword [esp + 0x14]
lea ecx, [ebx + 0x9c]
cmp eax, ecx
jne 0x43bdca
cmp edi, dword [esp + 0x2c]
je 0x43bdd4
test eax, eax
je 0x43bdca
cmp edi, dword [eax + 4]
je 0x43bdcf
mov eax, dword [edi + 0x10]
movzx ecx, word [eax + 4]
push ecx
mov eax, ebx
call fcn.0043bde0
mov edx, dword [edi + 0x10]
mov esi, eax
movzx eax, word [edx + 6]
push eax
mov eax, ebx
call fcn.0043bde0
test esi, esi
mov edi, eax
je 0x43bdb5
test edi, edi
je 0x43bdb5
mov eax, dword [esi + 8]
add eax, dword [esi]
lea ebx, [esp + 0x30]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
mov esi, dword [esp + 0xc]
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
push eax
push ecx
call fcn.0043c470
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 8]
add eax, dword [edi]
mov dword [esp + 0x1c], edx
cdq
sub eax, edx
mov dword [esp + 0x18], ecx
mov ecx, eax
mov eax, dword [edi + 0xc]
add eax, dword [edi + 4]
sar ecx, 1
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
lea ebx, [esp + 0x40]
call fcn.0043c470
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [edx + 9]
lea ebx, [eax + eax*2]
mov eax, dword [esp + 0x18]
add eax, ecx
cdq
sub eax, edx
mov edi, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esi + ecx]
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], esi
mov esi, eax
sar edi, 1
sar esi, 1
cmp byte [edx + 0xbb], 0
lea ebx, [ebx*4 + 0x4e1e30]
je 0x43bd88
mov eax, dword [ebx]
mov ecx, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
cmp byte [eax + 8], 0
je 0x43bd71
mov eax, dword [eax]
push eax
push str._02dP
jmp 0x43bd79
mov ecx, dword [eax]
push ecx
push str._02d
push 0
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.00456600
add esp, 0x14
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
mov ecx, dword [ebx + 8]
call fcn.00456a60
mov ebx, dword [esp + 0x24]
add esp, 0x18
lea edx, [esp + 0x10]
call fcn.0043edd0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x43bc50
call fcn.0043ec40
call fcn.0043ebd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44deb0
Capabilities:
Access the windows event log

Disassembly:
mov ecx, dword [esp + 4]
mov eax, ecx
shr eax, 0x18
sub eax, 0
je 0x44ded6
sub eax, 1
je 0x44decf
sub eax, 1
jne 0x44ded6
mov eax, 1
jmp 0x44dedb
mov eax, 2
jmp 0x44dedb
mov eax, 4
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 1
push 0
push ecx
push 0
push eax
mov eax, dword [0x4e9b60]
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
xor eax, eax
ret

Function at 0x44f8c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4b75bb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4df210]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x44f954
push 8
call fcn.0048d4ee
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0
test esi, esi
je 0x44f913
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], edi
jmp 0x44f915
xor esi, esi
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [edi]
cmp dword [eax], 0xc00000fd
jne 0x44f96d
push 0
push 0
push esi
push fcn.0044f2a0
push 0x19000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44f954
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
push esi
call fcn.0044f2a0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x450a50
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x504
mov eax, dword [0x4df210]
xor eax, esp
mov dword [esp + 0x500], eax
push ebp
mov ebp, dword [esp + 0x50c]
push esi
push edi
push 0xfe
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.00491650
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx esi, ax
mov eax, esi
call fcn.00450b60
push eax
lea ecx, [esp + 0x10]
push 0xff
push ecx
call fcn.0048e45e
add esp, 0xc
mov eax, dword [esp + 0x518]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov edi, eax
test edi, edi
jne 0x450b2e
push 0x3ff
push eax
lea ecx, [esp + 0x115]
push ecx
mov byte [esp + 0x118], al
call fcn.00491650
lea edx, [esp + 0x18]
push edx
movzx eax, si
push eax
push str.Cannot_find_proper_font__LangID_:_0x_X__FontName_:__s___please_contact_to_Joymax
lea ecx, [esp + 0x124]
push 0x400
push ecx
call fcn.0048e45e
add esp, 0x20
push 0x30
push str.Error
lea edx, [esp + 0x114]
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push edi
push 0x30
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x50c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0048cf20
add esp, 0x504
ret
Function at 0x457820
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, ecx
mov ebx, eax
mov eax, dword [edi + 0xb4]
push 0
push eax
call esi
mov eax, dword [ebx + 0x14]
push 5
push eax
mov dword [edi + 0xb4], eax
call esi
mov ecx, dword [edi + 0x14]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetMenu]
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call esi
push 2
push eax
call esi
push 2
push eax
call esi
cmp ebx, dword [edi + 0xc0]
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
mov esi, eax
jne 0x457892
push 8
push 0xbb9
push esi
call ebx
push 0
push 0xbba
push esi
call ebx
call fcn.00457680
pop edi
pop esi
pop ebx
ret
push 0
push 0xbb9
push esi
call ebx
push 8
push 0xbba
push esi
call ebx
call fcn.00457680
pop edi
pop esi
pop ebx
ret

Function at 0x4578b0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ecx, dword [ebp + 0xa8]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebp + 0xa8]
mov dword [ecx + 4], ecx
cmp eax, dword [ebp + 0xa8]
mov dword [ebp + 0xac], 0
je 0x4578f9
mov esi, dword [eax]
push eax
call fcn.0048d056
add esp, 4
cmp esi, dword [ebp + 0xa8]
mov eax, esi
jne 0x4578e4
mov eax, dword [ebp + 0x94]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp + 0x9c]
mov ebx, dword [ecx]
lea esi, [ebp + 0x98]
mov edx, ecx
mov dword [esp + 0x14], edx
lea esp, [esp]
cmp esi, esi
jne 0x4579a0
cmp ebx, dword [esp + 0x14]
je 0x457953
cmp ebx, dword [esi + 4]
je 0x45794e
mov edi, dword [ebx + 8]
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
cmp ebx, dword [esi + 4]
je 0x45794e
mov ebx, dword [ebx]
jmp 0x457920
jmp fcn.004589e0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 4]
mov dword [ecx + 4], ecx
cmp eax, dword [esi + 4]
mov dword [esi + 8], 0
je 0x457982
lea esp, [esp]
mov edi, dword [eax]
push eax
call fcn.0048d056
add esp, 4
cmp edi, dword [esi + 4]
mov eax, edi
jne 0x457970
mov eax, dword [ebp + 0x90]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, ebp
call fcn.004502a0
pop edi
mov al, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
jmp 0x458a50
push 0xffffffffffffffff
push 0x4b8888
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4df210]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x18
push str.invalid_list_T__argument
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00408860
mov dword [esp + 0x50], 0
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x24]
call fcn.00408640
push 0x4cdeb4
lea ecx, [esp + 0x24]
push ecx
call fcn.0048ff0b
int3
Function at 0x45dcd0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45dd5c
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45dcf0
sub eax, edx
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
mov eax, ebx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45dd20
sub eax, edi
lea ecx, [eax + 1]
cmp ecx, 0x7fffffff
ja 0x45dd41
mov eax, ebx
call fcn.004304f0
test eax, eax
je 0x45dd46
call fcn.00462f90
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ecx
ret
Function at 0x463680
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [edx]
push esi
mov ecx, 0x20
push edi
lea esp, [esp]
mov edi, eax
shr edi, 2
xor edi, eax
shr edi, 2
xor edi, eax
shr edi, 1
xor edi, eax
shr edi, 1
xor edi, eax
shr edi, 1
mov esi, eax
ror esi, 1
xor edi, eax
and esi, 0xfffffffe
and edi, 1
or esi, edi
sub ecx, 1
mov eax, esi
jne 0x463690
pop edi
mov dword [edx], eax
pop esi
ret

Function at 0x463ac0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
cmp dword [esi + 4], 0xffffffff
mov dword [esi + 8], eax
jne 0x463af3
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x463af3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, esi
call fcn.00463aa0
xor eax, eax
ret
mov eax, 1
ret