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

Disassembly:
mov edx, dword [esi + 0x3cc]
sub esp, 8
push edi
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x3cc]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0xfffffffffffffffc
push eax
call edi
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0x3cc]
push 1
push 0
lea edx, [ecx + ecx]
push edx
push eax
call edi
inc dword [esi + 0x424]
mov eax, dword [esi + 0x3e0]
mov ecx, dword [esi + 0x424]
lea edx, [eax - 1]
pop edi
cmp ecx, edx
jb 0x4051b8
dec eax
inc word [esi + 0x40e]
mov dword [esi + 0x424], eax
mov byte [esi + 0x428], 1
add esp, 8
ret

Function at 0x4051c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
cmp dword [esp + 0x10], 0x25
ja 0x4052d2
mov eax, dword [esi + 0x3e0]
test eax, eax
jbe 0x4052d2
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
dec eax
push edi
cmp dword [esi + 0x424], eax
jb 0x405206
mov eax, dword [esi + 0x3cc]
push 0
push 0
push 4
push eax
mov dword [esi + 0x424], 0
call ebp
mov eax, dword [esi + 0x3ec]
test eax, eax
je 0x405223
push eax
call fcn.0043a661
add esp, 4
mov dword [esi + 0x3ec], 0
mov eax, dword [esi + 0x3cc]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x14]
push edx
push eax
call edi
mov ecx, dword [esi + 0x3cc]
push 1
push 0
push 0xfffffffffffffffc
push ecx
call ebp
mov eax, dword [esp + 8]
test eax, eax
jbe 0x4052a6
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043aeee
mov edx, dword [esp + 0xc]
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edx + edx]
mov edx, dword [esi + 0x3cc]
push ecx
push eax
push edx
mov dword [esi + 0x3ec], eax
call edi
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x3ec]
push eax
mov eax, dword [esp + 0x18]
push esi
xor ecx, ecx
call fcn.00406b40
mov edx, dword [esi + 0x3e0]
mov ecx, 1
add dword [esi + 0x424], ecx
mov eax, dword [esi + 0x424]
sub edx, ecx
pop edi
pop ebp
cmp eax, edx
jb 0x4052d2
add word [esi + 0x40e], cx
mov byte [esi + 0x428], cl
add esp, 8
ret 8
Function at 0x4055d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, eax
mov eax, dword [esi + 0x3e0]
dec eax
cmp dword [esi + 0x424], eax
jne 0x4055ee
cmp dword [esi + 0x3ec], 0
jne 0x405661
push edi
call fcn.004050b0
mov edx, dword [esi + 0x3cc]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x14]
push ecx
push edx
call edi
mov eax, dword [esi + 0x3cc]
push 1
push 0
push 0xfffffffffffffffc
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043aeee
mov edx, dword [esp + 0xc]
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edx + edx]
mov edx, dword [esi + 0x3cc]
push ecx
push eax
push edx
mov dword [esi + 0x3ec], eax
call edi
pop edi
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x3ec]
push eax
push esi
mov ecx, 0xffffffce
xor eax, eax
call fcn.00406b40
pop esi
add esp, 8
ret 4

Function at 0x405680
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, eax
mov eax, dword [esi + 0x3e0]
push edi
dec eax
call fcn.004050b0
mov edx, dword [esi + 0x3cc]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x14]
push ecx
push edx
call edi
mov eax, dword [esi + 0x3cc]
push 1
push 0
push 0xfffffffffffffffc
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043aeee
mov edx, dword [esp + 0xc]
add esp, 4
push 0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [edx + edx]
mov edx, dword [esi + 0x3cc]
push ecx
push eax
push edx
mov dword [esi + 0x3ec], eax
call edi
mov ecx, dword [esi + 0x3ec]
push 1
push esi
xor eax, eax
xor edx, edx
call fcn.00406100
mov eax, dword [esi + 0x3ec]
test eax, eax
je 0x40572e
push eax
call fcn.0043a661
add esp, 4
mov dword [esi + 0x3ec], 0
pop edi
pop esi
add esp, 8
ret
Function at 0x407830
Capabilities:
Encode data using add xor sub operations

