joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1034739
Capabilities:
Terminate process

Disassembly:
push 0x60
push 0x105fb80
call fcn.01035148
and dword [ebp - 4], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov edi, 0x94
push edi
push 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x10345a5
push 0x12
call fcn.010344f5
pop ecx
jmp 0x103472e
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push esi
push 0
or eax, eax
jne 0x10345c3
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x103472e
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], eax
mov edi, dword [esi + 0xc]
and edi, 0x7fff
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0x20]
cmp esi, 2
je 0x10345f5
or edi, 0x8000
mov ecx, dword [ebp - 0x24]
mov eax, ecx
shl eax, 8
mov edx, dword [ebp - 0x28]
add eax, edx
mov dword [0x1069144], esi
mov dword [0x106914c], eax
mov dword [0x1069150], ecx
mov dword [0x1069154], edx
mov dword [0x1069148], edi
call fcn.01034519
mov dword [ebp - 0x20], eax
xor ebx, ebx
inc ebx
push ebx
call fcn.01038e36
pop ecx
or eax, eax
jne 0x103463d
push 0x1c
call fcn.010344f5
pop ecx
call fcn.01038c57
test eax, eax
jne 0x103464e
push 0x10
call fcn.010344f5
pop ecx
call fcn.0103873a
mov dword [ebp - 4], ebx
call fcn.010384fa
or eax, eax
jge 0x1034667
push 0x1b
call fcn.01037990
pop ecx
call fcn.0103845b
mov dword [0x106aed4], eax
call fcn.010382fa
mov dword [0x106911c], eax
call fcn.0103824f
or eax, eax
jge 0x103468c
push 8
call fcn.01037990
pop ecx
call fcn.01038029
test eax, eax
jge 0x103469d
push 9
call fcn.01037990
pop ecx
push ebx
call fcn.01037aac
pop ecx
or eax, eax
je 0x10346af
push eax
call fcn.01037990
pop ecx
call fcn.01037fe3
test byte [ebp - 0x44], bl
je 0x10346bf
movzx ecx, word [ebp - 0x40]
jmp 0x10346c2
push 0xa
pop ecx
push ecx
push eax
push 0
push 0x1000000
call main
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0
jne 0x10346df
push eax
call fcn.01037c20
call fcn.01037c42
jmp 0x1034714
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
jmp 0x1034733
mov eax, 0xff
call fcn.0103518d
ret
call fcn.01038e90
jmp 0x103455a

Function at 0x1034b54
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1066c80]
jne 0x1034b5e
repz ret
jmp fcn.01039d9c

