joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f900
Capabilities:
Get graphical window text

Disassembly:
mov edx, dword [0x100420e8]
sub esp, 0x104
xor ecx, ecx
push ebx
push ebp
push esi
push edi
test edx, edx
jle 0x1000f93a
mov eax, 0x100420f0
mov esi, dword [esp + 0x118]
mov edi, dword [eax - 4]
cmp esi, edi
jne 0x1000f932
cmp dword [eax], 0
jne 0x1000fae9
inc ecx
add eax, 8
cmp ecx, edx
jl 0x1000f91b
mov eax, dword [esp + 0x118]
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call esi
mov ebp, dword [0x100428f0]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], 0
je 0x1000faac
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14]
push ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
inc eax
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0x14]
test edx, edx
je 0x1000fa9d
lea eax, [esp + 0x14]
push str.MsoDockTop
push eax
call fcn.100063e0
add esp, 8
test eax, eax
je 0x1000f9ee
lea ecx, [esp + 0x14]
push str.MsoDockLeft
push ecx
call fcn.100063e0
add esp, 8
test eax, eax
je 0x1000f9ee
lea edx, [esp + 0x14]
push str.MsoDockRight
push edx
call fcn.100063e0
add esp, 8
test eax, eax
je 0x1000f9ee
lea eax, [esp + 0x14]
push str.MsoDockBottom
push eax
call fcn.100063e0
add esp, 8
test eax, eax
jne 0x1000fa9d
push 5
push ebx
call esi
mov esi, eax
test esi, esi
je 0x1000fa50
mov edi, ebp
shl edi, 4
add edi, 0x100428fc
mov ecx, dword [esp + 0x118]
push 0x1000e3a0
push 0xfffffffffffffffc
mov dword [edi - 8], ecx
push esi
mov dword [edi], esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
mov dword [edi - 4], eax
je 0x1000fae9
mov eax, dword [0x100428f0]
add edi, 0x10
inc eax
inc ebp
mov dword [0x100428f0], eax
mov eax, dword [esp + 0x10]
inc eax
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x1000fa04
mov edx, dword [esp + 0x118]
mov esi, ebp
shl esi, 4
push 0x1000e3a0
push 0xfffffffffffffffc
mov dword [esi + 0x100428f4], edx
push ebx
mov dword [esi + 0x100428fc], ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
mov dword [esi + 0x100428f8], eax
je 0x1000fae9
mov edx, dword [0x100428f0]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetWindow]
inc edx
inc ebp
inc eax
mov dword [0x100428f0], edx
mov dword [esp + 0x10], eax
push 2
push ebx
call esi
mov ebx, eax
test ebx, ebx
jne 0x1000f964
mov eax, dword [0x100420e8]
mov ecx, dword [esp + 0x118]
pop edi
pop esi
mov dword [eax*8 + 0x100420ec], ecx
mov edx, dword [0x100420e8]
mov eax, 1
pop ebp
mov dword [edx*8 + 0x100420f0], eax
mov ecx, dword [0x100420e8]
inc ecx
pop ebx
mov dword [0x100420e8], ecx
add esp, 0x104
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
Function at 0x1000fb00
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x10044100]
sub esp, 0x204
test eax, eax
je 0x1000fb18
xor eax, eax
add esp, 0x204
ret
mov eax, dword [esp + 0x208]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindow]
push esi
push 5
push eax
call ebp
mov esi, eax
test esi, esi
mov dword [esp + 8], esi
je 0x1000fcff
push ebx
push edi
jmp 0x1000fb42
mov esi, dword [esp + 0x10]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14]
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
inc eax
lea ecx, [esp + 0x14]
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0x14]
push str.MsoDockTop
push edx
call fcn.100063e0
add esp, 8
test eax, eax
je 0x1000fbc0
lea eax, [esp + 0x14]
push str.MsoDockLeft
push eax
call fcn.100063e0
add esp, 8
test eax, eax
je 0x1000fbc0
lea ecx, [esp + 0x14]
push str.MsoDockRight
push ecx
call fcn.100063e0
add esp, 8
test eax, eax
je 0x1000fbc0
lea edx, [esp + 0x14]
push str.MsoDockBottom
push edx
call fcn.100063e0
add esp, 8
test eax, eax
jne 0x1000fcec
push 5
push esi
call ebp
mov ebx, eax
test ebx, ebx
je 0x1000fcb5
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x114]
push ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
inc eax
push eax
lea eax, [esp + 0x118]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0x114]
push 0x1002f600
push ecx
call fcn.100063e0
add esp, 8
test eax, eax
jne 0x1000fc6d
push 5
push ebx
call ebp
push 5
push eax
call ebp
push 5
push eax
call ebp
mov esi, eax
test esi, esi
je 0x1000fc69
mov edx, dword [0x100428f0]
push 0x1000e3a0
shl edx, 4
push 0xfffffffffffffffc
push esi
mov dword [edx + 0x100428fc], esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [0x100428f0]
push 2
shl ecx, 4
push esi
mov dword [ecx + 0x100428f8], eax
mov edi, dword [0x100428f0]
inc edi
mov dword [0x100428f0], edi
call ebp
mov esi, eax
test esi, esi
jne 0x1000fc25
mov esi, dword [esp + 0x10]
mov edx, dword [0x100428f0]
push 0x1000e3a0
shl edx, 4
push 0xfffffffffffffffc
push ebx
mov dword [edx + 0x100428fc], ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [0x100428f0]
push 2
shl ecx, 4
push ebx
mov dword [ecx + 0x100428f8], eax
mov edi, dword [0x100428f0]
inc edi
mov dword [0x100428f0], edi
call ebp
mov ebx, eax
test ebx, ebx
jne 0x1000fbcf
mov edx, dword [0x100428f0]
push 0x1000e3a0
shl edx, 4
push 0xfffffffffffffffc
push esi
mov dword [edx + 0x100428fc], esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [0x100428f0]
shl ecx, 4
mov dword [ecx + 0x100428f8], eax
mov eax, dword [0x100428f0]
inc eax
mov dword [0x100428f0], eax
push 2
push esi
call ebp
test eax, eax
mov dword [esp + 0x10], eax
jne 0x1000fb3e
pop edi
pop ebx
mov eax, 1
pop esi
mov dword [0x10044100], eax
pop ebp
add esp, 0x204
ret
Function at 0x1000fe80
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x10044100]
sub esp, 0x204
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x1000fea0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x204
ret
mov eax, dword [esp + 0x218]
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call esi
mov ebp, eax
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x1001001e
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x114]
push ebp
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
inc eax
lea ecx, [esp + 0x14]
push eax
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0x114]
push 0x100
push edx
push ebp
call dword [sym.imp.USER32.dll_GetClassNameA]
mov ebx, dword [0x100428f0]
lea eax, [esp + 0x14]
test eax, eax
je 0x1001000f
lea ecx, [esp + 0x14]
push str.MsoDockTop
push ecx
call fcn.100063e0
add esp, 8
test eax, eax
je 0x1000ff76
lea edx, [esp + 0x14]
push str.MsoDockLeft
push edx
call fcn.100063e0
add esp, 8
test eax, eax
je 0x1000ff76
lea eax, [esp + 0x14]
push str.MsoDockRight
push eax
call fcn.100063e0
add esp, 8
test eax, eax
je 0x1000ff76
lea ecx, [esp + 0x14]
push str.MsoDockBottom
push ecx
call fcn.100063e0
add esp, 8
test eax, eax
jne 0x1001000f
push 5
push ebp
call esi
mov esi, eax
test esi, esi
je 0x1000ffce
mov edi, ebx
shl edi, 4
add edi, 0x100428f8
push 0x1000e3a0
push 0xfffffffffffffffc
push esi
mov dword [edi + 4], esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
mov dword [edi], eax
je 0x1000fe93
mov eax, dword [0x100428f0]
add edi, 0x10
inc eax
inc ebx
mov dword [0x100428f0], eax
mov eax, dword [esp + 0x10]
inc eax
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x1000ff8c
shl ebx, 4
push 0x1000e3a0
push 0xfffffffffffffffc
push ebp
mov dword [ebx + 0x100428fc], ebp
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
mov dword [ebx + 0x100428f8], eax
je 0x1000fe93
mov ecx, dword [0x100428f0]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetWindow]
inc ecx
inc eax
mov dword [0x100428f0], ecx
mov dword [esp + 0x10], eax
push 2
push ebp
call esi
mov ebp, eax
test ebp, ebp
jne 0x1000fec4
pop edi
mov eax, 1
pop esi
pop ebp
mov dword [0x10044100], eax
pop ebx
add esp, 0x204
ret
Function at 0x100128b0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x10044100]
sub esp, 0x204
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x100128d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x204
ret
mov eax, dword [esp + 0x218]
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call ebx
mov ebp, eax
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x10012a9d
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14]
push ebp
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
inc eax
lea ecx, [esp + 0x14]
push eax
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0x114]
push 0x100
push edx
push ebp
call dword [sym.imp.USER32.dll_GetClassNameA]
mov edi, dword [0x100428f0]
lea eax, [esp + 0x114]
push str.ToolsPalette
push eax
call fcn.100063e0
add esp, 8
test eax, eax
jne 0x1001298d
mov esi, edi
push 0x1000e3a0
shl esi, 4
push 0xfffffffffffffffc
push ebp
mov dword [esi + 0x100428fc], ebp
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [esi + 0x100428f8], eax
mov edx, dword [0x100428f0]
mov eax, dword [esp + 0x10]
inc edx
inc edi
inc eax
mov dword [0x100428f0], edx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x10012a8e
lea edx, [esp + 0x14]
push str.MsoDockTop
push edx
call fcn.100063e0
add esp, 8
test eax, eax
je 0x100129f5
lea eax, [esp + 0x14]
push str.MsoDockLeft
push eax
call fcn.100063e0
add esp, 8
test eax, eax
je 0x100129f5
lea ecx, [esp + 0x14]
push str.MsoDockRight
push ecx
call fcn.100063e0
add esp, 8
test eax, eax
je 0x100129f5
lea edx, [esp + 0x14]
push str.MsoDockBottom
push edx
call fcn.100063e0
add esp, 8
test eax, eax
jne 0x10012a8e
push 5
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x10012a53
mov ebx, edi
shl ebx, 4
add ebx, 0x100428f8
push 0x1000e3a0
push 0xfffffffffffffffc
push esi
mov dword [ebx + 4], esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
mov dword [ebx], eax
je 0x100128c3
mov eax, dword [0x100428f0]
add ebx, 0x10
inc eax
inc edi
mov dword [0x100428f0], eax
mov eax, dword [esp + 0x10]
inc eax
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x10012a0b
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
shl edi, 4
push 0x1000e3a0
push 0xfffffffffffffffc
push ebp
mov dword [edi + 0x100428fc], ebp
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
mov dword [edi + 0x100428f8], eax
je 0x100128c3
mov ecx, dword [0x100428f0]
mov eax, dword [esp + 0x10]
inc ecx
inc eax
mov dword [0x100428f0], ecx
mov dword [esp + 0x10], eax
push 2
push ebp
call ebx
mov ebp, eax
test ebp, ebp
jne 0x100128f4
pop edi
mov eax, 1
pop esi
pop ebp
mov dword [0x10044100], eax
pop ebx
add esp, 0x204
ret
Function at 0x10012ac0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x10044100]
sub esp, 0x104
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x10012ae0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
mov eax, dword [esp + 0x118]
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call esi
mov ebp, eax
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x10012bfa
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14]
push ebp
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
inc eax
lea ecx, [esp + 0x14]
push eax
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebx, dword [0x100428f0]
lea edx, [esp + 0x14]
test edx, edx
je 0x10012beb
lea eax, [esp + 0x14]
push 0x1002f9e8
push eax
call fcn.100063e0
add esp, 8
test eax, eax
jne 0x10012beb
push 5
push ebp
call esi
mov esi, eax
test esi, esi
je 0x10012baa
mov edi, ebx
shl edi, 4
add edi, 0x100428f8
push 0x1000e3a0
push 0xfffffffffffffffc
push esi
mov dword [edi + 4], esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
mov dword [edi], eax
je 0x10012ad3
mov eax, dword [0x100428f0]
add edi, 0x10
inc eax
inc ebx
mov dword [0x100428f0], eax
mov eax, dword [esp + 0x10]
inc eax
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x10012b68
shl ebx, 4
push 0x1000e3a0
push 0xfffffffffffffffc
push ebp
mov dword [ebx + 0x100428fc], ebp
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
mov dword [ebx + 0x100428f8], eax
je 0x10012ad3
mov ecx, dword [0x100428f0]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetWindow]
inc ecx
inc eax
mov dword [0x100428f0], ecx
mov dword [esp + 0x10], eax
push 2
push ebp
call esi
mov ebp, eax
test ebp, ebp
jne 0x10012b04
pop edi
mov eax, 1
pop esi
pop ebp
mov dword [0x10044100], eax
pop ebx
add esp, 0x104
ret
Function at 0x10013d70
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [0x10044100]
sub esp, 0x104
test eax, eax
je 0x10013d88
xor eax, eax
add esp, 0x104
ret
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x114]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
xor ebp, ebp
call edi
mov esi, eax
test esi, esi
mov dword [esp + 0xc], esi
je 0x10013ece
push ebx
jmp 0x10013dc1
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 0x100
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0x14]
push str.StatusPanel
push edx
call fcn.100063e0
add esp, 8
test eax, eax
je 0x10013ebc
mov eax, dword [0x100428f0]
push 0x1000e3a0
shl eax, 4
push 0xfffffffffffffffc
push esi
mov dword [eax + 0x100428fc], esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [0x100428f0]
push 5
shl ecx, 4
push esi
mov dword [ecx + 0x100428f8], eax
mov eax, dword [0x100428f0]
inc eax
inc ebp
mov dword [0x100428f0], eax
call edi
mov ebx, eax
test ebx, ebx
je 0x10013ebc
lea edx, [esp + 0x14]
push 0x100
push edx
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [esp + 0x14]
push str.CustToolbar
push eax
call fcn.100063e0
add esp, 8
test eax, eax
jne 0x10013ead
push 5
push ebx
call edi
mov esi, eax
test esi, esi
je 0x10013ea9
mov ecx, dword [0x100428f0]
push 0x1000e3a0
shl ecx, 4
push 0xfffffffffffffffc
push esi
mov dword [ecx + 0x100428fc], esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [0x100428f0]
push 2
shl edx, 4
push esi
mov dword [edx + 0x100428f8], eax
mov ecx, dword [0x100428f0]
inc ecx
inc ebp
mov dword [0x100428f0], ecx
call edi
mov esi, eax
test esi, esi
jne 0x10013e64
mov esi, dword [esp + 0x10]
push 2
push ebx
call edi
mov ebx, eax
test ebx, ebx
jne 0x10013e32
push 2
push esi
call edi
test eax, eax
mov dword [esp + 0x10], eax
jne 0x10013dbd
pop ebx
mov eax, 1
pop edi
pop esi
mov dword [0x10044100], eax
pop ebp
add esp, 0x104
ret
Function at 0x10015270
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x10044b3c]
push esi
mov esi, dword [0x1002fcd8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x1001529a
call edi
mov ecx, eax
mov eax, dword [0x10044b3c]
sub ecx, eax
cmp ecx, 0x3e8
jae 0x1001529d
or esi, 8
test eax, eax
je 0x100152b0
call edi
sub eax, dword [0x10044b3c]
cmp eax, 0xbb8
jae 0x100152b3
and esi, 0xfffffffb
mov eax, esi
pop edi
pop esi
ret

Function at 0x10015460
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x530
push ebx
push ebp
xor ebp, ebp
push edi
push ebp
push 2
mov dword [esp + 0x14], 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x128
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10015539
push esi
lea ecx, [esp + 0x140]
lea edx, [esp + 0x240]
push ecx
lea eax, [esp + 0x444]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.10006293
lea edi, [esp + 0x154]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x254]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x254]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x55c]
push ecx
call fcn.100063e0
add esp, 0x1c
test eax, eax
jne 0x10015525
mov edx, dword [esp + 0x20]
inc ebp
mov dword [esp + 0x10], edx
lea eax, [esp + 0x18]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100154a6
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
test ebp, ebp
pop ebp
pop ebx
jle 0x10015552
mov eax, dword [esp]
add esp, 0x530
ret
or eax, 0xffffffff
add esp, 0x530
ret

