joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009cb98
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x10132f1c]
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 - 0x11c]
jne 0x1009cbd8
push 0x10100e68
push 4
push eax
call fcn.100ae84e
push eax
call fcn.10001000
add esp, 0x10
jmp 0x1009cbea
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1009cc58
push edi
call fcn.100ae45f
mov edi, dword [eax]
call fcn.100ae45f
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.100ab85e
add esp, 0x18
mov ebx, eax
call fcn.100ae45f
cmp dword [eax], 0
je 0x1009cc38
call fcn.100ae45f
push dword [eax]
call fcn.1009c63f
pop ecx
jmp 0x1009cc3f
call fcn.100ae45f
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x1009cc58
cmp ebx, esi
jae 0x1009cc58
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x1009cc5a
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100aa646
leave
ret
Function at 0x100a69af
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x100a69f2
call fcn.1009fa0c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100a69f2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100a6a0d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.100a6566
test ebx, ebx
mov esi, eax
je 0x100a6a0b
test edi, edi
je 0x100a6a0b
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100aa646
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10132f1c]
jne 0x100aa650
repz ret
jmp fcn.100b55ac
Function at 0x100b3eb7
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 + 0x10133228]
je 0x100b3ed2
inc edi
cmp edi, 0x17
jb 0x100b3ec3
cmp edi, 0x17
jae 0x100b4052
push ebp
push 3
call fcn.100c0ba4
cmp eax, 1
pop ecx
je 0x100b401e
push 3
call fcn.100c0ba4
test eax, eax
pop ecx
jne 0x100b3f06
cmp dword [0x1024cecc], 1
je 0x100b401e
cmp ebx, 0xfc
je 0x100b4051
push 0x10103228
mov ebx, 0x314
push ebx
mov ebp, 0x1024d078
push ebp
call fcn.100ae84e
add esp, 0xc
test eax, eax
je 0x100b3f3c
push esi
push esi
push esi
push esi
push esi
call fcn.100b40c6
add esp, 0x14
push 0x104
mov esi, 0x1024d091
push esi
push 0
mov byte [0x1024d195], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100b3f80
push 0x10103210
push 0x2fb
push esi
call fcn.100ae84e
add esp, 0xc
test eax, eax
je 0x100b3f80
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.100b40c6
add esp, 0x14
push esi
call fcn.100b03d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x100b3fc5
push esi
call fcn.100b03d0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1024d38c
push 0x1010320c
sub ecx, eax
push ecx
push eax
call fcn.100b0223
add esp, 0x14
test eax, eax
je 0x100b3fc5
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.100b40c6
add esp, 0x14
jmp 0x100b3fc7
xor esi, esi
push 0x10103208
push ebx
push ebp
call fcn.100b07c0
add esp, 0xc
test eax, eax
je 0x100b3fe7
push esi
push esi
push esi
push esi
push esi
call fcn.100b40c6
add esp, 0x14
push dword [edi*8 + 0x1013322c]
push ebx
push ebp
call fcn.100b07c0
add esp, 0xc
test eax, eax
je 0x100b4009
push esi
push esi
push esi
push esi
push esi
call fcn.100b40c6
add esp, 0x14
push 0x12010
push 0x101031e0
push ebp
call fcn.100c09e7
add esp, 0xc
jmp 0x100b4051
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x100b4051
cmp ebp, 0xffffffff
je 0x100b4051
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1013322c]
push dword [esi]
call fcn.100b03d0
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 0x100c09e7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.100b4f4a
xor ebx, ebx
cmp dword [0x1024d964], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x100c0abd
push 0x10104d4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x100c0b9d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10104d40
push edi
call esi
cmp eax, ebx
je 0x100c0b9d
push eax
call fcn.100b4edc
mov dword [esp], 0x10104d30
push edi
mov dword [0x1024d964], eax
call esi
push eax
call fcn.100b4edc
mov dword [esp], 0x10104d1c
push edi
mov dword [0x1024d968], eax
call esi
push eax
call fcn.100b4edc
mov dword [0x1024d96c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.100b055c
test eax, eax
pop ecx
pop ecx
je 0x100c0a8b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100b40c6
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x100c0abd
push 0x10104d00
push edi
call esi
push eax
call fcn.100b4edc
cmp eax, ebx
pop ecx
mov dword [0x1024d974], eax
je 0x100c0abd
push 0x10104ce8
push edi
call esi
push eax
call fcn.100b4edc
pop ecx
mov dword [0x1024d970], eax
mov eax, dword [0x1024d970]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x100c0b42
cmp dword [0x1024d974], ecx
je 0x100c0b42
push eax
call fcn.100b4f53
push dword [0x1024d974]
mov esi, eax
call fcn.100b4f53
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x100c0b42
cmp edi, ebx
je 0x100c0b42
call esi
cmp eax, ebx
je 0x100c0b0f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100c0b0f
test byte [ebp - 0x18], 1
jne 0x100c0b42
lea eax, [ebp - 0x10]
push eax
call fcn.100b0593
test eax, eax
pop ecx
je 0x100c0b2a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100b40c6
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x100c0b39
or dword [ebp + 0x10], 0x200000
jmp 0x100c0b7d
or dword [ebp + 0x10], 0x40000
jmp 0x100c0b7d
mov eax, dword [0x1024d968]
cmp eax, dword [ebp - 8]
je 0x100c0b7d
push eax
call fcn.100b4f53
cmp eax, ebx
pop ecx
je 0x100c0b7d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100c0b7d
mov eax, dword [0x1024d96c]
cmp eax, dword [ebp - 8]
je 0x100c0b7d
push eax
call fcn.100b4f53
cmp eax, ebx
pop ecx
je 0x100c0b7d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1024d964]
call fcn.100b4f53
cmp eax, ebx
pop ecx
je 0x100c0b9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100c0b9f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100c7de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ecbd8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x10132f1c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], 0x10104f08
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push edx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x2c], 0
call fcn.100c7b40
mov bl, al
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 8], 0x10104f08
je 0x100c7e60
cmp byte [esp + 0x10], 0
je 0x100c7e60
push eax
call fcn.100ab0ab
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x18
ret 0x10
Function at 0x100cc7e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xf864], eax
mov dword [esi + 0xf860], ecx
mov dword [esi + 0xf854], ecx
mov edx, 1
shl edx, cl
add ecx, 0xffffffff
mov eax, 1
shl eax, cl
push edi
xor edi, edi
sub edx, 1
mov dword [esi + 0xf868], eax
add eax, 1
mov dword [esi + 0xf86c], eax
mov ax, word [esi + 0xf868]
add ax, 2
mov ecx, esi
mov dword [esi + 0xf85c], edi
mov dword [esi + 0x1d8], edi
mov dword [esi + 0x1d4], edi
mov word [esi + 0xf858], dx
mov word [esi + 0xf85a], ax
mov dword [esi + 0xf870], edi
call fcn.100cbd90
mov dword [esp + 0x10], eax
xor ecx, ecx
mov eax, 0x138b
jmp 0x100cc870
add eax, eax
add ecx, 1
cmp eax, 0x10000
jl 0x100cc870
mov eax, 8
sub eax, ecx
push 0x138b
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.100cbe20
movzx ecx, word [esi + 0xf868]
push ecx
mov ecx, esi
call fcn.100cc310
mov ecx, esi
call fcn.100cbd90
mov ebp, eax
cmp ebp, 0xffffffff
je 0x100cc9b4
push ebx
mov ecx, dword [esp + 0x18]
movsx edi, bp
shl edi, cl
mov ebx, ebp
shl ebx, 0xc
add ebx, dword [esp + 0x14]
xor edi, dword [esp + 0x14]
mov ecx, dword [esi + edi*4 + 0x8310]
cmp ecx, ebx
lea eax, [esi + edi*4 + 0x8310]
jne 0x100cc8ee
movzx edx, word [esi + edi*2 + 0xd13c]
mov dword [esp + 0x14], edx
jmp 0x100cc9a1
test ecx, ecx
jl 0x100cc926
mov ecx, 0x138b
sub ecx, edi
test edi, edi
jne 0x100cc902
mov ecx, 1
lea edx, [ecx*4]
sub edi, ecx
sub eax, edx
test edi, edi
jge 0x100cc91c
add edi, 0x138b
add eax, 0x4e2c
mov edx, dword [eax]
cmp edx, ebx
je 0x100cc95c
test edx, edx
jg 0x100cc902
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.100cc310
movzx eax, word [esi + 0xf85a]
cmp ax, 0x1000
mov dword [esp + 0x14], ebp
jge 0x100cc96a
mov word [esi + edi*2 + 0xd13c], ax
add word [esi + 0xf85a], 1
mov dword [esi + edi*4 + 0x8310], ebx
jmp 0x100cc9a1
movzx eax, word [esi + edi*2 + 0xd13c]
mov dword [esp + 0x14], eax
jmp 0x100cc9a1
push 0x138b
mov ecx, esi
call fcn.100cbe20
movzx eax, word [esi + 0xf868]
mov dx, word [esi + 0xf868]
add dx, 2
push eax
mov ecx, esi
mov word [esi + 0xf85a], dx
mov dword [esi + 0xf85c], 1
call fcn.100cc310
mov ecx, esi
call fcn.100cbd90
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x100cc8b5
pop ebx
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.100cc310
movzx edx, word [esi + 0xf86c]
push edx
mov ecx, esi
call fcn.100cc310
pop edi
pop esi
pop ebp
ret 8
Function at 0x100e436a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x10132f1c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.100e42ff
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.100aacb0
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 0x100e43b9
cmp dword [ebp - 0x1c], 5
jb 0x100e43d1
jmp 0x100e43cd
cmp dword [ebp - 0x10], 1
jne 0x100e43d1
cmp dword [ebp - 0x1c], 4
ja 0x100e43cd
jne 0x100e43d1
cmp dword [ebp - 0x18], 0
jbe 0x100e43d1
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1010bae8
call fcn.100e41f0
test eax, eax
jge 0x100e43f2
mov byte [0x10134860], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100aa646
add ebp, 0x78
leave
ret