Disassembly:
sub esp, 8
mov ecx, dword [eax + 0x3d0]
mov eax, dword [eax + 0x3d4]
push ebx
push ebp
push esi
add eax, eax
push edi
mov dword [esp + 0x14], eax
mov edi, ecx
mov dword [esp + 0x10], 0x500
mov ecx, edi
mov esi, 0x180
lea ebx, [ebx]
mov eax, dword [ecx]
mov ebx, eax
shr ebx, 5
mov ebp, eax
and ebx, 0xffc0f83f
and ebp, 0x7e0f81f
imul ebx, edx
imul ebp, edx
shr eax, 5
and eax, 0x7c0f83f
imul eax, edx
shr ebp, 5
xor ebx, ebp
and ebx, 0x7e0f81f
xor ebx, eax
mov dword [ecx], ebx
add ecx, 4
sub esi, 1
jne 0x407860
add edi, dword [esp + 0x14]
sub dword [esp + 0x10], 1
jne 0x407853
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4284b0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x450dcb
mov eax, dword fs:[0]
push eax
mov eax, 0x13bc
call fcn.004478a0
mov eax, dword [0x45d1ac]
xor eax, esp
mov dword [esp + 0x13b8], eax
push ebx
push esi
push edi
mov eax, dword [0x45d1ac]
xor eax, esp
push eax
lea eax, [esp + 0x13cc]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
cmp byte [0x460cdf], bl
jne 0x428701
cmp dword [edi + 0x3a8], ebx
jge 0x42850c
mov dword [edi + 0x3a8], ebx
mov eax, dword [0x462740]
mov ecx, dword [edi + 0x378]
push 0x457130
push str.CodeGameSet.st
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebx
call fcn.0043a928
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x428701
lea ecx, [esp + 0x44]
call fcn.0043a0a0
mov dword [esp + 0x13d4], ebx
mov eax, dword [0x46000c]
mov ecx, dword [eax + 0x350]
lea edx, [esp + 0x10]
push edx
push ecx
push 1
call fcn.00435990
push eax
lea ecx, [esp + 0x50]
call fcn.00439e00
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x3a8]
push edx
push eax
push 2
call fcn.00435990
push eax
lea ecx, [esp + 0x50]
call fcn.00439e00
mov edx, dword [0x45e954]
lea ecx, [esp + 0x10]
push ecx
push edx
push 3
mov dword [esp + 0x2c], eax
call fcn.00435990
push eax
lea ecx, [esp + 0x50]
call fcn.00439e00
mov ecx, dword [0x462750]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
push ecx
push 4
call fcn.00435990
push eax
lea ecx, [esp + 0x50]
call fcn.00439e00
lea edx, [esp + 0x10]
push edx
push ebx
push 5
mov dword [esp + 0x34], eax
call fcn.00435990
push eax
lea ecx, [esp + 0x50]
call fcn.00439e00
mov ecx, dword [0x45e950]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
push ecx
push 6
call fcn.00435990
push eax
lea ecx, [esp + 0x50]
call fcn.00439e00
lea edx, [esp + 0x10]
push edx
push ebx
push 7
mov dword [esp + 0x3c], eax
call fcn.00435990
push eax
lea ecx, [esp + 0x50]
call fcn.00439e00
mov ecx, dword [0x46274c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
push eax
push ecx
push 8
call fcn.00435990
push eax
lea ecx, [esp + 0x50]
call fcn.00439e00
lea edx, [esp + 0x10]
push edx
push ebx
push 9
mov dword [esp + 0x44], eax
call fcn.00435990
push eax
lea ecx, [esp + 0x50]
call fcn.00439e00
mov ecx, dword [edi + 0x370]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
push ecx
push 0xa
call fcn.00435990
push eax
lea ecx, [esp + 0x50]
call fcn.00439e00
push esi
push 1
lea edx, [esp + 0x20]
push 4
push edx
mov dword [esp + 0x50], eax
call fcn.0043ad5e
push esi
push 1
push 0x18
push 0x45e938
call fcn.0043ad5e
push esi
push 1
lea eax, [esp + 0x3c]
push 4
push eax
call fcn.0043ad5e
add esp, 0x30
lea edi, [esp + 0x1c]
mov ebx, 0xa
push esi
push 1
push 4
push edi
call fcn.0043ad5e
add esp, 0x10
add edi, 4
sub ebx, 1
jne 0x4286c5
push esi
call fcn.0043ae57
add esp, 4
lea ecx, [esp + 0x44]
call fcn.004385a0
lea ecx, [esp + 0x44]
mov dword [esp + 0x13d4], 0xffffffff
call fcn.0043a200
mov ecx, dword [esp + 0x13cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x13b8]
xor ecx, esp
call fcn.0043a652
add esp, 0x13c8
ret
Function at 0x431a60
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x460f08], 1
push esi
movzx esi, ax
push esi
jne 0x431a79
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jmp 0x431a87
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, dword [esi*4 + 0x4600e8]
je 0x431ab2
test eax, eax
jne 0x431aa6
mov dword [esi*4 + 0x4600e8], 1
mov eax, 1
pop esi
ret
cmp eax, 1
jne 0x431abc
mov eax, 2
pop esi
ret
cmp eax, 1
je 0x431ac0
cmp eax, 2
je 0x431ac0
xor eax, eax
pop esi
ret
mov dword [esi*4 + 0x4600e8], 0
mov eax, 3
pop esi
ret
Function at 0x433320
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [0x460034]
push edi
movzx edi, word [edx + 0x3a6]
movsx eax, di
add eax, 0xfffffffe
cmp eax, 1
ja 0x4333be
mov ecx, dword [edx + 0x4f8]
cmp ecx, 0x11
jg 0x4333be
test ecx, ecx
je 0x4333be
cmp byte [edx + 0x4f0], 0
je 0x4333be
push esi
lea eax, [ecx - 1]
xor esi, esi
cmp eax, 0x10
ja case.0x433367.15
movzx eax, byte [eax + 0x4333dc]
jmp dword [eax*4 + 0x4333c8]
mov esi, 0x31
jmp case.0x433367.15
mov esi, 0x35
jmp case.0x433367.15
mov esi, 0x27
jmp case.0x433367.15
mov esi, 0x3b
cmp di, 1
je 0x4333a4
mov eax, dword [ecx*8 + 0x45ee58]
mov eax, dword [edx + eax*4 + 0x324]
cmp dword [eax + 0x424], esi
je 0x4333c0
mov ecx, dword [ecx*8 + 0x45ee58]
mov ecx, dword [edx + ecx*4 + 0x324]
push 0
push 0
xor eax, eax
call fcn.004052e0
pop esi
pop edi
ret
pop esi
pop edi
jmp fcn.00405680
Function at 0x43a652
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45d1ac]
jne 0x43a65c
repz ret
jmp fcn.0043c74b

