joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4506e4
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, 0x45a284
call fcn.00418cb0
mov eax, 0x1014
call sub.ntdll.dll__chkstk
mov eax, dword [0x478938]
push ebx
push edi
xor edi, edi
mov dword [ebp - 0x101c], edi
cmp dword [ecx + 0x50], edi
mov dword [ebp - 0x10], eax
je 0x4507df
push dword [ebp + 0xc]
call fcn.00450635
cmp eax, edi
mov dword [ebp - 0x1014], eax
jne 0x45072d
push dword [ebp + 0x14]
jmp 0x450810
push esi
call fcn.00439b39
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp + 0xc], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1020]
push eax
push edi
lea eax, [ebp - 0x101c]
push eax
push edi
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
push dword [ebp - 0x1014]
call esi
cmp eax, edi
mov dword [ebp - 0x1018], eax
jne 0x4507aa
lea eax, [ebp - 0x1020]
push eax
push dword [ebp - 0x1020]
lea ecx, [ebp + 0xc]
call fcn.004059c0
push eax
lea eax, [ebp - 0x101c]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x1014]
call esi
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x1018], eax
call fcn.0040848a
mov ebx, dword [ebp + 0xc]
push dword [ebp - 0x1014]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1018], edi
mov ecx, dword [ebp + 8]
pop esi
jne 0x4507cd
lea eax, [ebp + 0xc]
push eax
call fcn.004059a0
jmp 0x4507d5
push dword [ebp + 0x14]
call fcn.00406d60
lea ecx, [ebx - 0x10]
call fcn.00402100
jmp 0x450818
cmp dword [ebp + 0x14], edi
jne 0x4507eb
mov dword [ebp + 0x14], 0x45d236
push dword [ecx + 0x64]
lea eax, [ebp - 0x1010]
push 0x1000
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406d60
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.00418c40
leave
ret 0x10

Function at 0x4509fc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x478938]
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.004195af
mov esi, eax
test esi, esi
pop ecx
je 0x450aa4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, esi
je 0x450a9a
push edi
mov edi, SysReAllocStringLen
push ebx
push eax
push esi
mov byte [eax], 0
call fcn.0041a2e1
pop ecx
pop ecx
lea eax, [ebp - 0x110]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x450a98
push 0x105
lea eax, [ebp - 0x10c]
push eax
xor ebx, ebx
push ebx
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x450a72
inc ebx
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x450a98
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x5c
push esi
call fcn.00419985
test eax, eax
pop ecx
pop ecx
jne 0x450a33
pop ebx
pop edi
push esi
call fcn.00417b0c
xor eax, eax
pop ecx
inc eax
mov ecx, dword [ebp - 4]
pop esi
call fcn.00418c40
leave
ret 4
Function at 0x455be3
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov dword [ebp - 4], eax
and dword [ebp - 4], 1
push edi
mov edi, str.Insertable
je 0x455c49
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 0
mov ebx, 0x45d236
push ebx
push 1
push edi
push dword [ebp + 8]
call esi
test eax, eax
jne 0x455c23
push eax
push ebx
push 1
push edi
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x455c46
xor esi, esi
cmp dword [ebp - 4], 0
je 0x455c3d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push edi
push dword [ebp + 0xc]
call ebx
push edi
push dword [ebp + 8]
call ebx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
mov eax, dword [ebp + 0x10]
xor ebx, ebx
test al, 2
je 0x455c54
mov ebx, str.Apartment
test al, 4
je 0x455c5d
mov ebx, str.Free
and eax, 6
cmp al, 6
jne 0x455c69
mov ebx, str.Both
test ebx, ebx
je 0x455cc3
lea eax, [ebp + 0x10]
push eax
push 0x20006
push 0
push str.InprocServer32
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x455c25
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push ebx
push 1
push 0
push str.ThreadingModel
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x10]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x455c25
xor eax, eax
inc eax
jmp 0x455c3f
Function at 0x455d9c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x45b298
call fcn.00418cb0
sub esp, 0x118
mov eax, dword [0x478938]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
call fcn.00439b39
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x118], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00439b39
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x11c], eax
mov edi, SysReAllocStringLen
cmp dword [ebp + 0x18], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x120], ebx
jne 0x455e13
lea eax, [ebp - 0x120]
push eax
push 0x20019
push ebx
push str.CLSID
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 0x124], 1
je 0x455efe
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
add dword [ebp + 8], 4
cmp dword [ebp + 0x18], edi
jne 0x455e42
cmp byte [esi], 0
je 0x455ee3
push esi
call ebx
push dword [ebp + 0x10]
lea eax, [eax + esi + 1]
push dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
push esi
lea eax, [ebp - 0x118]
push eax
call fcn.00441e75
push dword [ebp + 0x10]
lea eax, [ebp - 0x11c]
push dword [ebp + 0xc]
push dword [ebp - 0x114]
push eax
call fcn.00441e75
cmp dword [ebp + 0x18], edi
mov eax, dword [ebp - 0x118]
jne 0x455e8b
cmp dword [eax - 0xc], 0
je 0x455ee3
cmp dword [ebp + 0x14], 0
jne 0x455ebd
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x110]
push ecx
push eax
push dword [ebp + 0x18]
mov dword [ebp - 0x114], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x455ee3
mov eax, dword [ebp - 0x118]
mov esi, dword [ebp - 0x11c]
push esi
mov dword [ebp - 0x114], eax
call ebx
push eax
push esi
push 1
push dword [ebp - 0x114]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
test eax, eax
jne 0x455ef2
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
jne 0x455e30
jmp 0x455efe
cmp eax, 5
je 0x455efe
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x120], 0
pop edi
pop esi
pop ebx
je 0x455f16
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.00402100
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.00402100
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x124]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00418c40
leave
ret 0x14
Function at 0x40b056
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0xc]
and eax, 3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
sub ecx, eax
je 0x40b0a0
rol edx, 5
xor edx, dword [esi + ebx]
add esi, 4
imul eax, edx, 0x9e3779b9
rol eax, 5
xor eax, 4
imul edx, eax, 0x9e3779b9
cmp esi, ecx
jb 0x40b06f
jmp 0x40b0a0
movsx ecx, byte [esi + ebx]
rol edx, 5
xor edx, ecx
imul edx, edx, 0x9e3779b9
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x40b090
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x40c136
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40c16b
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40c195
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40c195
test edi, edi
je 0x40c162
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40c162
test edi, edi
je 0x40c19d
mov eax, edi
jmp 0x40c164
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40c164
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_fx_team_w32_d_0000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040fea9
add esp, 0xc
int3
Function at 0x40fedd
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestSHA1.exe_gMozillaPoisonSize], eax
call fcn.0040c136
pop ecx
mov ecx, dword [sym.TestSHA1.exe_gMozillaPoisonSize]
mov dword [sym.TestSHA1.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40ff15
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestSHA1.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x423004]
jne 0x401010
repz ret
jmp fcn.00401562