Function at 0x1036505
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [0x1069134]
call fcn.01038865
test eax, eax
pop ecx
je 0x103651b
pop ebx
jmp eax
push 2
call fcn.0103d775
pop ecx
pop ebp
jmp fcn.01036409
Function at 0x1036d57
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 4], ebx
jne 0x1036d85
call fcn.0103ab81
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [eax], 0x16
call fcn.01036505
add esp, 0x14
xor eax, eax
jmp 0x1036e01
push edi
call fcn.010388f7
push 0x214
push 1
call fcn.0103afc5
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x1036de9
call fcn.01038ab5
push dword [eax + 0x6c]
push edi
call fcn.0103897f
mov eax, dword [ebp + 0x14]
or dword [edi + 4], 0xffffffff
mov dword [edi + 0x58], eax
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
pop ecx
pop ecx
mov dword [edi + 0x54], esi
jne 0x1036dc6
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push edi
push 0x1036cd7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
jne 0x1036e00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push edi
call fcn.01034e45
cmp dword [ebp - 4], ebx
pop ecx
je 0x1036dfe
push dword [ebp - 4]
call fcn.0103aba7
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1037cac
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 + 0x1066d38]
je 0x1037cc7
inc edi
cmp edi, 0x17
jb 0x1037cb8
cmp edi, 0x17
jae 0x1037e47
push ebp
push 3
call fcn.0103f083
cmp eax, 1
pop ecx
je 0x1037e13
push 3
call fcn.0103f083
test eax, eax
pop ecx
jne 0x1037cfb
cmp dword [0x1066c60], 1
je 0x1037e13
cmp ebx, 0xfc
je 0x1037e46
mov ebp, 0x1069188
push 0x1004ee8
mov ebx, 0x314
push ebx
push ebp
call fcn.0103d315
add esp, 0xc
test eax, eax
je 0x1037d31
push esi
push esi
push esi
push esi
push esi
call fcn.01036409
add esp, 0x14
mov esi, 0x10691a1
push 0x104
push esi
push 0
mov byte [0x10692a5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1037d75
push 0x1004ed0
push 0x2fb
push esi
call fcn.0103d315
add esp, 0xc
test eax, eax
je 0x1037d75
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.01036409
add esp, 0x14
push esi
call fcn.0103d380
pop ecx
inc eax
cmp eax, 0x3c
jbe 0x1037dba
push esi
call fcn.0103d380
mov ecx, 0x106949c
sub esi, 0x3b
add eax, esi
sub ecx, eax
push 3
push 0x1004ecc
push ecx
push eax
call fcn.0103efd0
add esp, 0x14
test eax, eax
je 0x1037dba
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.01036409
add esp, 0x14
jmp 0x1037dbc
xor esi, esi
push 0x1004ec8
push ebx
push ebp
call fcn.0103ef5f
add esp, 0xc
test eax, eax
je 0x1037ddc
push esi
push esi
push esi
push esi
push esi
call fcn.01036409
add esp, 0x14
push dword [edi*8 + 0x1066d3c]
push ebx
push ebp
call fcn.0103ef5f
add esp, 0xc
test eax, eax
je 0x1037dfe
push esi
push esi
push esi
push esi
push esi
call fcn.01036409
add esp, 0x14
push 0x12010
push 0x1004ea0
push ebp
call fcn.0103eda2
add esp, 0xc
jmp 0x1037e46
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1037e46
cmp ebp, 0xffffffff
je 0x1037e46
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1066d3c]
push dword [esi]
call fcn.0103d380
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 0x10382fa
Capabilities:
Query environment variable

Disassembly:
push ecx
mov eax, dword [0x10696ac]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push ebp
push esi
push edi
xor esi, esi
xor edi, edi
cmp eax, esi
jne 0x1038340
call ebx
mov edi, eax
cmp edi, esi
je 0x1038326
mov dword [0x10696ac], 1
jmp 0x1038345
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x103833b
push 2
pop eax
mov dword [0x10696ac], eax
jmp 0x1038340
mov eax, dword [0x10696ac]
cmp eax, 1
jne 0x1038399
cmp edi, esi
jne 0x1038358
call ebx
mov edi, eax
cmp edi, esi
jne 0x1038358
xor eax, eax
jmp 0x103844c
cmp word [edi], si
mov eax, edi
je 0x103836d
inc eax
inc eax
cmp word [eax], si
jne 0x103835f
inc eax
inc eax
cmp word [eax], si
jne 0x103835f
sub eax, edi
inc eax
inc eax
mov esi, eax
push esi
call fcn.0103af85
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x103838c
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x103844a
push esi
push edi
push ebx
call fcn.010375e0
add esp, 0xc
jmp 0x1038380
cmp eax, 2
je 0x10383a2
cmp eax, esi
jne 0x1038351
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
je 0x1038351
cmp byte [ebp], bl
mov edi, ebp
je 0x10383da
push ebx
push ebx
push 0xffffffffffffffff
push edi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x1038351
push edi
add esi, eax
call fcn.0103d380
lea edi, [edi + eax + 1]
cmp byte [edi], bl
pop ecx
jne 0x10383b7
inc esi
push 2
push esi
mov dword [esp + 0x18], esi
call fcn.0103afc5
mov ebx, eax
or ebx, ebx
pop esi
pop ecx
jne 0x10383fb
push ebp
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x1038351
cmp byte [ebp], 0
mov esi, ebp
mov edi, ebx
je 0x103843f
mov ecx, dword [esp + 0x10]
mov eax, edi
sub eax, ebx
sar eax, 1
sub ecx, eax
push ecx
push edi
push 0xffffffffffffffff
push esi
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1038452
push esi
call fcn.0103d380
push edi
lea esi, [esi + eax + 1]
call fcn.0103e5b5
cmp byte [esi], 0
pop ecx
pop ecx
lea edi, [edi + eax*2 + 2]
jne 0x1038405
and word [edi], 0
push ebp
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push ebx
call fcn.01034e45
pop ecx
jmp 0x10383ef
Function at 0x103845b
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [0x10696b0]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jne 0x103849b
call esi
test eax, eax
je 0x1038480
mov dword [0x10696b0], 1
jmp 0x10384a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x1038497
mov dword [0x10696b0], 2
jmp 0x10384a9
xor eax, eax
jmp 0x10384f7
cmp eax, 1
jne 0x10384a4
call esi
jmp 0x10384f7
cmp eax, 2
jne 0x1038497
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
mov ebp, eax
push ebp
push 1
push ebx
call esi
mov edi, eax
cmp edi, ebx
je 0x10384f3
push 2
push edi
call fcn.0103afc5
mov ebx, eax
or ebx, ebx
pop ecx
pop ecx
je 0x10384f3
push edi
push ebx
push 0xffffffffffffffff
push ebp
push 1
push 0
call esi
test eax, eax
je 0x10384ec
mov eax, ebx
jmp 0x10384f5
push ebx
call fcn.01034e45
pop ecx
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
ret

