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

Disassembly:
push 0xffffffffffffffff
push 0x100578b0
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100703c4]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x17]
push eax
xor ebx, ebx
push 0x800
lea ecx, [esp + 0x40]
mov byte [esp + 0x1f], bl
call fcn.10005da0
mov ecx, dword [esi + 0x88]
xor eax, eax
mov dword [esp + 0x2c], eax
push ebx
mov dword [esp + 0x30], ecx
push 2
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea edx, [esi + 0x94]
lea eax, [esi + 0x84]
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0xac], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
call fcn.1000de56
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [esp + 0xa0], 1
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
mov dword [esp + 0x18], ebx
jne 0x10007392
xor edi, edi
jmp 0x1000739e
mov eax, dword [esp + 0x40]
sub eax, ecx
cmp eax, ebx
mov edi, eax
ja 0x100073a7
call fcn.1002ba4f
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
push ecx
mov ecx, dword [esi + 0x24]
push ecx
call ebp
or edi, 0xffffffff
cmp eax, ebx
jne 0x100073f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x100073f0
push eax
push str.ImdAdapterLink_Read_failed__error:__i_n
push 2
push esi
call fcn.10006060
mov edx, dword [esi + 0x88]
add esp, 0x10
push edx
mov edi, 0x7d0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push ebx
push edi
lea ecx, [esp + 0x54]
call fcn.1000dc28
sub eax, ebx
je 0x10007454
sub eax, 1
jne 0x10007382
mov edx, dword [esi + 0x24]
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp eax, ebx
jne 0x1000743e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ImdAdptLink_error_retrieving_Overlapped_result:__i_n
push 2
push esi
call fcn.10006060
add esp, 0x10
jmp 0x10007382
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.10006990
jmp 0x10007382
mov edx, dword [esi + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CancelIo]
lea ecx, [esp + 0x48]
mov byte [esp + 0xa0], bl
call fcn.1000de15
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x1000747f
push eax
call fcn.1000b4c6
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
Function at 0x10007e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10007e59
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10007e94
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10007e90
lea ebx, [ebx]
cmp esi, eax
jae 0x10007e94
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10007e80
cmp esi, eax
jb 0x10007e9a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x1000aae0
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0
push 4
push 0
push 0
push eax
push 0x1000aa50
mov edi, ecx
call fcn.1000ec3b
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esi + 0x2c]
push 0
push 0
push 0x100000
lea ebx, [edi + 4]
push ebx
push eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edx, dword [esi + 0x30]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
cmp dword [ebx], eax
pop edi
pop esi
setne al
pop ebx
ret 4

Function at 0x1000ab80
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x100703c4]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [0x1007186c]
test eax, eax
jne 0x1000acd0
push esi
push 0x11c
push eax
lea eax, [esp + 0xc]
push eax
mov dword [0x1007186c], 1
call fcn.1002cff0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x11c
call esi
test eax, eax
jne 0x1000ac10
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x114
call esi
test eax, eax
jne 0x1000ac10
mov dword [0x1007186c], 1
mov eax, 1
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.1002c260
add esp, 0x120
ret
mov eax, dword [esp + 0x14]
sub eax, 1
je 0x1000ac8f
sub eax, 1
jne 0x1000acca
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x1000ac7e
mov eax, dword [esp + 0xc]
cmp eax, 2
jne 0x1000ac5d
cmp dword [esp + 4], 0x11c
jne 0x1000acca
mov al, byte [esp + 0x11e]
cmp al, 3
je 0x1000ac72
cmp al, 1
jne 0x1000acca
mov dword [0x1007186c], 8
jmp 0x1000acca
cmp eax, 1
jne 0x1000ac6e
mov dword [0x1007186c], 7
jmp 0x1000acca
test eax, eax
jne 0x1000acca
mov dword [0x1007186c], 6
jmp 0x1000acca
cmp eax, 4
ja 0x1000acca
mov dword [0x1007186c], 5
jmp 0x1000acca
mov ecx, 4
cmp dword [esp + 8], ecx
jne 0x1000acca
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x1000acae
mov dword [0x1007186c], 2
jmp 0x1000acca
cmp eax, 0xa
jne 0x1000acbf
mov dword [0x1007186c], 3
jmp 0x1000acca
cmp eax, 0x5a
jne 0x1000acca
mov dword [0x1007186c], ecx
mov eax, dword [0x1007186c]
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.1002c260
add esp, 0x120
ret
Function at 0x1000afe0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10057d50
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x100703c4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.100094a0
mov dword [esp + 0x20], 0
call fcn.1000ce2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x1000b035
push 0x80004005
call fcn.10001020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
mov eax, dword [esi - 8]
mov ecx, 1
mov byte [esp + 0x20], cl
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
jge 0x1000b06f
push 0x105
lea ecx, [esp + 0x10]
call fcn.10004260
mov esi, dword [esp + 0xc]
push 0x105
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test esi, esi
jne 0x1000b083
xor eax, eax
jmp 0x1000b0a5
mov eax, esi
lea edx, [eax + 2]
jmp 0x1000b090
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000b090
sub eax, edx
sar eax, 1
js 0x1000b157
cmp eax, dword [esi - 8]
jg 0x1000b157
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.1000af60
mov eax, dword [eax]
push eax
push esi
call fcn.1002d20c
add esp, 8
test eax, eax
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000b0fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b11b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b143
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
push 0x80070057
call fcn.10001020
int3
Function at 0x1000b170
Capabilities:
Get file version info