Function at 0x409246
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405eb4
and dword [ebp - 4], 0
cmp dword [0x4257a0], 0
mov ebx, eax
jne 0x4092f7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4093a8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4093a8
push eax
call fcn.00405e42
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4257a0], eax
call esi
push eax
call fcn.00405e42
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4257a4], eax
call esi
push eax
call fcn.00405e42
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4257a8], eax
call esi
push eax
call fcn.00405e42
pop ecx
mov dword [0x4257b0], eax
test eax, eax
je 0x4092f7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405e42
pop ecx
mov dword [0x4257ac], eax
mov eax, dword [0x4257ac]
cmp eax, ebx
je 0x40934f
cmp dword [0x4257b0], ebx
je 0x40934f
push eax
call fcn.00405ebd
push dword [0x4257b0]
mov esi, eax
call fcn.00405ebd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40934f
test edi, edi
je 0x40934f
call esi
test eax, eax
je 0x409346
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409346
test byte [ebp - 0xc], 1
jne 0x40934f
or dword [ebp + 0x10], 0x200000
jmp 0x409388
mov eax, dword [0x4257a4]
cmp eax, ebx
je 0x409388
push eax
call fcn.00405ebd
pop ecx
test eax, eax
je 0x409388
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409388
mov eax, dword [0x4257a8]
cmp eax, ebx
je 0x409388
push eax
call fcn.00405ebd
pop ecx
test eax, eax
je 0x409388
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4257a0]
call fcn.00405ebd
pop ecx
test eax, eax
je 0x4093a8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4093aa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425426
Capabilities:
Check for software breakpoints

Disassembly:
call 0x42542b
pop eax
mov ebx, 0x400000
mov edi, dword [ebx + 0x194]
mov esi, dword [ebx + 0xc0]
mov edx, edi
sub edx, esi
lea ebp, [edx + eax + 0x40]
lea eax, [ebx + esi]
dec eax
mov cl, byte [eax]
cmp cl, 0xcc
je 0x42544b
sub eax, 9
add dword [eax], edx
add eax, 6
add dword [eax], edx
mov edx, dword [eax]
mov ecx, esi
sub ecx, dword [ebx + 0x16c]
add esi, ebx
add edi, ebx
dec esi
dec edi
mov al, byte [esi]
mov byte [edi], al
dec ecx
je 0x42547a
cmp edi, ebp
jne 0x42546b
jmp ebp
mov esi, edi
lea edi, [ebx + 0x1000]
push edi
mov ecx, edx
sub ecx, esi
push ecx
push esi
call fcn.004252cd
lea edx, [eax - 4]
sub edx, dword [edx]
mov esi, dword [edx + 0x80]
push edx
add esi, ebx
mov eax, dword [esi + 0xc]
or eax, eax
je 0x4254e6
add eax, ebx
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebp, eax
mov ecx, dword [esi]
add ecx, ebx
mov edi, dword [esi + 0x10]
add edi, ebx
mov eax, dword [ecx]
or eax, eax
je 0x4254e1
pushal
test eax, 0x80000000
je 0x4254cb
and eax, 0x7fffffff
jmp 0x4254cf
lea eax, [ebx + eax + 2]
push eax
push ebp
call sub.kernel32.dll_GetProcAddress
mov dword [edi], eax
popal
add edi, 4
add ecx, 4
jmp 0x4254b6
add esi, 0x14
jmp 0x42549c
pop edx
add ebx, dword [edx + 0x28]
call 0x4254ef
pop ecx
sub ecx, edx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
jmp ebx