Function at 0x103ad80
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x3c]
add edx, eax
movzx eax, word [edx + 0x14]
lea eax, [eax + edx + 0x18]
push ebx
push esi
xor esi, esi
movzx ebx, word [edx + 6]
push edi
test ebx, ebx
jbe 0x103adbc
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
cmp ecx, edx
jb 0x103adb2
mov edi, dword [eax + 8]
add edi, edx
cmp ecx, edi
jb 0x103adbe
add esi, 1
add eax, 0x28
cmp esi, ebx
jb 0x103ada2
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x103eda2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0103885c
xor ebx, ebx
cmp dword [0x1069bcc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x103ee78
push 0x10050e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x103ef58
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10050d8
push edi
call esi
cmp eax, ebx
je 0x103ef58
push eax
call fcn.010387ee
mov dword [esp], 0x10050c8
push edi
mov dword [0x1069bcc], eax
call esi
push eax
call fcn.010387ee
mov dword [esp], 0x10050b4
push edi
mov dword [0x1069bd0], eax
call esi
push eax
call fcn.010387ee
mov dword [0x1069bd4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.01037a39
test eax, eax
pop ecx
pop ecx
je 0x103ee46
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.01036409
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x103ee78
push 0x1005098
push edi
call esi
push eax
call fcn.010387ee
pop ecx
cmp eax, ebx
mov dword [0x1069bdc], eax
je 0x103ee78
push 0x1005080
push edi
call esi
push eax
call fcn.010387ee
pop edi
mov dword [0x1069bd8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [0x1069bd8]
cmp eax, ecx
je 0x103eefd
cmp dword [0x1069bdc], ecx
je 0x103eefd
push eax
call fcn.01038865
push dword [0x1069bdc]
mov esi, eax
call fcn.01038865
cmp esi, ebx
mov edi, eax
pop ecx
pop ecx
je 0x103eefd
cmp edi, ebx
je 0x103eefd
call esi
cmp eax, ebx
je 0x103eeca
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x103eeca
test byte [ebp - 0x18], 1
jne 0x103eefd
lea eax, [ebp - 0x10]
push eax
call fcn.01037a70
test eax, eax
pop ecx
je 0x103eee5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.01036409
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x103eef4
or dword [ebp + 0x10], 0x200000
jmp 0x103ef38
or dword [ebp + 0x10], 0x40000
jmp 0x103ef38
mov eax, dword [0x1069bd0]
cmp eax, dword [ebp - 8]
je 0x103ef38
push eax
call fcn.01038865
pop ecx
cmp eax, ebx
je 0x103ef38
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x103ef38
mov eax, dword [0x1069bd4]
cmp eax, dword [ebp - 8]
je 0x103ef38
push eax
call fcn.01038865
cmp eax, ebx
pop ecx
je 0x103ef38
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1069bcc]
call fcn.01038865
cmp eax, ebx
pop ecx
je 0x103ef58
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x103ef5a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4098b6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x417004]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
lea ecx, [ebp - 0x6c]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ecx
push 0x20019
push ebx
movzx eax, al
push 0x406e10
sub eax, 0x7fffffff
mov dword [ebp - 0x6c], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x409918
push 0x406dcc
mov ecx, esi
call fcn.00409db3
cmp dword [ebp - 0x6c], ebx
je 0x4099c0
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4099c0
push edi
push 0x64
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], ebx
push ebx
push eax
call fcn.0040cf80
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push 0x406db8
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4099a5
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x4099a5
cmp dword [ebp - 0x70], 1
jne 0x4099a5
shr edi, 1
cmp edi, 0x32
jae 0x4099a5
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push 0x406db8
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [edi + edi]
mov edx, eax
cmp word [ebp + ecx - 0x6a], bx
je 0x409996
lea eax, [edi + 1]
cmp eax, 0x32
jae 0x409996
cmp ecx, 0x64
jae 0x4099d2
xor eax, eax
mov word [ebp + ecx - 0x68], ax
lea eax, [ebp - 0x68]
test edx, edx
je 0x4099a2
mov eax, 0x406dcc
push eax
jmp 0x4099aa
push 0x406dcc
mov ecx, esi
call fcn.00409db3
cmp dword [ebp - 0x6c], ebx
je 0x4099bf
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b2a3
leave
ret 8
call fcn.0040b3d3
int3

