joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10039f71
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov eax, 0x3010
call fcn.100588e0
mov eax, dword [0x1011ca44]
xor eax, esp
mov dword [esp + 0x300c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3020]
lea eax, [esp + 0x2018]
mov ebp, 0x1000
xor ebx, ebx
push ebp
push ebx
push eax
call fcn.1005c640
push esi
push str.SOFTWAREJavaSoftJava_Runtime_Environment
push 0x100fc568
lea eax, [esp + 0x2030]
push ebp
push eax
call fcn.100aadfa
add esp, 0x20
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
lea eax, [esp + 0x2024]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003a0f0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
push eax
lea eax, [esp + 0x101c]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x100fc574
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1003a0f0
cmp dword [esp + 0x14], 1
jne 0x1003a0f0
mov eax, dword [esp + 0x10]
mov ecx, 0x7ff
shr eax, 1
cmp eax, 0x800
cmovb ecx, eax
add ecx, ecx
cmp ecx, ebp
jae 0x1003a10a
push edi
xor eax, eax
push ebp
mov word [esp + ecx + 0x1020], ax
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.1005c640
push str.binjava.exe
lea eax, [esp + 0x102c]
push eax
push 0x100fc5a4
lea eax, [esp + 0x34]
push ebp
push eax
call fcn.100aadfa
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 0x3c]
add esp, 0x20
push eax
call edi
test eax, eax
je 0x1003a0ef
push str.binclientjvm.dll
lea eax, [esp + 0x1020]
push eax
push 0x100fc5d8
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.100aadfa
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
call edi
mov esi, eax
lea eax, [esp + 0x101c]
push str.bin_serverjvm.dll
push eax
push str._s_s
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.100aadfa
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
call edi
test esi, esi
jne 0x1003a0ed
test eax, eax
je 0x1003a0ef
mov bl, 1
pop edi
mov ecx, dword [esp + 0x3018]
mov al, bl
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100587af
add esp, 0x3010
ret
call fcn.100aadfa
int3
Function at 0x1003a1b0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x100c
call fcn.100588e0
mov eax, dword [0x1011ca44]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebp
push esi
mov esi, dword [esp + 0x1018]
xor eax, eax
xor ebp, ebp
mov dword [esp + 0xc], ebp
mov word [esi], ax
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebp
push 0x100fc4b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003a2ac
push edi
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x1c]
mov edi, ebp
push eax
lea eax, [esp + 0x28]
push eax
push ebp
jmp 0x1003a291
mov eax, ebp
mov ecx, ebp
cmp dword [esp + 0xc], eax
jbe 0x1003a281
cmp word [esp + ecx*2 + 0x14], 0x2e
jne 0x1003a22b
inc eax
cmp eax, 1
jg 0x1003a237
inc ecx
cmp ecx, dword [esp + 0xc]
jb 0x1003a21d
cmp eax, 1
jle 0x1003a281
lea eax, [esp + 0x14]
push 0x100fc4ac
push eax
call fcn.100aadfa
pop ecx
pop ecx
test eax, eax
js 0x1003a281
lea eax, [esp + 0x14]
push eax
call fcn.10039f71
pop ecx
test al, al
je 0x1003a281
lea eax, [esp + 0x14]
push esi
push eax
call fcn.100aadfa
pop ecx
pop ecx
test eax, eax
jle 0x1003a281
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1024]
push esi
call fcn.100aadfa
add esp, 0xc
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x1c]
inc edi
push eax
lea eax, [esp + 0x28]
push eax
push edi
push dword [esp + 0x2c]
mov dword [esp + 0x2c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1003a213
pop edi
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1010]
pop esi
pop ebp
xor ecx, esp
call fcn.100587af
add esp, 0x100c
ret
Function at 0x1003a2cd
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4044
call fcn.100588e0
mov eax, dword [0x1011ca44]
xor eax, esp
mov dword [esp + 0x4040], eax
push ebx
push ebp
push esi
push edi
mov esi, 0x1000
lea eax, [esp + 0x50]
push esi
xor edi, edi
push edi
push eax
call fcn.1005c640
push edi
xor ebx, ebx
lea eax, [esp + 0x60]
inc ebx
mov ebp, 0x800
push ebx
push ebp
push eax
call fcn.100281de
add esp, 0x1c
test eax, eax
je 0x1003a47e
lea eax, [esp + 0x50]
push eax
push str.11.281.2
call fcn.100aadfa
pop ecx
pop ecx
test eax, eax
jg 0x1003a47e
push esi
lea eax, [esp + 0x3054]
push edi
push eax
call fcn.1005c640
push edi
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x3064]
push ebp
push eax
call fcn.1002840a
add esp, 0x1c
test eax, eax
je 0x1003a47e
push esi
lea eax, [esp + 0x1054]
push edi
push eax
call fcn.1005c640
lea eax, [esp + 0x305c]
push eax
lea eax, [esp + 0x1060]
push ebp
push eax
call fcn.100aadfa
push str._bin_ssvagent.exe
lea eax, [esp + 0x106c]
push ebp
push eax
call fcn.100aadfa
push 0x3c
pop esi
push esi
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.1005c640
push 0x1000
lea eax, [esp + 0x2084]
mov dword [esp + 0x48], esi
push edi
push eax
call fcn.1005c640
push str._high__jpisetup__register
lea eax, [esp + 0x2090]
push ebp
push eax
call fcn.100aadfa
add esp, 0x48
call fcn.10034516
test eax, eax
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x1050]
mov dword [esp + 0x18], 0x40
mov edx, str.open
mov dword [esp + 0x24], eax
mov ecx, str.runas
lea eax, [esp + 0x50]
cmove ecx, edx
push eax
mov dword [esp + 0x24], ecx
call fcn.100346f7
test eax, eax
mov edx, str.__old
mov ecx, str.__new
lea eax, [esp + 0x2054]
cmove ecx, edx
push ecx
push ebp
push eax
call fcn.100aadfa
add esp, 0x10
lea eax, [esp + 0x2050]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1003a47a
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x4c], edi
je 0x1003a47a
push 0xffffffffffffffff
push dword [esp + 0x50]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push dword [esp + 0x4c]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
jmp 0x1003a480
mov eax, ebx
mov ecx, dword [esp + 0x4050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100587af
add esp, 0x4044
ret
Function at 0x1003a81d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf90]
mov eax, 0x1010
call fcn.100588e0
mov eax, dword [0x1011ca44]
xor eax, ebp
mov dword [ebp + 0xf8c], eax
push esi
mov esi, dword [ebp + 0xf98]
lea eax, [ebp - 0x78]
push edi
push eax
push 1
push 0
push str.SoftwareJavaSoftJava_Web_Start_
mov dword [ebp - 0x80], esi
mov edi, 0x1000
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003a8c8
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.CurrentVersion
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003a8bf
cmp dword [ebp - 0x80], 1
jne 0x1003a8bf
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x7c]
mov ecx, 0x7ff
shr eax, 1
cmp eax, 0x800
cmovb ecx, eax
add ecx, ecx
cmp ecx, edi
jae 0x1003a8ed
xor eax, eax
mov word [ebp + ecx - 0x74], ax
lea eax, [ebp - 0x74]
push eax
jmp 0x1003a8cd
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100fca04
mov ecx, esi
call fcn.10001727
mov ecx, dword [ebp + 0xf8c]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.100587af
add ebp, 0xf90
leave
ret
call fcn.100aadfa
int3
Function at 0x1003a910
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push 0x10
mov eax, 0x100bc224
call fcn.100587f7
xor esi, esi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
and dword [ebp - 4], esi
lea ecx, [ebp - 0x14]
call fcn.10001727
mov edi, dword [ebp - 0x14]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
test edi, edi
je 0x1003a945
xor eax, eax
cmp dword [edi], eax
sete al
jmp 0x1003a947
mov eax, ebx
test al, al
je 0x1003a952
push 0x100fc3b9
jmp 0x1003a970
test edi, edi
je 0x1003a95a
mov eax, dword [edi]
jmp 0x1003a95c
xor eax, eax
push eax
call fcn.1003ad1c
pop ecx
test eax, eax
jne 0x1003a9ab
lea ecx, [ebp - 0x14]
call fcn.1001d871
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x1003aa17
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000d9ae
push eax
lea ecx, [ebp - 0x10]
call fcn.10001795
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003a9bb
call fcn.10001b26
jmp 0x1003a9bb
cmp eax, ebx
jne 0x1003aa17
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.10001795
lea ecx, [ebp - 0x10]
call fcn.1001d871
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
push 2
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyaddr]
mov esi, eax
test esi, esi
je 0x1003aa14
mov ecx, dword [esi]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a9e6
sub ecx, edx
push ecx
push dword [esi]
call fcn.100aadfa
pop ecx
pop ecx
push dword [esi]
lea ecx, [ebp - 0x18]
call fcn.1000d9ae
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003aa0f
call fcn.10001b26
mov esi, dword [ebp - 0x10]
jmp 0x1003aa19
mov esi, dword [ebp - 0x10]
xor bl, bl
test edi, edi
je 0x1003aa24
mov ecx, edi
call fcn.10001b26
test esi, esi
je 0x1003aa2f
mov ecx, esi
call fcn.10001b26
mov al, bl
call fcn.100587c0
ret
Function at 0x1003aab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.100588e0
push 0xffffffffffffffff
push 0x100bc262
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1011ca44]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x100c]
mov dword [ebp - 0x18], edi
xor ebx, ebx
lea eax, [ebp]
push 0x1000
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.1005c640
mov eax, dword [ebp + 0x1010]
add esp, 0xc
test eax, eax
je 0x1003ab1b
mov esi, dword [eax]
jmp 0x1003ab1d
mov esi, ebx
movzx ecx, word [esi]
mov eax, ebx
mov edx, ebx
test cx, cx
je 0x1003ac42
cmp cx, 0x2e
jne 0x1003ab39
inc eax
cmp eax, 1
jg 0x1003ab4c
inc edx
movzx ecx, word [esi + edx*2]
test cx, cx
jne 0x1003ab2d
cmp eax, 1
jle 0x1003ac42
push 0x100fca6c
push esi
call fcn.100aadfa
pop ecx
pop ecx
test eax, eax
js 0x1003ac42
push esi
call fcn.10039f71
pop ecx
test al, al
je 0x1003ac42
push 0x100fca88
lea ecx, [ebp - 0x14]
call fcn.10001727
push 0x100fca84
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.1000d9ae
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.1000187c
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1003abae
call fcn.10001b26
push esi
lea ecx, [ebp - 0x10]
call fcn.10001727
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x14]
call fcn.1000187c
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1003abd7
call fcn.10001b26
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1003abe2
mov eax, dword [esi]
jmp 0x1003abe4
mov eax, ebx
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003ac2a
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x1000
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x100fcae0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1003ac2a
xor eax, eax
mov word [ebp], ax
lea eax, [ebp]
mov ecx, edi
push eax
call fcn.10001727
test esi, esi
je 0x1003ac62
mov ecx, esi
call fcn.10001b26
jmp 0x1003ac62
push str.1.3.1
push esi
call fcn.100aadfa
push esi
call fcn.10039f71
add esp, 0xc
mov ecx, edi
push 0x100fc3be
call fcn.1000d9ae
mov ecx, dword [ebp + 0x1010]
test ecx, ecx
je 0x1003ac71
call fcn.10001b26
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.100587af
add ebp, 0x1004
leave
ret
Function at 0x10016c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10016c2f
pop dword [ebp - 0x10]
mov eax, 0xb02b4293
sub eax, 0xa029d664
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3cb6c
push 0
mov eax, 0xfd8868aa
sub eax, 0xed855886
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x59ab882f
add ecx, 0xa654c357
mov ebx, eax
mov esi, 0xec0febd
add esi, 0x1427143
add esi, dword [ebp - 0x10]
mov edx, 0xeeae5013
sub edx, 0x3481a02a
sub dword [ebp - 8], 0x692559b0
mov edi, dword [esi]
xor dword [ebp - 4], 0x6ee67ce
add edi, edx
sub dword [ebp - 8], edi
mov dword [ebx], edi
add dword [ebp - 8], ebx
add ebx, 0xcc752eb5
add ebx, 0x338ad14f
add esi, 0x103434f0
sub esi, 0x103434ec
loop 0x10016c8e
add eax, 0x120eb
mov ebx, eax
add eax, 0xb95bd340
add eax, 0x46a42cc5
mov ecx, 0x1416ac20
sub ecx, 0x416ac20
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x1002ef5e
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov ecx, dword [ebp + 0x3a4]
cmp ecx, dword [0x10034b44]
mov eax, dword [0x100336a0]
push ebx
push esi
mov dword [ebp + 0x398], eax
push edi
jae 0x1002f124
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x10034b60]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x80], ebx
je 0x1002f124
xor edi, edi
cmp dword [ebp + 0x3ac], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
jne 0x1002efc8
xor eax, eax
jmp 0x1002f138
test al, 0x20
je 0x1002efd9
push 2
push edi
push edi
push ecx
call fcn.10016c20
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x1002f0ae
cmp dword [ebp + 0x3ac], edi
mov eax, dword [ebp + 0x3a8]
mov dword [ebp - 0x70], eax
mov dword [ebp + 0x3a4], edi
jbe 0x1002f0f5
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp + 0x3a8]
lea eax, [ebp - 0x6c]
cmp ecx, dword [ebp + 0x3ac]
jae 0x1002f03b
mov edx, dword [ebp - 0x70]
inc dword [ebp - 0x70]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x1002f02c
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x80]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x1002f00e
mov edi, eax
lea eax, [ebp - 0x6c]
sub edi, eax
push 0
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x1002f07b
mov eax, dword [ebp - 0x78]
add dword [ebp - 0x74], eax
cmp eax, edi
jl 0x1002f087
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp + 0x3a8]
xor edi, edi
cmp eax, dword [ebp + 0x3ac]
jb 0x1002f002
jmp 0x1002f089
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
xor edi, edi
mov eax, dword [ebp - 0x74]
cmp eax, edi
jne 0x1002f11f
cmp dword [ebp + 0x3a4], edi
je 0x1002f0f5
push 5
pop eax
cmp dword [ebp + 0x3a4], eax
jne 0x1002f0e7
mov dword [0x10033708], eax
jmp 0x1002f12b
push edi
lea ecx, [ebp - 0x78]
push ecx
push dword [ebp + 0x3ac]
push dword [ebp + 0x3a8]
push dword [eax]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x1002f0d9
mov eax, dword [ebp - 0x78]
mov dword [ebp + 0x3a4], edi
mov dword [ebp - 0x74], eax
jmp 0x1002f089
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp + 0x3a4], eax
jmp 0x1002f089
push dword [ebp + 0x3a4]
call fcn.1002ec98
pop ecx
jmp 0x1002f135
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x1002f10d
mov eax, dword [ebp + 0x3a8]
cmp byte [eax], 0x1a
je 0x1002efc1
mov dword [0x10033704], 0x1c
mov dword [0x10033708], edi
jmp 0x1002f135
sub eax, dword [ebp - 0x7c]
jmp 0x1002f138
and dword [0x10033708], 0
mov dword [0x10033704], 9
or eax, 0xffffffff
mov ecx, dword [ebp + 0x398]
pop edi
pop esi
pop ebx
call fcn.1002fecd
add ebp, 0x39c
leave
ret
Function at 0x419282
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x419291
pop dword [ebp - 0x28]
mov eax, 0x28501f1c
add eax, 0xd7f17375
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x38ca4
push 0
mov eax, 0x83793caf
add eax, 0x7cc91569
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x3422
xor edi, edi
add edi, eax
mov edx, 0x7e81199b
sub edx, 0x7e3dc59b
add edx, dword [ebp - 0x28]
mov esi, 0x3d23787c
add esi, 0x4068d535
sub dword [ebp - 0x14], edx
mov ebx, dword [edx]
add dword [ebp - 4], 0x28824513
xor ebx, esi
mov dword [edi], ebx
xor dword [ebp - 0x20], ebx
add edi, 4
add edx, 4
loop 0x4192ec
add eax, 0x7d9685d8
add eax, 0x826a3d83
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xa0eaeaf7
sub ecx, 0xa0aaeaf7
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x403e59
pop dword [ebp - 0x50]
mov eax, 0xbbac6fc3
sub eax, 0xbb6c316a
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x6824ec42
sub dword [ebp - 0x60], 0x19d2a6f7
mov dword [ebp - 0x5c], 0xc147b4a9
sub dword [ebp - 0x5c], 0x8f146864
mov dword [ebp - 0x58], 0xbc64976a
add dword [ebp - 0x58], 0x8fe7acc4
mov dword [ebp - 0x54], 0x7cd4074e
add dword [ebp - 0x54], 0x832bf8b2
lea eax, [ebp - 0x60]
push eax
mov eax, 0x82dd31cd
sub eax, 0x829cb141
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x5f037bc1
sub dword [ebp - 0x60], 0xea91126b
mov dword [ebp - 0x5c], 0xb9ec4c6a
sub dword [ebp - 0x5c], 0x787feaf5
mov dword [ebp - 0x58], 0x249c132b
sub dword [ebp - 0x58], 0xc12ca6bf
mov dword [ebp - 0x54], 0x2d55facd
sub dword [ebp - 0x54], 0x2d55facd
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x39511
push 0
call eax
mov ecx, 0x5247
mov ebx, eax
mov edx, 0xac1870a1
add edx, 0x54289f5f
add edx, dword [ebp - 0x50]
mov edi, 0x43665613
add edi, 0x41c751ee
xor dword [ebp - 0x2c], eax
mov esi, dword [edx]
xor dword [ebp - 0x34], edx
sub esi, edi
xor dword [ebp - 0x18], edx
mov dword [ebx], esi
xor dword [ebp - 0x1c], eax
add ebx, 0x1ab08633
sub ebx, 0x1ab0862f
add edx, 4
loop 0x403f70
add eax, 0x13bef
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x30007525
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x30007534
pop dword [ebp - 0x3c]
mov eax, 0xbbfb605a
sub eax, 0x8bfaeb26
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x710c613d
sub dword [ebp - 0x4c], 0x22ba1bf2
mov dword [ebp - 0x48], 0x85a6eaf6
add dword [ebp - 0x48], 0xac8c614f
mov dword [ebp - 0x44], 0x55cd27b5
add dword [ebp - 0x44], 0xf67f1c79
mov dword [ebp - 0x40], 0x4f213a64
add dword [ebp - 0x40], 0xb0dec59c
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xb4f0ad73
add eax, 0x7b0f62d1
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x801e30d6
sub dword [ebp - 0x4c], 0xbabc780
mov dword [ebp - 0x48], 0xea7c2111
sub dword [ebp - 0x48], 0xa90fbf9c
mov dword [ebp - 0x44], 0x637ecd4e
add dword [ebp - 0x44], 0xfff09f1e
mov dword [ebp - 0x40], 0x7e77a181
add dword [ebp - 0x40], 0x81885e7f
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x57adabf9
sub eax, 0x27ad9b45
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3ec12
push 0
call eax
mov ecx, 0x6d879cd1
add ecx, 0x9278ac4b
xor esi, esi
add esi, eax
mov edi, 0x95e650cd
add edi, 0x9a1b0d33
add edi, dword [ebp - 0x3c]
mov edx, 0xd6227440
add edx, 0x1cbfcbef
sub dword [ebp - 0x1c], 0x97bd9c3e
mov ebx, dword [edi]
xor dword [ebp - 0x1c], 0xcd3ae6ab
sub ebx, edx
add dword [ebp - 0x10], 0xb60fe8f6
mov dword [esi], ebx
sub dword [ebp - 4], ebx
add esi, 0xed7335b2
add esi, 0x128cca52
add edi, 0xbc0b4e12
sub edi, 0xbc0b4e0e
loop 0x30007658
add eax, 0x11743
xor ebx, ebx
add ebx, eax
add eax, 0x8484d89a
sub eax, 0x8484d895
mov ecx, 0x30000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x3000ffc4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x30004d84]
jne 0x30010aa7
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x300126b8], eax
mov dword [0x300126b4], ecx
mov dword [0x300126b0], edx
mov dword [0x300126ac], ebx
mov dword [0x300126a8], esi
mov dword [0x300126a4], edi
mov word [0x300126d0], ss
mov word [0x300126c4], cs
mov word [0x300126a0], ds
mov word [0x3001269c], es
mov word [0x30012698], fs
mov word [0x30012694], gs
pushfd
pop dword [0x300126c8]
mov eax, dword [ebp]
mov dword [0x300126bc], eax
mov eax, dword [ebp + 4]
mov dword [0x300126c0], eax
lea eax, [ebp + 8]
mov dword [0x300126cc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x30012608], 0x10001
mov eax, dword [0x300126c0]
mov dword [0x300125bc], eax
mov dword [0x300125b0], 0xc0000409
mov dword [0x300125b4], 1
mov eax, dword [0x30004d84]
mov dword [ebp - 0x328], eax
mov eax, dword [0x3001242c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x30012600], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x30005110
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x30012600], 0
jne 0x30010b97
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x3001086e
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x30010f28
call fcn.30010966
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x300128ec
push 0
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
test eax, eax
je 0x3001060d
cmp eax, esi
jne 0x30010600
xor esi, esi
inc esi
mov ebx, esi
jmp 0x30010610
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x300105e7
xor esi, esi
inc esi
mov eax, dword [0x300128e8]
cmp eax, esi
jne 0x30010623
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x30010652
mov eax, dword [0x300128e8]
test eax, eax
jne 0x3001064c
mov dword [0x300128e8], esi
push 0x300012b0
push 0x300012a8
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x30010652
jmp 0x3001077a
mov dword [0x300125ac], esi
mov eax, dword [0x300128e8]
cmp eax, esi
jne 0x30010676
push 0x300012a4
push 0x30001284
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x300128e8], 2
test ebx, ebx
jne 0x30010682
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x300128f8], 0
je 0x300106a6
push 0x300128f8
call fcn.30010c6a
pop ecx
test eax, eax
je 0x300106a6
push 0
push 2
push 0
call dword [0x300128f8]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x30010702
test al, al
je 0x300106c0
cmp dword [ebp - 0x1c], 0
jne 0x30010702
mov al, byte [esi]
test al, al
je 0x300106d0
cmp al, 0x20
ja 0x300106d0
inc esi
mov dword [ebp - 0x20], esi
jmp 0x300106c0
test byte [ebp - 0x3c], 1
je 0x300106dc
movzx eax, word [ebp - 0x38]
jmp 0x300106df
push 0xa
pop eax
push eax
push esi
push 0
push 0x30000000
call main
mov dword [0x300125a8], eax
cmp dword [0x3001259c], 0
jne 0x30010756
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x30010711
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x30010724
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x300106ad
cmp dword [0x300125ac], 0
jne 0x30010765
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x300125a8]
jmp 0x30010786
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.300109ab
ret
call main
jmp 0x300105ad