Function at 0x401996
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x40c010]
test eax, eax
je 0x4019d5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4019d5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4019d5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4019d5
cmp dword [ecx + 0x74], 0xe
jbe 0x4019d5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x401e00
Capabilities:
Encode data using xor

Disassembly:
and dword [ecx + 0x11c8abe6], ebx
int3
insd dword es:[edi], dx
jp 0x401e24
lahf
sar dword [ebp + 0x7125a76b], 1
lodsd eax, dword [esi]
popal
wait
mov ecx, 0x7d2ed9e7
out 0xd9, eax
jge 0x401e47
out 0xd9, eax
jge 0x401e47
xchg dword [ebx - 0x786f5dc8], ebp
mov cl, 0xaf
nop
xchg dword [esi], esp
mov cl, 0xaf
xor edx, ecx
loop 0x401e5c
sti
jle 0x401db4
xor bh, byte [ebp + 0x1655c927]
iretd
int 8
jle 0x401e09
in eax, dx
loopne 0x401df2
invalid
pop ds
imul esi, ebp, 0xd567a42a
xor eax, 0x78158234
inc edi
push ebp
jno 0x401e1f
test eax, 0x9f525dec
add cl, byte [esi + 0x1a]
pop ss
xor edx, dword [esi]
sbb bl, byte [ecx + 0x3c]
pop esi
scasb al, byte es:[edi]
xor byte [edx + 0x1c], bh
jle 0x401e36
fincstp
aaa
div dword [edi]
invalid
Function at 0x71dfe0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2d5000]
push edi
jmp 0x71dffa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x71e001
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71dff0
mov eax, 1
add ebx, ebx
jne 0x71e013
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x71e024
jne 0x71e043
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e043
dec eax
add ebx, ebx
jne 0x71e030
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x71e008
add ebx, ebx
jne 0x71e03f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x71e095
xor ecx, ecx
sub eax, 3
jb 0x71e05b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x71e0ca
sar eax, 1
mov ebp, eax
jmp 0x71e066
add ebx, ebx
jne 0x71e066
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e034
inc ecx
add ebx, ebx
jne 0x71e074
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e034
add ebx, ebx
jne 0x71e081
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x71e076
jne 0x71e092
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x71e076
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x71e0b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x71e0a6
jmp 0x71dff6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x71e0b4
add edi, ecx
jmp 0x71dff6
pop esi
mov edi, esi
mov ecx, 0x3bf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x71e0d2
cmp byte [edi], 7
jne 0x71e0d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x71e0d7
lea edi, [esi + 0x31b000]
mov eax, dword [edi]
or eax, eax
je 0x71e146
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3a8170]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3a81ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x71e104
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3a81b4]
or eax, eax
je 0x71e140
mov dword [ebx], eax
add ebx, 4
jmp 0x71e121
call dword [esi + 0x3a81b0]
mov ebp, dword [esi + 0x3a81b8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x71e17a
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x4233a0
Capabilities:
Check for software breakpoints
Get geographical location
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc4
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x4233c5
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x365ea9e0
jge 0x423412
cmp dword [0x430c04], 0xc31
jne 0x4233e2
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
cmp dword [ebp - 4], 0x176afc
jle 0x423410
cmp dword [0x430c04], 0xa
jne 0x42340e
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x423412
jmp 0x4233bc
mov dword [ebp - 0x64], 0
jmp 0x423424
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x5f6c74
jge 0x423444
cmp dword [ebp - 0x64], 0x562d05
jne 0x423442
mov edx, dword [0x427c58]
mov dword [0x430f8c], edx
jmp 0x42341b
cmp dword [0x430c04], 0x7c
jne 0x423478
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
cmp dword [0x430c04], 0x2d
jne 0x423478
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [0x430c04], 0x110a
jne 0x423551
mov dword [0x430bf0], 0
mov dword [0x430bf4], 0
cmp dword [0x430c04], 0xcc
jne 0x4234ba
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x4303d0], 0x14
push 0
lea ecx, [ebp - 0x480]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapValidate]
push 0
push 0
call fcn.0040111f
add esp, 8
push 0
push 0
call fcn.0040111f
add esp, 8
mov edx, dword [0x425cf4]
mov dword [ebp - 0xc88], edx
push 0x7fc
push 0
lea eax, [ebp - 0xc84]
push eax
call fcn.00403540
add esp, 0xc
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x484], ecx
push 0
push 0
call fcn.0040111f
add esp, 8
push 0
call fcn.00401286
add esp, 4
push 0
call fcn.004010b7
add esp, 4
call fcn.004227f0
mov dword [ebp - 0xc90], 0
jmp 0x423571
mov edx, dword [ebp - 0xc90]
add edx, 1
mov dword [ebp - 0xc90], edx
mov eax, dword [ebp - 0xc90]
cmp eax, dword [0x430c04]
jae 0x4235cc
mov ecx, dword [0x430f8c]
mov dword [ebp - 0xc94], ecx
mov eax, 0xa231
add dword [ebp - 0xc94], eax
mov edx, dword [0x43065c]
add edx, dword [ebp - 0xc90]
mov eax, dword [ebp - 0xc94]
add eax, dword [ebp - 0xc90]
mov cl, byte [eax]
mov byte [edx], cl
cmp dword [0x430c04], 0x5ab
jne 0x4235ca
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x423562
call fcn.00423120
call fcn.00422820
mov eax, 0x427c60
call fcn.00423360
mov dword [ebp - 0xc98], 0
jmp 0x4235fb
mov edx, dword [ebp - 0xc98]
add edx, 1
mov dword [ebp - 0xc98], edx
cmp dword [ebp - 0xc98], 0x15a63d
jge 0x423624
cmp dword [ebp - 0xc98], 0xbd9cb
jne 0x423622
mov eax, dword [0x43065c]
add eax, 0x2350
mov dword [0x43065c], eax
jmp 0x4235ec
jmp dword [0x43065c]
Function at 0x41422b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x449ca0]
jne 0x414235
repz ret
jmp fcn.00419f1d