Function at 0x445fa4
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.004425d8
and dword [ebp - 4], 0
cmp dword [0x45fec4], 0
mov ebx, eax
jne 0x446055
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x446106
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x456448
push edi
call esi
test eax, eax
je 0x446106
push eax
call fcn.00442566
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45fec4], eax
call esi
push eax
call fcn.00442566
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45fec8], eax
call esi
push eax
call fcn.00442566
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45fecc], eax
call esi
push eax
call fcn.00442566
pop ecx
mov dword [0x45fed4], eax
test eax, eax
je 0x446055
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00442566
pop ecx
mov dword [0x45fed0], eax
mov eax, dword [0x45fed0]
cmp eax, ebx
je 0x4460ad
cmp dword [0x45fed4], ebx
je 0x4460ad
push eax
call fcn.004425e1
push dword [0x45fed4]
mov esi, eax
call fcn.004425e1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4460ad
test edi, edi
je 0x4460ad
call esi
test eax, eax
je 0x4460a4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4460a4
test byte [ebp - 0xc], 1
jne 0x4460ad
or dword [ebp + 0x10], 0x200000
jmp 0x4460e6
mov eax, dword [0x45fec8]
cmp eax, ebx
je 0x4460e6
push eax
call fcn.004425e1
pop ecx
test eax, eax
je 0x4460e6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4460e6
mov eax, dword [0x45fecc]
cmp eax, ebx
je 0x4460e6
push eax
call fcn.004425e1
pop ecx
test eax, eax
je 0x4460e6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45fec4]
call fcn.004425e1
pop ecx
test eax, eax
je 0x446106
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x446108
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a0b3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000a0f2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000a0f2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000a0f2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000a0f2
cmp dword [ecx + 0x74], 0xe
jbe 0x1000a0f2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1000cd6f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000ce0c
push ebx
push esi
call fcn.1000cd38
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000cccc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000cdb9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000ce0b
push edi
push eax
call fcn.1000dd2d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000cdd9
call fcn.1000b814
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000ce0a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000cccc
add esp, 0x20
test eax, eax
jne 0x1000cdf8
push edi
call fcn.1000b814
jmp 0x1000ce00
push ebx
call fcn.1000b814
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000d07c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014668
push 0x10014660
push str.FlsAlloc
push 0x1f
call fcn.1000cf98
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d0b0
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013150]
call esi
jmp 0x1000d0b6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000d0fa
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014678
push 0x10014670
push str.FlsGetValue
push 0x21
call fcn.1000cf98
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d131
push dword [ebp + 8]
mov ecx, esi
call dword [0x10013150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000d139
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10014680
push 0x10014678
push str.FlsSetValue
push 0x22
call fcn.1000cf98
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d173
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10013150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10012800
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001282d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001282d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4013b2
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x34], edi
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41a318]
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a31c]
mov dword [ebp - 0x2c], eax
call fcn.004013ab
mov esi, dword [ebp - 0x10]
mov ecx, dword [0x41a320]
add esi, 0x23f
mov eax, dword [0x41a324]
push 0x20
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x1c], 0xedeb2e40
cmp dword [0x4f2d48], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x4f2d44]
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp dword [0x4f2d48], 0x3eb
mov dword [0x4f2d44], eax
mov eax, dword [0x4f27d0]
cmove eax, dword [ebp - 0x1c]
mov dword [0x4f27d0], eax
lea eax, [esi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [0x4f2d40], 0xf4ea3dee
shl eax, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x1c]
cmp dword [0x4f2d48], 0xb03
mov dword [ebp - 4], eax
jne 0x4014df
push str.Poh_pabatosipixalilasexamupopajohija_xopitotazucepewifodufalejilemi_karemabuzaniyuzavegusaribufate
push edx
push edx
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
add esi, 0x61c88647
mov dword [ebp - 0x10], esi
dec edi
jne 0x401404
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], ebx
mov dword [edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001d00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x1002d018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
xor eax, eax
push esi
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
push edi
mov ecx, 0x3d69c9e4
lea eax, [ebp - 0x218]
mov dword [ebp - 0x244], 0
call fcn.1001a770
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
test eax, eax
sete al
test al, al
je 0x10001db3
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x10025838
sub edi, 0x7e80af00
lea esi, [ebp - 0x230]
call fcn.1001a7f0
lea edx, [ebp - 0x108]
push edx
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x234], eax
jmp 0x10001de1
mov ecx, 0x3d69c9e4
lea eax, [ebp - 0x218]
call fcn.1001a770
push eax
call esi
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov word [ebp - 0x210], ax
cmp dword [ebp - 0x234], 0
jne 0x10001e18
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x23c]
mov dword [ebx], edx
mov dword [ebx + 4], eax
pop edi
mov dword [ebx + 8], ecx
mov eax, ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f345
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x238]
push edx
call esi
mov edi, 0x4bdde681
lea esi, [ebp - 0x230]
mov dword [ebp - 0x238], eax
call fcn.1001a830
push eax
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x238]
push 0xc
lea ecx, [ebp - 0x244]
mov esi, eax
xor eax, eax
push ecx
push edx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov byte [ebp - 0x21c], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x240]
mov edx, dword [ebp - 0x23c]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [ebx + 8], edx
mov eax, ebx
pop esi
call fcn.1001f345
mov esp, ebp
pop ebp
ret 4
Function at 0x10002bc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1002d018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_strtoul]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x10
lea eax, [ebp - 0xc]
push 0
push eax
mov dword [ebp - 0xc], 0x46317830
mov word [ebp - 8], 0x44
call ebx
push 0x10
lea ecx, [ebp - 0x14]
add eax, edi
push 0
push ecx
mov dword [esi + 4], eax
mov dword [ebp - 0x14], 0x46317830
mov word [ebp - 0x10], 0x45
call ebx
mov dword [ebp - 0xc], eax
add esp, 0x18
mov ecx, 0x102a6ae5
lea eax, [ebp - 0x20]
call fcn.1001ab00
push 0x10
push 0
push eax
call ebx
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov ebx, eax
push edx
mov ecx, 0x102a6ad9
lea eax, [ebp - 0x2c]
call fcn.1001aa70
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, ebx
push eax
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001f345
mov esp, ebp
pop ebp
ret 8

Function at 0x10002d20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [esi]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
call ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10002d70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10029938
push 0x1001f989
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1002d018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov ebx, edx
mov dword [ebp - 4], 0
lea eax, [edi + 5]
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push 0x40
lea eax, [edi + 5]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x20]
push ecx
push 0x40
lea eax, [edi + 5]
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
push esi
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add esi, edi
mov byte [esi], 0xe9
mov eax, ebx
sub eax, esi
lea ecx, [eax + edi - 5]
mov dword [esi + 1], ecx
lea edx, [ebp - 0x1c]
push edx
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [ebx], 0xe9
mov eax, dword [ebp + 8]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
sub esi, edi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10002e80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
mov ecx, dword [ebp + 8]
push esi
push ecx
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 8]
push edx
push eax
push esi
push edi
call ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop ebx
mov esp, ebp
pop ebp
ret 4