Function at 0x10277473
Capabilities:
Get number of processors

Disassembly:
jmp 0x1026b794
call fcn.1026b77f
salc
arpl word [ebp - 0x79], cx
loop 0x1026b78a
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 0x102913b3
push ebx
mov ebx, 8
add ebx, ebp
mov eax, dword [ebx]
pop ebx
sub esp, 4
mov dword [esp], eax
jmp 0x1028a1dd
jmp 0x10276476
push 0
push 0x41797261
push 0x7262694c
push 0x64616f4c
lea ecx, [ebp - 0x2c]
sub esp, 4
mov dword [esp], ecx
jmp 0x10285856
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x1983f]
mov dword [esp + 4], ecx
pop ecx
jmp 0x1028de32
jmp 0x1028586d
call fcn.10285858
adc byte [eax - 0x77], dl
loopne 0x1028587c
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 0x1026b77d
jmp 0x1028a1f4
call fcn.1028a1df
or eax, dword [ebp + 0x68]
mov byte [eax], 0
jmp 0x1026bbce
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 0x1026c698
jmp 0x1026d265
Function at 0x102966f2
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 0x10285a70

Function at 0x104afba4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], ecx
cmp eax, 0x1000
lea ecx, [esp + 8]
jb 0x104afc02
jmp 0x104afbc1
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 0x104afbc1
jmp 0x104afc02
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 0x41b7d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xa10
push esi
push 0x3ff
lea eax, [esp + 0x219]
mov esi, ecx
push 0
push eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
mov byte [esp + 0x220], 0
call fcn.0058ac30
push 0x3ff
lea ecx, [esp + 0x625]
push 0
push ecx
mov byte [esp + 0x62c], 0
call fcn.0058ac30
add esp, 0x18
lea ecx, [esp + 4]
call fcn.00567a20
push 1
push esi
push 0
push 0x5bc878
lea ecx, [esp + 0x14]
call fcn.00567650
lea ecx, [esp + 4]
call fcn.00567150
lea ecx, [esp + 4]
call fcn.00567120
test eax, eax
je 0x41b992
push ebp
push edi
test byte [eax], 0x10
jne 0x41b976
lea ebp, [eax + 0x2c]
mov edi, 0x5ae364
mov esi, ebp
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x41b976
mov edi, 0x5bc874
mov esi, ebp
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x41b976
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41b893
sub eax, edx
je 0x41b976
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
jmp 0x41b8b0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41b8b0
sub eax, edx
je 0x41b976
mov ecx, dword [esp + 0x10]
push ebp
push ecx
lea edx, [esp + 0x224]
push 0x5aded8
push edx
call fcn.00589571
mov eax, dword [esp + 0x24]
push ebp
push eax
lea ecx, [esp + 0x634]
push 0x5aded8
push ecx
call fcn.00589571
lea edx, [esp + 0x23c]
push 0x5bc870
push edx
call fcn.0058b491
mov esi, eax
add esp, 0x28
test esi, esi
je 0x41b976
lea eax, [esp + 0x61c]
push 0x5bc86c
push eax
call fcn.0058b491
mov edi, eax
add esp, 8
test edi, edi
je 0x41b976
push esi
push 0x200
lea ecx, [esp + 0x24]
push 1
push ecx
call fcn.0058ba27
add esp, 0x10
test eax, eax
jle 0x41b967
push edi
push eax
lea edx, [esp + 0x24]
push 1
push edx
call fcn.0058b709
push esi
push 0x200
lea eax, [esp + 0x34]
push 1
push eax
call fcn.0058ba27
add esp, 0x20
test eax, eax
jg 0x41b940
push esi
call fcn.0058b205
push edi
call fcn.0058b205
add esp, 8
lea ecx, [esp + 0xc]
call fcn.00567140
lea ecx, [esp + 0xc]
call fcn.00567120
test eax, eax
jne 0x41b854
pop edi
pop ebp
lea ecx, [esp + 4]
call fcn.00567ae0
pop esi
add esp, 0xa10
ret
Function at 0x41c700
Capabilities:
Get common file path
Get session integrity level