Function at 0x4298e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x4298ef
pop dword [ebp - 0x18]
mov eax, 0xf4381df2
sub eax, 0xf3f58503
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x499f8
push 0
mov eax, 0xcb7bfc63
sub eax, 0xcb386a2b
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x473b8b9a
add ecx, 0xb8c4b3fb
mov edx, eax
mov ebx, 0xb0ed3083
sub ebx, 0xb0a71283
add ebx, dword [ebp - 0x18]
mov edi, 0xe575b702
sub edi, 0xc5f7937c
xor dword [ebp - 0x10], 0xb635623d
mov esi, dword [ebx]
add dword [ebp - 0x10], eax
xor esi, edi
sub dword [ebp - 0xc], edi
mov dword [edx], esi
mov dword [ebp - 8], 0xc415a94e
add edx, 4
add ebx, 0xa81550c2
add ebx, 0x57eaaf42
loop 0x42994e
add eax, 0xd95c0823
sub eax, 0xd95b16fc
mov ebx, eax
add eax, 0xb0307c87
sub eax, 0xb0307c82
mov ecx, 0x9225928e
sub ecx, 0x91e5928e
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x403900
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x443ae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebp
push esi
push edi
mov dword [esp + 0x238], 0
call fcn.0043b57d
mov eax, dword [eax + 4]
or ecx, 0xffffffff
lea edx, [esp + 0x104]
mov edi, dword [eax + 0xc0]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x45b4b0]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x40396b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x240]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [0x45b4b0], eax
jne 0x4039be
push 0
push 0
push str.COM_port_Error
call fcn.0043163c
lea ecx, [esp + 0x240]
mov dword [esp + 0x238], 0xffffffff
call fcn.004296f6
xor eax, eax
jmp 0x403b07
lea edx, [esp + 0x104]
lea eax, [esp + 0xa0]
push edx
push 0x64
push eax
push 0x45b2a0
push str.Setting
push str.COM_Port_Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [esp + 0x240]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4557fc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x3c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 7
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x45b4b0]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetCommState]
mov ecx, dword [0x45b4b0]
push 0xff
push 0x2328
push ecx
call dword [sym.imp.KERNEL32.dll_SetupComm]
lea edx, [esp + 0xc]
push edx
mov eax, dword [0x45b4b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
mov edx, dword [0x45b4b0]
lea ecx, [esp + 0xc]
mov eax, 0x3e8
push ecx
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x14
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
lea ecx, [esp + 0x240]
mov byte [0x45d014], 1
mov dword [esp + 0x238], 0xffffffff
call fcn.004296f6
mov eax, 1
mov ecx, dword [esp + 0x230]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x230
ret 4