Function at 0x40dd24
Capabilities:
Contain obfuscated stackstrings

Disassembly:
les edx, [eax]
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
invalid
invalid
dec dword [ebx - 0xe0807bb]
invalid
test edx, edx
je 0x40dd53
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
invalid

Function at 0x40ddd1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call 0xe99e6626
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
salc
Function at 0x40e154
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40e119
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
or byte [ebx], al
ror byte [ecx - 0x35c4f7b3], 1
or byte [ebx], al
ror byte [ecx - 0x35c4f7b3], 1
jae 0x40e114
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40e0fe
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40e106
cmp edx, ebx
jne 0x40e254
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40e0d5
add eax, dword [eax + 4]
jmp 0x40e0c2
mov dword [ebp + 0xc], ebx
jmp 0x40e124
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40e13c
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40e15a
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
add byte [eax], al
invalid
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
invalid

Function at 0x40e2cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
invalid
invalid
invalid
Function at 0x40f9c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x40fb0b
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.0040d9d6
add esp, 0xc
jmp 0x40f9dd
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.0040da65
sub al, 0xc5
jnp 0x40fa29
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x40fa48
lea eax, [ebp - 0x714]
push eax
call fcn.0040da75
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0040da2a
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x40fa48
jmp 0x40f407
cmp dword [ebp - 0x37c], 0
je 0x40fa56
jmp 0x40fb0b
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x40faaf
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x40fab4
jmp 0x40f407
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x40fafb
lea eax, [ebp - 0x714]
push eax
call fcn.0040da75
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0040da2a
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x40fb06
jmp 0x40fb0b
jmp 0x40f407
cmp dword [ebp - 0x37c], 0
jne 0x40fbb5
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax

Function at 0x416590
Capabilities:
Parse pe header

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

Disassembly:
pushal
call 0x8e11c6
pop ebp
sub ebp, 6
sub ebp, 0x4e11c0
jmp 0x8e1224
jmp 0x8e122d
mov eax, 0x4e11c0
add eax, ebp
add eax, 0x93
mov ecx, 0x616
mov edx, 0x731b5912
pop ecx
sbb esi, dword [ebx + 0x30]
adc byte [eax + 0x49], al
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e1244
jmp 0x8e1257
js 0x8e12ab
jp 0x8e126d
add dl, byte [edx]
adc bh, byte [edx + 0x12]
fidivr word [esi]
adc ah, byte [ecx]
rol byte [edx - 0x13], cl
xchg dword [esi], ebp
inc ebx
push esi
adc al, byte [edx - 0x67]
cdq
fistp word [ecx + 0x12122e9b]
adc dl, byte [ebx + 0x1212ead3]
adc dl, byte [ecx]
fild qword [edx + 0x12121214]
test al, 0x3a
adc dl, byte [edx]
adc ah, ch
invalid
xchg ebx, eax
push ds
adc dl, byte [edx]
adc dl, byte [ecx]
xlatb
inc edx
jp 0x8e1241
and eax, 0x157a121b
enter 0x1256, 0x13
jp 0x8e12b5
adc dl, byte [edx]
adc bh, dl
pop ss
adc dl, byte [edx]
adc bh, bl
sti
cmp dl, byte [edx]
adc dl, byte [edx]
inc edi
inc esi
dec edi
cdq
xchg edi, eax
sbb dl, byte [edx]
adc dl, byte [edx]
cdq
xchg dword [esi], ebx
adc dl, byte [edx]
adc bl, byte [ecx + 0x1212029f]
adc dl, bl
sti
adc byte [ebx], ah
adc byte [ecx + 0x1d5b16d0], dl
xchg edi, eax
out 0xed, al
in eax, dx
in eax, dx
dec edi
rcr byte [esi], 1
adc bl, byte [ecx + 0x1216369e]
adc dl, byte [edx]
jp 0x8e128c
and eax, 0x157a121b
enter 0x1256, 0x13
inc ebx
cli
pop ss
adc dl, byte [edx]
adc bh, bl
and dword [eax], edx
adc dl, byte [edx]
inc edi
inc esi
dec edi
in eax, dx
push ds
in eax, dx
sbb bh, dl
je 0x8e1315
adc dl, byte [edx]
cdq
scasd eax, dword es:[edi]
sbb dl, byte [edx]
adc dl, byte [edx]
and ebx, ebx
and eax, eax
xchg ecx, eax
cli
pop ss
pop edx
sbb eax, 0x12125c96
pop esp
adc dl, byte [edx]
adc bl, byte [0x12125a9a]
adc dh, byte [ecx + ebx*4 + 0xe]
sub edx, dword [edx - 0x69e20517]
or byte [edx], dl
adc dl, byte [edx]
xchg edx, eax
jmp 0x424312d
Function at 0x40a940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [edx + 0x28]
movzx ecx, word [edx + 0x26]
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40a93c
sub al, 0x20
ror edi, 0xd
add edi, eax
dec ecx
jne 0x40a933
push edx
push edi
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x3c]
add eax, edx
mov eax, dword [eax + 0x78]
test eax, eax
je 0x40a9a1
add eax, edx
mov ebx, dword [eax + 0x20]
push eax
add ebx, edx
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x40a9a0
xor edi, edi
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edx
xor eax, eax
ror edi, 0xd
lodsb al, byte [esi]
add edi, eax
cmp al, ah
jne 0x40a96c
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
jne 0x40a960
pop eax
mov ebx, dword [eax + 0x24]
add ebx, edx
mov cx, word [ebx + ecx*2]
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
pop ebx
pop ebx
popal
pop ecx
pop edx
push ecx
jmp eax
pop eax
pop edi
pop edx
mov edx, dword [edx]
jmp 0x40a92a
Function at 0x402634
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
call esi
cmp eax, 0xffffffff
je 0x402655
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
pop esi
jne 0x402682
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x402682
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x402682
push 4
push eax
lea eax, [ebp - 4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x402689
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
and dword [ebp - 4], 0
imul edx, edx, 0x9e3779b9
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
je 0x4026fe
mov esi, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, ecx
sub dword [ebp - 4], 0x61c88647
add ebx, eax
lea eax, [ebx + edi]
mov edi, eax
mov ebx, eax
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, eax
add ebx, ecx
cmp dword [ebp - 4], edx
lea ecx, [ebx + edi]
jne 0x4026ac
mov esi, dword [ebp + 0xc]
pop edi
pop ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
leave
ret

Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x408957
Capabilities:
Encode data using xor

Disassembly:
mov esi, reloc.wtsapi32.dll_WTSSetUserConfigA
sub edi, 1
call fcn.00408979
xor dword [ecx], esi
dec eax
inc ecx
cmp ecx, ebx
jne fcn.00408957
dec edi
ret