Disassembly:
sub esp, 0x100
push esi
push edi
push 0
lea eax, [esp + 0xc]
push eax
call fcn.0041c180
mov edi, str.Windows_XP
lea esi, [esp + 8]
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x41c764
mov edi, str.Windows_NT
lea esi, [esp + 8]
mov ecx, 0xb
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x41c764
mov edi, str.Windows_2000
lea esi, [esp + 8]
mov ecx, 0xd
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x41c764
mov edi, str.Windows_Vista
lea esi, [esp + 8]
mov ecx, 0xe
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x41c7ae
call dword [sym.imp.shell32.dll_IsUserAnAdmin]
test eax, eax
jne 0x41c7ae
push 1
push 5
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.shell32.dll_SHGetSpecialFolderPathA]
test eax, eax
jl 0x41c7ae
mov esi, dword [esp + 0x10c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00566e70
push str._rFactor_
mov ecx, esi
call fcn.00566ee0
pop edi
mov al, 1
pop esi
add esp, 0x100
ret 4
pop edi
xor al, al
pop esi
add esp, 0x100
ret 4
Function at 0x434c60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x5cd0]
push edi
mov edi, dword [esp + 0x18]
shl eax, 6
lea eax, [eax + esi + 0x5bcc]
mov ebx, edi
xor ecx, ecx
sub ebx, eax
mov dl, byte [eax]
test dl, dl
je 0x434c96
mov byte [ebx + eax], dl
add ecx, 1
add eax, 1
cmp ecx, 0x1f
jl 0x434c82
lea edx, [edi + 0x20]
mov byte [ecx + edi], 0
lea ecx, [esi + 0x5ce6]
mov ebx, edx
xor eax, eax
sub ebx, ecx
lea esp, [esp]
mov dl, byte [eax + ecx]
test dl, dl
lea ebp, [eax + ecx]
je 0x434ce7
mov byte [ebx + ebp], dl
mov dl, byte [eax + ecx + 1]
test dl, dl
je 0x434cdf
mov byte [eax + edi + 0x21], dl
mov dl, byte [eax + ecx + 2]
test dl, dl
je 0x434ce4
mov byte [eax + edi + 0x22], dl
add eax, 3
cmp eax, 0x3f
jl 0x434cb0
jmp 0x434ce7
add eax, 1
jmp 0x434ce7
add eax, 2
mov byte [eax + edi + 0x20], 0
mov cx, word [esi + 0x3d50]
mov word [edi + 0x60], cx
mov eax, dword [esi + 0x3d54]
cmp eax, 2
jne 0x434d06
xor eax, eax
jmp 0x434d09
add eax, 1
mov byte [edi + 0x62], al
mov dl, byte [esi + 0x3da4]
lea ecx, [esi + 4]
mov byte [edi + 0x63], dl
call fcn.005027d0
fstp dword [edi + 0x64]
mov ecx, dword [esi + 0x3394]
test ecx, ecx
je 0x434d76
fld dword [esi + 0x28dc]
fsub dword [ecx + 0x10]
fld dword [esi + 0x28e0]
fsub dword [ecx + 0x14]
fld dword [esi + 0x28e4]
fsub dword [ecx + 0x18]
fmul dword [ecx + 0x44]
fld dword [ecx + 0x40]
fmulp st(2)
faddp st(1)
fld dword [ecx + 0x3c]
fmulp st(2)
faddp st(1)
fst dword [edi + 0x68]
fldz
fcompp
fnstsw ax
test ah, 0x41
jne 0x434d6e
fld dword [ecx + 0xa4]
fchs
jmp 0x434d7b
fld dword [ecx + 0xa8]
jmp 0x434d7b
fldz
fst dword [edi + 0x68]
movsx ecx, word [edi + 0x60]
fstp dword [edi + 0x6c]
fld dword [esi + 0x3df4]
lea eax, [ecx - 1]
test eax, eax
fstp dword [edi + 0x70]
fld dword [esi + 0x3df8]
fstp dword [edi + 0x74]
fld dword [esi + 0x3df0]
fstp dword [edi + 0x78]
jl 0x434de2
cmp eax, dword [esi + 0x3e10]
jge 0x434de2
mov edx, dword [esi + 0x3e14]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
fld dword [eax + edx + 4]
fstp dword [edi + 0x7c]
mov edx, dword [esi + 0x3e14]
fld dword [eax + edx + 8]
fstp dword [edi + 0x80]
mov edx, dword [esi + 0x3e14]
fld dword [eax + edx + 0xc]
fstp dword [edi + 0x84]
test ecx, ecx
jl 0x434e17
cmp ecx, dword [esi + 0x3e10]
jge 0x434e17
lea eax, [ecx + ecx*2]
mov ecx, dword [esi + 0x3e14]
add eax, eax
add eax, eax
add eax, eax
fld dword [eax + ecx + 4]
fstp dword [edi + 0x88]
mov edx, dword [esi + 0x3e14]
fld dword [eax + edx + 8]
fstp dword [edi + 0x8c]
mov ax, word [esi + 0x3dac]
mov word [edi + 0x90], ax
mov cx, word [esi + 0x3db4]
mov word [edi + 0x92], cx
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x436d00
Capabilities:
Check http status code
Connect to http server
Create thread

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0
push 0
push 3
push eax
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 4]
push ecx
push 0x50
push edx
push eax
mov bl, 1
call dword [sym.imp.wininet.dll_InternetConnectA]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
push eax
mov dword [esi + 8], eax
call dword [sym.imp.wininet.dll_HttpOpenRequestA]
lea edx, [esp + 0x10]
push edx
push 0
mov dword [esi + 0xc], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push 0x436ce0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov ebp, dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov edi, eax
push 0x1388
push edi
call ebp
cmp eax, 0x102
jne 0x436d8f
mov ecx, esi
call fcn.00436cb0
push 0x7530
push edi
call ebp
xor bl, bl
lea ecx, [esp + 0x24]
push ecx
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.kernel32.dll_GetExitCodeThread]
test eax, eax
je 0x436dea
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [esp + 0x24], 0
jne 0x436dea
test bl, bl
je 0x436dec
mov ecx, dword [esi + 0xc]
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push 0x20000013
push ecx
mov dword [esp + 0x2c], 4
call dword [sym.imp.wininet.dll_HttpQueryInfoA]
test eax, eax
je 0x436dea
cmp dword [esp + 0x1c], 0xc8
je 0x436df3
xor bl, bl
mov ecx, esi
call fcn.00436cb0
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret 0x10

Function at 0x436e00
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
test ebp, ebp
mov ebx, ecx
jne 0x436e13
pop ebp
xor al, al
pop ebx
ret 0x18
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00436d00
test al, al
je 0x436e0c
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [esi]
lea ecx, [esp + 0x24]
push ecx
push edi
mov dword [esi], 0
mov edx, dword [ebx + 0xc]
push ebp
push edx
mov dword [esp + 0x34], 1
call dword [sym.imp.wininet.dll_InternetReadFile]
test eax, eax
je 0x436e87
lea ecx, [ecx]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x436e87
add dword [esi], eax
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
mov edx, edi
sub edx, eax
push edx
add eax, ebp
push eax
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.wininet.dll_InternetReadFile]
test eax, eax
jne 0x436e60
mov ecx, ebx
call fcn.00436cb0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0x18

Function at 0x437dd0
Capabilities:
Create thread

Disassembly:
push ecx
cmp byte [0x920d90], 0
push esi
mov esi, ecx
jne 0x437e2a
call fcn.004d1120
mov ecx, dword [esi]
call fcn.00436c90
cmp byte [0x908340], 0
jne 0x437e0a
cmp byte [0x907a1c], 0
jne 0x437e0a
mov eax, dword [esi]
mov dword [eax + 0xa14], 0
pop esi
pop ecx
ret
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x437ae0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov edx, dword [esi]
mov dword [edx + 0xa14], eax
pop esi
pop ecx
ret