Function at 0x10015560
Capabilities:
Terminate process

Disassembly:
push str.IMEPADSV.exe
call fcn.10015460
add esp, 4
cmp eax, 0xffffffff
je 0x10015594
push esi
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x100155d0
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esp + 4]
lea eax, [esp + 4]
push eax
push 0
push ecx
push 0x100155a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10015930
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esp + 4]
lea eax, [esp + 4]
push eax
push 0
push ecx
push 0x100158e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10015ef0
Capabilities:
Create thread

Disassembly:
push ecx
call fcn.10015e30
test eax, eax
jne 0x10015f19
lea eax, [esp]
push eax
push 0
push 0
push 0x10015eb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ecx
ret
call fcn.10015e60
pop ecx
ret
Function at 0x100182b0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x14]
xor eax, eax
test edi, edi
jle 0x100182f5
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x14]
sub ecx, 0x1003c5a0
sub esi, 0x1003c5a0
mov dl, byte [ecx + eax + 0x1003c5a0]
mov bl, byte [eax + 0x1003c5a0]
xor dl, bl
mov byte [esi + eax + 0x1003c5a0], dl
inc eax
cmp eax, edi
jl 0x100182d1
pop esi
pop ebx
mov eax, 1
pop edi
ret
mov eax, 1
pop edi
ret
Function at 0x402a34
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404474
test esi, esi
jne 0x402a6a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404564
jmp 0x402a88
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402948
mov edi, eax
test esi, esi
je 0x402a88
cmp dword [ebx], 0
je 0x402a88
dec esi
jmp 0x402a71
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40359c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x490020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403634
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403614
xor eax, eax
push ebp
push 0x40360d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403650
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403614
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x490020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x490020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4042f8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x492048], 0
je 0x404359
cmp word [0x49221c], 0xd7b2
jne 0x404321
cmp dword [0x492224], 0
jbe 0x404321
mov eax, 0x492218
call dword [0x492234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x490070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404380
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x490030], 0
jne 0x404375
push 0
push 0x490068
push 0x490070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405890
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405ac0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405913
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405ac0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405913
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405adc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40599c
xor eax, eax
push ebp
push 0x405995
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004056d8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40597a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405afc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40597a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40599c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405ab6
cmp byte [ebp - 0xd], 0
jne 0x4059e3
cmp byte [ebp - 0x12], 0
je 0x405ab6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4059fc
dec ebx
cmp byte [ebx], 0x2e
je 0x405a0b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4059fb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405ab6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405a48
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405ab6
cmp byte [ebp - 0xd], 0
je 0x405ab6
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405ab6
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret