joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b8da0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404830
xor eax, eax
push ebp
push 0x4b8ebd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x348]
test eax, eax
je 0x4b8ea7
cmp dword [eax + 0x3e8], 0
je 0x4b8ea7
cmp byte [ebx + 0x2f0], 0
je 0x4b8e28
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x2e8]
cmp eax, 0x1f4
jb 0x4b8e01
lea eax, [ebx + 0x2ec]
call fcn.00404380
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x2e8], eax
lea eax, [ebx + 0x2ec]
mov edx, dword [ebp - 4]
call fcn.00404648
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x2ec]
call fcn.00404418
mov eax, dword [ebp - 4]
call fcn.00404640
test eax, eax
jle 0x4b8e97
mov eax, dword [ebp - 4]
call fcn.00404640
dec eax
jne 0x4b8e6e
mov eax, dword [ebp - 4]
call fcn.00404840
push eax
mov eax, ebx
call fcn.004b9884
push eax
push 0x18f
mov eax, dword [ebx + 0x348]
mov eax, dword [eax + 0x3e8]
call fcn.0044b0fc
push eax
call sub.user32.dll_SendMessageA
jmp 0x4b8e9a
mov eax, dword [ebp - 4]
call fcn.00404840
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x348]
mov eax, dword [eax + 0x3e8]
call fcn.0044b0fc
push eax
call sub.user32.dll_SendMessageA
jmp 0x4b8e9a
or eax, 0xffffffff
test eax, eax
jl 0x4b8ea7
mov edx, eax
mov eax, ebx
call fcn.004b9890
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8ec4
lea eax, [ebp - 4]
call fcn.00404380
ret
Function at 0x4cad4c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41b0d8]
call fcn.00405018
xor eax, eax
push ebp
push 0x4cae90
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x550f14], 0
jne 0x4cad9f
mov ecx, dword [0x553aa8]
mov dl, 1
mov eax, dword [0x407f28]
call fcn.0040d830
call fcn.00403d1c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402e58
mov eax, ebx
call fcn.00404c40
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4caea0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004062e0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404c50
test eax, eax
jle 0x4cae37
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4cae30
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404608
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004045f0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408df8
test eax, eax
jne 0x4cae30
mov ebx, 0x15
jmp 0x4cae3c
mov ebx, 0x10
jmp 0x4cae3c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x550f14]
call fcn.004cac48
mov eax, dword [ebp - 8]
call fcn.004cac48
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004062f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cae97
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004043a4
lea eax, [ebp - 0x10]
mov edx, dword [0x41b0d8]
call fcn.004050e8
ret

Function at 0x4f002c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4f0051
cmp dword [esp + 4], 5
jb 0x4f0051
mov al, 1
jmp 0x4f0053
xor eax, eax
add esp, 0x94
ret
Function at 0x5033a8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5033d6
mov eax, ebx
call fcn.00503e5c
cmp dword [ebx + 0x40], 0
je 0x5033cf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x503447
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x503439
cmp dword [ebx + 8], 0
je 0x5033f8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x50340a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x503439
cmp dword [ebx + 8], 0
je 0x5033eb
cmp eax, 3
je 0x50341d
dec eax
jne 0x5033eb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5033eb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5033eb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x503465
cmp dword [ebx + 0x14], 0xcc
je 0x503465
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00503470
pop ebx
ret
Function at 0x538748
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
mov dword [esp], 0xff
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, dword [esp]
mov byte [esp + eax + 4], 0
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.004045f0
add esp, 0x108
pop ebx
ret

Function at 0x542c77
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x553892
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x542ccf
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x5538b3
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x542cc5
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x542cd3
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x10089473
Capabilities:
Get number of processors

Disassembly:
jmp 0x1007d794
call fcn.1007d77f
salc
arpl word [ebp - 0x79], cx
loop 0x1007d78a
adc eax, 0x24748b56
add al, 0x8d
mov dh, 0xd4
adc byte [edx], al
add byte [ecx + 0x5e042474], cl
push edx
mov dword [esp], ebp
push esp
pop ebp
push ebp
mov ebp, esp
add ebp, 4
sub ebp, 0x80
xchg dword [esp], ebp
pop esp
sub esp, 4
mov dword [esp], ebx
push edi
mov dword [esp], esi
push 0x188b
mov dword [esp], edi
jmp 0x100a33b3
push ebx
mov ebx, 8
add ebx, ebp
mov eax, dword [ebx]
pop ebx
sub esp, 4
mov dword [esp], eax
jmp 0x1009c1dd
jmp 0x10088476
push 0
push 0x41797261
push 0x7262694c
push 0x64616f4c
lea ecx, [ebp - 0x2c]
sub esp, 4
mov dword [esp], ecx
jmp 0x10097856
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x1983f]
mov dword [esp + 4], ecx
pop ecx
jmp 0x1009fe32
jmp 0x1009786d
call fcn.10097858
adc byte [eax - 0x77], dl
loopne 0x1009787c
add al, 0
add byte [eax], al
add eax, 4
xchg dword [esp], eax
pop esp
rol byte [edi + eax*4], 4
and al, 0x5c
push eax
pop dword [ebp - 4]
push ecx
mov ecx, 0xc
add ecx, ebp
mov eax, dword [ecx]
pop ecx
push esi
mov dword [esp], eax
push dword [ebp - 4]
sub dword [esp], 0x3f8325ed
pop ecx
add ecx, 0x3f8325ed
push esi
mov dword [esp], ecx
push eax
mov eax, 8
add eax, ebp
mov edx, dword [eax]
pop eax
push eax
mov eax, 0x64
add edx, eax
pop eax
push ebx
mov dword [esp], edx
jmp 0x1007d77d
jmp 0x1009c1f4
call fcn.1009c1df
or eax, dword [ebp + 0x68]
mov byte [eax], 0
jmp 0x1007dbce
push esi
mov esi, 0x6114390f
xor esi, 0x61143917
mov eax, esi
pop esi
mov eax, dword fs:[eax]
push eax
pop dword [ebp - 4]
push dword [ebp - 4]
pop eax
push dword [eax + 0x30]
sub dword [esp], 0x63f80c4b
pop ecx
add ecx, 0x63f80c4b
push eax
mov eax, 0xfffffff8
add eax, ebp
mov dword [eax], ecx
pop eax
push dword [ebp - 8]
pop edx
push ecx
mov ecx, 8
add ecx, edx
mov eax, dword [ecx]
pop ecx
push edx
mov edx, 0xffffffec
add edx, ebp
mov dword [edx], eax
pop edx
push ebx
mov ebx, 0
mov dword [ebp - 0x10], ebx
pop ebx
cmp dword [ebp - 0x10], 0
je 0x1007e698
jmp 0x1007f265

Function at 0x100a86f2
Capabilities:
Access peb ldr_data

Disassembly:
push eax
mov eax, dword [esp + 4]
lea eax, [eax - 0x4e23]
mov dword [esp + 4], eax
pop eax
jmp 0x10097a70

Function at 0x102f1cc3
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], ecx
cmp eax, 0x1000
lea ecx, [esp + 8]
jb 0x102f1d21
jmp 0x102f1ce0
push ebx
mov ebx, 0x1000
sub ecx, ebx
pop ebx
push esi
mov esi, 0x42603735
add esi, 0x62b848ad
not esi
xor esi, 0xa3b2af6
xor esi, 0x5731f4a
shr esi, 4
xor esi, 0x55aeb5a
sub eax, esi
pop esi
test dword [ecx], eax
cmp eax, 0x1000
jae 0x102f1ce0
jmp 0x102f1d21
sub ecx, 0x42861a21
sub ecx, eax
add ecx, 0x42861a21
push esp
pop eax
test dword [ecx], eax
mov esp, ecx
push dword [eax]
pop ecx
push dword [eax + 4]
xor dword [esp], 0x1d9f7243
pop eax
xor eax, 0x1d9f7243
push ecx
mov dword [esp], eax
ret
Function at 0x407c84
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jb 0x407ca8
jmp 0x407cb2
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x407c98
mov esp, ebp
pop ebp
ret

Function at 0x409065
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x409085
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040ba6e
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4090a6
test byte [esp + 8], 2
je 0x4090a6
mov dword [0x417fd0], 0xd
mov dword [0x417fd4], 5
jmp 0x409081
xor eax, eax
ret

Function at 0x40b37d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x411910
cmp edx, dword [eax]
je 0x40b39f
add eax, 8
inc ecx
cmp eax, 0x4119a0
jl 0x40b390
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x411910]
jne 0x40b4cd
mov eax, dword [0x418024]
cmp eax, 1
je 0x40b4a7
test eax, eax
jne 0x40b3d0
cmp dword [0x411398], 1
je 0x40b4a7
cmp edx, 0xfc
je 0x40b4cd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b407
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407e00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407f50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b44a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407f50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4104ec
push edi
call fcn.00408ad0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407e00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407e10
lea eax, [ebp - 0xa0]
push 0x4104cc
push eax
call fcn.00407e10
push dword [esi + 0x411914]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407e10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040de45
add esp, 0x2c
pop edi
jmp 0x40b4cd
lea eax, [ebp + 8]
lea esi, [esi + 0x411914]
push 0
push eax
push dword [esi]
call fcn.00407f50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100289b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x10028a9
push eax
push esi
push dword [ebp + 8]
call fcn.010025ae
add esp, 0x10
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
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10028d7
adc byte [ebp - 0xaf73], cl
call dword [ecx - 1]
ror byte [ebx - 0x727407bb], 1
push esp
invalid
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
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.010025e9
dec edx
inc ecx
cli
ret 0x458d
Function at 0x1004fb6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x64], ebx
jle 0x1004fe0
lea esi, [edi + 0x6c]
mov eax, dword [esi]
push 0
push 0
push 3
push eax
call dword [eax + 4]
inc ebx
add esi, 4
cmp ebx, dword [edi + 0x64]
jl 0x1004fcb
mov dword [ebp - 4], 2
lea esi, [edi + 0x74]
and dword [ebp - 8], 0
mov dword [ebp + 8], 0x24
mov ecx, dword [esi]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add dword [ebp + 8], 0xc
add eax, ecx
add edx, 0xfffffffe
shl ebx, 2
or edx, ebx
xor dx, word [eax]
and dx, 0x7fff
xor word [eax], dx
mov ebx, dword [ecx + 8]
mov dx, word [eax]
or dx, 0x8000
inc dword [ebp - 8]
cmp dword [ebp + 8], 0xc0
mov dword [eax + 4], ebx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], ecx
mov word [eax], dx
jl 0x1004ff5
mov ecx, dword [esi]
inc dword [ebp - 4]
push 0xd
pop eax
add esi, 4
cmp dword [ebp - 4], 6
mov dword [ecx + 0x1c], eax
jl 0x1004fea
push 0
push 0
push eax
push edi
call dword [edi]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1006277
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x1001318
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10062cf
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x1001354
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10062c2
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10062d1
xor eax, eax
pop esi
leave
ret 4
Function at 0x406ced
Capabilities:
Parse pe header

Disassembly:
push 0x74
push 0x40af98
call fcn.00406fd4
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x406d2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406d2d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x406d45
cmp eax, 0x20b
je 0x406d32
mov dword [ebp - 0x1c], ebx
jmp 0x406d59
cmp dword [ecx + 0x84], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x406d53
cmp dword [ecx + 0x74], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x40ea78], 0xffffffff
or dword [0x40ea7c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x40d464]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x40d460]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40ea74], eax
call fcn.00406f30
call fcn.00406fd0
cmp dword [0x40d320], ebx
jne 0x406db9
push fcn.00406fd0
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0049e000
push 0x40c00c
push 0x40c008
call sub.MSVCR71.dll__initterm
push 0x406f74
call fcn.00406f1e
mov eax, dword [0x40d45c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40d458]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x406e0d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x40c004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x406e8b
cmp al, bl
je 0x406e37
cmp dword [ebp - 0x20], ebx
jne 0x406e8b
mov al, byte [esi]
cmp al, bl
je 0x406e47
cmp al, 0x20
ja 0x406e47
inc esi
mov dword [ebp - 0x24], esi
jmp 0x406e37
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x406e63
movzx eax, word [ebp - 0x54]
jmp 0x406e66
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00404254
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x406e83
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x406ee0
cmp al, 0x22
jne 0x406e9a
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x406ead
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x406e25
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040700f
ret
Function at 0x4013dd
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0xfb4]
mov eax, 0x1034
call fcn.00410410
mov eax, dword [0x4566b4]
xor eax, ebp
mov dword [ebp + 0xfb0], eax
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.004075ed
mov esi, eax
pop ecx
cmp esi, 0xffffffff
jne 0x40141b
push 5
call fcn.00409f46
pop ecx
jmp 0x401533
push ebx
push edi
call fcn.00408ace
push eax
push 0x5c
call fcn.00408582
push eax
push 0x45012c
mov edi, 0x400
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00408b2a
push dword [ebp - 0x7c]
lea eax, [ebp + 0x7a8]
push 0x45013c
push edi
push eax
call fcn.00408b2a
lea eax, [ebp + 0x7a8]
mov dword [ebp - 0x78], str.JavaWSSplashScreen
mov dword [ebp - 0x70], eax
xor ebx, ebx
mov eax, dword [ebp + 0xfbc]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x74], 0x45016c
push eax
push ebx
mov dword [ebp - 0x68], ebx
call fcn.004084d9
add esp, 0x34
test eax, eax
jne 0x401523
lea edi, [ebp - 0x68]
mov dword [ebp - 0x80], 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
call dword [sym.imp.WSOCK32.dll_accept]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4014c0
push esi
call fcn.0040841f
push 6
jmp 0x40152a
push ebx
push 6
lea eax, [ebp + 0xfa8]
push eax
push edi
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 6
je 0x4014e6
push edi
call fcn.0040841f
push esi
call fcn.0040841f
push 7
jmp 0x40150a
lea eax, [ebp + 0xfa8]
push eax
call fcn.00420c86
mov dword [0x450128], eax
pop ecx
push edi
test eax, eax
jg 0x401514
call fcn.0040841f
push esi
call fcn.0040841f
push 8
call fcn.00409f46
add esp, 0xc
jmp 0x401531
call fcn.0040841f
push esi
call fcn.0040841f
xor eax, eax
jmp 0x40152f
push esi
call fcn.0040841f
push ebx
call fcn.00409f46
pop ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp + 0xfb0]
xor ecx, ebp
pop esi
call fcn.00410400
add ebp, 0xfb4
leave
ret
Function at 0x4072ea
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x23c
mov eax, dword [0x4566b4]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
mov ebx, dword [esp + 0x244]
lea eax, [esp + 4]
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x14], 0x1fe
push str.FORCED_FX_ROOT
push ebp
push eax
mov edi, ebp
mov dword [esp + 0x1c], ebp
mov esi, ebp
call fcn.00420fe6
add esp, 0xc
cmp dword [esp + 0x10], esi
je 0x407378
test eax, eax
jne 0x407378
push 0x34
push 1
call fcn.004220a6
push str.2.0
mov esi, eax
call fcn.0041423e
mov ecx, eax
lea eax, [esi + 8]
push eax
push ecx
mov dword [esi + 4], ecx
call fcn.00406fe0
push dword [esp + 0x24]
call fcn.0041423e
mov dword [esi], eax
push dword [esp + 0x28]
call fcn.004220b1
add esp, 0x1c
jmp 0x407441
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebp
push str.SoftwareOracleJavaFX
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40739e
xor eax, eax
jmp 0x407443
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x5c]
push eax
push edi
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebp, eax
test ebp, ebp
jne 0x407423
test ebx, ebx
je 0x4073d2
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.004070ee
pop ecx
pop ecx
test eax, eax
je 0x407423
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00406fe0
pop ecx
pop ecx
test esi, esi
je 0x40740a
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00407093
pop ecx
pop ecx
test eax, eax
je 0x407423
lea eax, [esp + 0x48]
push esi
push eax
call fcn.00407486
pop ecx
pop ecx
jmp 0x407423
push 0x34
push 1
call fcn.004220a6
mov esi, eax
lea eax, [esp + 0x50]
push esi
push eax
call fcn.00407486
add esp, 0x10
inc edi
mov dword [esp + 0x14], 0x1fe
push 0
test ebp, ebp
pop ebp
je 0x40739e
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x248]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410400
add esp, 0x23c
ret
Function at 0x407486
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1198]
mov eax, 0x1218
call fcn.00410410
mov eax, dword [0x4566b4]
xor eax, ebp
mov dword [ebp + 0x1194], eax
push esi
mov esi, dword [ebp + 0x11a4]
lea eax, [ebp - 0x74]
push edi
mov edi, dword [ebp + 0x11a0]
push edi
push 0x451bac
push 0x451bdc
push 0xffffffffffffffff
push 0x1000
push eax
call fcn.004046de
add esp, 0x18
lea eax, [ebp - 0x78]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x74]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407522
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x208
push eax
lea eax, [ebp + 0xf8c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.Path
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x78]
test eax, eax
je 0x40753b
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp + 0x1194]
pop edi
xor ecx, ebp
pop esi
call fcn.00410400
add ebp, 0x1198
leave
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x80], 1
jne 0x407522
cmp dword [esi + 4], 0
je 0x407556
push dword [esi + 4]
call fcn.004220b1
pop ecx
push edi
call fcn.0041423e
mov ecx, eax
lea eax, [esi + 8]
push eax
push ecx
mov dword [esi + 4], ecx
call fcn.00406fe0
add esp, 0xc
cmp dword [esi], 0
je 0x40757b
push dword [esi]
call fcn.004220b1
pop ecx
lea ecx, [ebp + 0xf8c]
push ecx
call fcn.0041423e
mov dword [esi], eax
xor eax, eax
pop ecx
inc eax
jmp 0x407524

Function at 0x4075ed
Capabilities:
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4566b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040837f
push 2
pop esi
push 0x451c50
mov word [ebp - 0x14], si
call dword [sym.imp.WSOCK32.dll_inet_addr]
push 0
push 1
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
je 0x40768e
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.WSOCK32.dll_bind]
cmp eax, edi
je 0x407687
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.WSOCK32.dll_getsockname]
cmp eax, edi
je 0x407687
push accept
push esi
call dword [sym.imp.WSOCK32.dll_listen]
cmp eax, edi
je 0x407687
push dword [ebp - 0x12]
call dword [sym.imp.WSOCK32.dll_ntohs]
movzx eax, ax
mov dword [ebx], eax
mov eax, esi
jmp 0x407690
push esi
call fcn.0040841f
pop ecx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410400
leave
ret