Disassembly:
sub esp, 0x28
push ebx
push ebp
xor ebp, ebp
mov byte [esp + 9], 0
mov dword [esp + 0x14], ebp
mov byte [esp + 0xa], 0
call fcn.1000acf0
test al, al
mov ebx, dword [esp + 0x34]
je 0x1000b1b5
push ebx
call fcn.1000afe0
add esp, 4
test al, al
je 0x1000b1b5
lea eax, [esp + 0x14]
push eax
call fcn.1000ad00
add esp, 4
test al, al
je 0x1000b1b5
mov byte [esp + 0xa], 1
push esi
push edi
lea ecx, [esp + 0x20]
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebp
je 0x1000b286
lea edx, [esp + 0x13]
push edx
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x1b], 0
call fcn.10005da0
mov esi, dword [esp + 0x2c]
cmp esi, ebp
mov ebp, dword [esp + 0x30]
je 0x1000b1fa
mov eax, ebp
sub eax, esi
jne 0x1000b1ff
call fcn.1002ba4f
mov ecx, dword [esp + 0x20]
push esi
push edi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test esi, esi
je 0x1000b214
sub ebp, esi
jne 0x1000b219
call fcn.1002ba4f
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x1005d3ec
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1000b273
cmp dword [esp + 0x14], 0
je 0x1000b273
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1000b273
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov edi, dword [esp + 0x40]
mov edx, eax
shr edx, 0x10
mov dword [edi], edx
mov edx, dword [esp + 0x44]
movzx eax, ax
mov dword [edx], eax
mov edx, dword [esp + 0x48]
mov eax, ecx
shr eax, 0x10
mov dword [edx], eax
movzx eax, cx
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov bl, 1
jmp 0x1000b277
mov bl, byte [esp + 0x11]
test esi, esi
je 0x1000b28a
push esi
call fcn.1000b4c6
add esp, 4
jmp 0x1000b28a
mov bl, byte [esp + 0x11]
cmp byte [esp + 0x12], 0
pop edi
pop esi
je 0x1000b2a0
mov edx, dword [esp + 0x14]
push edx
call fcn.1000ad40
add esp, 4
pop ebp
mov al, bl
pop ebx
add esp, 0x28
ret

Function at 0x1000f371
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100703c4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x1000f3ae
push 0x1005dc20
push 4
push eax
call fcn.1002d920
push eax
call fcn.10007c40
add esp, 0x10
jmp 0x1000f3c0
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1000f42b
push edi
call fcn.1002db9a
mov edi, dword [eax]
call fcn.1002db9a
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.1002cf01
add esp, 0x18
mov ebx, eax
call fcn.1002db9a
cmp dword [eax], 0
je 0x1000f40b
call fcn.1002db9a
push dword [eax]
call fcn.1000be59
pop ecx
jmp 0x1000f412
call fcn.1002db9a
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x1000f42b
cmp ebx, esi
jae 0x1000f42b
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x1000f42d
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c260
leave
ret
Function at 0x1001de7e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x1001deb7
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1000e067
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100085b0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x10028401
Capabilities:
Contain obfuscated stackstrings

Disassembly:
adc esi, eax
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10028027
push eax
push esi
push dword [ebp + 8]
call fcn.10027fdc
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
fistp word [ecx - 0x3a]
inc ebp
loopne 0x100284b2
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10028027
push eax
push esi
push dword [ebp + 8]
call fcn.10027fdc
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10028017
test al, 0xa1
jecxz 0x100284b4
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10028017
lodsd eax, dword [esi]
jp 0x100284c3
adc byte [ecx - 0x3a], 0x45
xor dword [ebx - 0x3a], 0xc6628245
inc ebp
sbb dword [ebx - 0x3a], 0x45
inc ebp
test byte [ecx - 0x3a], bh
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
bound ecx, qword [ebp - 0x837b]
call dword [eax - 0x18]
sbb al, 0xfb
invalid

Function at 0x1002c260
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100703c4]
jne 0x1002c26a
repz ret
jmp fcn.1003486c
Function at 0x10032799
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10070568]
je 0x100327b4
inc edi
cmp edi, 0x17
jb 0x100327a5
cmp edi, 0x17
jae 0x10032934
push ebp
push 3
call fcn.10044612
cmp eax, 1
pop ecx
je 0x10032900
push 3
call fcn.10044612
test eax, eax
pop ecx
jne 0x100327e8
cmp dword [0x10073834], 1
je 0x10032900
cmp ebx, 0xfc
je 0x10032933
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x10073890
push ebp
call fcn.100334d5
add esp, 0xc
test eax, eax
je 0x1003281e
push esi
push esi
push esi
push esi
push esi
call fcn.1002b8f7
add esp, 0x14
push 0x104
mov esi, 0x100738a9
push esi
push 0
mov byte [0x100739ad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10032862
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.100334d5
add esp, 0xc
test eax, eax
je 0x10032862
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1002b8f7
add esp, 0x14
push esi
call fcn.10033540
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x100328a7
push esi
call fcn.10033540
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x10073ba4
push 0x1006082c
sub ecx, eax
push ecx
push eax
call fcn.1004455f
add esp, 0x14
test eax, eax
je 0x100328a7
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1002b8f7
add esp, 0x14
jmp 0x100328a9
xor esi, esi
push 0x10060828
push ebx
push ebp
call fcn.100444ee
add esp, 0xc
test eax, eax
je 0x100328c9
push esi
push esi
push esi
push esi
push esi
call fcn.1002b8f7
add esp, 0x14
push dword [edi*8 + 0x1007056c]
push ebx
push ebp
call fcn.100444ee
add esp, 0xc
test eax, eax
je 0x100328eb
push esi
push esi
push esi
push esi
push esi
call fcn.1002b8f7
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.10044331
add esp, 0xc
jmp 0x10032933
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10032933
cmp ebp, 0xffffffff
je 0x10032933
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1007056c]
push dword [esi]
call fcn.10033540
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10044331
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10032a6c
xor ebx, ebx
cmp dword [0x100742ac], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10044407
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x100444e7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x100444e7
push eax
call fcn.100329fe
mov dword [esp], 0x100615f0
push edi
mov dword [0x100742ac], eax
call esi
push eax
call fcn.100329fe
mov dword [esp], 0x100615dc
push edi
mov dword [0x100742b0], eax
call esi
push eax
call fcn.100329fe
mov dword [0x100742b4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002e16f
test eax, eax
pop ecx
pop ecx
je 0x100443d5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1002b8f7
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x10044407
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.100329fe
cmp eax, ebx
pop ecx
mov dword [0x100742bc], eax
je 0x10044407
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100329fe
pop ecx
mov dword [0x100742b8], eax
mov eax, dword [0x100742b8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1004448c
cmp dword [0x100742bc], ecx
je 0x1004448c
push eax
call fcn.10032a75
push dword [0x100742bc]
mov esi, eax
call fcn.10032a75
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1004448c
cmp edi, ebx
je 0x1004448c
call esi
cmp eax, ebx
je 0x10044459
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10044459
test byte [ebp - 0x18], 1
jne 0x1004448c
lea eax, [ebp - 0x10]
push eax
call fcn.1002e21e
test eax, eax
pop ecx
je 0x10044474
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1002b8f7
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x10044483
or dword [ebp + 0x10], 0x200000
jmp 0x100444c7
or dword [ebp + 0x10], 0x40000
jmp 0x100444c7
mov eax, dword [0x100742b0]
cmp eax, dword [ebp - 8]
je 0x100444c7
push eax
call fcn.10032a75
cmp eax, ebx
pop ecx
je 0x100444c7
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100444c7
mov eax, dword [0x100742b4]
cmp eax, dword [ebp - 8]
je 0x100444c7
push eax
call fcn.10032a75
cmp eax, ebx
pop ecx
je 0x100444c7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100742ac]
call fcn.10032a75
cmp eax, ebx
pop ecx
je 0x100444e7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100444e9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10056d1e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x100703c4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.10056b7d
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.1002cff0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x10056d6d
cmp dword [ebp - 0x1c], 5
jb 0x10056d85
jmp 0x10056d81
cmp dword [ebp - 0x10], 1
jne 0x10056d85
cmp dword [ebp - 0x1c], 4
ja 0x10056d81
jne 0x10056d85
cmp dword [ebp - 0x18], 0
jbe 0x10056d85
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x10064da0
call fcn.1005693a
test eax, eax
jge 0x10056da6
mov byte [0x10071860], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002c260
add ebp, 0x78
leave
ret
Function at 0x10001d40
Capabilities:
Check for debugger via api
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1014d084]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
call fcn.10001ca0
test eax, eax
jne 0x10001e97
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], 0
jne 0x10001e97
movaps xmm0, xmmword [0x1013dc30]
push ebx
push esi
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x4678797f
xor esi, esi
mov dword [ebp - 0x20], 0x73757964
mov word [ebp - 0x1c], 0x6565
mov byte [ebp - 0x1a], 0
nop dword [eax]
cmp esi, 0x1a
jb 0x10001dcc
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0x33]
xor bl, byte [ebp - 0x34]
cmp esi, 0x1a
jb 0x10001def
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0x33], bl
inc esi
cmp esi, 0x19
jb 0x10001db0
mov byte [ebp - 0x1a], 0
xor esi, esi
mov dword [ebp - 0x18], 0x37273d53
mov dword [ebp - 0x14], 0x377d3f3f
mov word [ebp - 0x10], 0x3f3f
mov byte [ebp - 0xe], 0
cmp esi, 0xa
jb 0x10001e33
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0x17]
xor bl, byte [ebp - 0x18]
cmp esi, 0xa
jb 0x10001e56
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0x17], bl
inc esi
cmp esi, 9
jb 0x10001e17
lea eax, [ebp - 0x33]
mov byte [ebp - 0xe], 0
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop esi
pop ebx
test eax, eax
je 0x10001e9f
push 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x10001e9f
cmp dword [ebp - 0xc], 0
je 0x10001e9f
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10075bf0
mov esp, ebp
pop ebp
ret
Function at 0x10001eb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x1013dc20]
push ebx
push esi
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x746e4264
xor esi, esi
mov dword [ebp - 0x18], 0x7364756f
mov byte [ebp - 0x14], 0
cmp esi, 0x18
jb 0x10001ef3
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0x2b]
xor bl, byte [ebp - 0x2c]
cmp esi, 0x18
jb 0x10001f16
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0x2b], bl
inc esi
cmp esi, 0x17
jb 0x10001ed7
mov byte [ebp - 0x14], 0
xor esi, esi
mov dword [ebp - 0x10], 0x50474922
mov dword [ebp - 0xc], 0x114e474c
mov dword [ebp - 8], 0x4e460c10
mov word [ebp - 4], 0x4e
cmp esi, 0xd
jb 0x10001f5d
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov bl, byte [ebp + esi - 0xf]
xor bl, byte [ebp - 0x10]
cmp esi, 0xd
jb 0x10001f80
push 0x90
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCinclude_array
push str.array_subscript_out_of_range
call fcn.10066030
add esp, 0xc
mov byte [ebp + esi - 0xf], bl
inc esi
cmp esi, 0xc
jb 0x10001f41
lea eax, [ebp - 0x2b]
mov byte [ebp - 3], 0
push eax
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1001ab30
pop esi
pop ebx
cmp al, 0xe9
jne 0x10001fb8
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret