joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460a70
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x460b0f
cmp dword [ebx + 0x94], 0
jne 0x460b09
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4609f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460b09
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x460acf
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460b09
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041bd94
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x460ade
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460d28
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x48dc9c]
cmp dword [eax + 0x30], 0
je 0x460e85
test bl, bl
jne 0x460dd6
cmp dword [esi + 0x9c], 0
jne 0x460dcb
mov eax, esi
call fcn.004636b8
push eax
push 0x460c54
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x460d9c
mov eax, dword [0x48dc9c]
call fcn.00463d98
test al, al
je 0x460d9c
mov eax, dword [0x48dcc0]
call fcn.00405cec
mov edi, eax
cmp edi, 0
jl 0x460d9c
push 0
mov eax, dword [0x48dcc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x460d86
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x460dcb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041bd94
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x460dab
inc dword [esi + 0x9c]
jmp 0x460e85
cmp dword [esi + 0x9c], 0
jle 0x460e85
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x460e85
cmp dword [esi + 0x44], 0
je 0x460e31
mov eax, dword [0x48dc9c]
call fcn.00463d98
test al, al
je 0x460e31
mov eax, dword [0x48dcc0]
call fcn.00405cec
mov edi, eax
cmp edi, 0
jl 0x460e31
push 5
mov eax, dword [0x48dcc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x460e1b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x460e60
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041bd94
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x460e40
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x48dcc0
mov ecx, 1
mov edx, dword [0x460c34]
call fcn.00405ea0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46196c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4619d6
mov eax, ebx
call fcn.00463d98
test al, al
jne 0x4619d6
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404c68
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4619c3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4619e3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404bcc
jmp 0x4619e3
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404bcc
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x462ebc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x462f2a
mov eax, esi
call fcn.0044bac4
test al, al
je 0x462f2a
mov eax, dword [ebx + 0x84]
call fcn.0044b724
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x462f2a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x462f1e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b724
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00443594
jmp 0x462f2a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00462cf8
pop esi
pop ebx
ret
Function at 0x482960
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
xor edx, edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x482b8d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x10d]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.00404de8
mov edx, dword [ebp - 0x114]
mov eax, 0x48df2c
mov ecx, 0x482ba4
call fcn.00404e90
mov ecx, dword [0x48df2c]
mov dl, 1
mov eax, dword [0x425e04]
call fcn.00425ebc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x482b60
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x118]
push eax
mov ecx, 0x482bbc
mov edx, 0x482bcc
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x118]
mov eax, 0x48df08
call fcn.00404bcc
push 0
lea eax, [ebp - 0x11c]
push eax
mov ecx, 0x482bdc
mov edx, 0x482bcc
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x11c]
mov eax, 0x48df0c
call fcn.00404bcc
push 0
lea eax, [ebp - 0x120]
push eax
mov ecx, 0x482bf0
mov edx, 0x482bcc
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x120]
mov eax, 0x48df1c
call fcn.00404bcc
push 0
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x482c04
mov edx, 0x482bcc
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x124]
mov eax, 0x48df20
call fcn.00404bcc
push 0
lea eax, [ebp - 0x128]
push eax
mov ecx, 0x482c14
mov edx, 0x482bcc
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x128]
mov eax, 0x48df24
call fcn.00404bcc
push 0
lea eax, [ebp - 0x12c]
push eax
mov ecx, 0x482c24
mov edx, 0x482bcc
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x12c]
mov eax, 0x48df28
call fcn.00404bcc
push 0
lea eax, [ebp - 0x130]
push eax
mov ecx, 0x482c30
mov edx, 0x482bcc
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x130]
mov eax, 0x48df04
call fcn.00404bcc
cmp dword [0x48df04], 0
jne 0x482b4a
mov eax, 0x48df04
mov edx, 0x482c40
call fcn.00404bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482b67
mov eax, dword [ebp - 8]
call fcn.00403c74
ret
Function at 0x482f28
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff5d4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ff8
xor eax, eax
push ebp
push 0x483121
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov edx, 0x483134
lea eax, [ebp - 0x13]
call fcn.00409980
lea eax, [ebp - 0x13]
mov edx, 6
call fcn.00482d20
xor eax, eax
push ebp
push 0x483104
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4830df
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x419f24]
call fcn.0041e8bc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x482fbc
cmp eax, 6
jb 0x4830d5
jmp 0x482fc2
jl 0x4830d5
push 0xffffffffffffffff
push 0xfffffffffffffffa
mov dl, 2
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x1a29]
mov ecx, 6
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x13]
lea eax, [ebp - 0x1a29]
mov ecx, 6
call fcn.00482dd4
test eax, eax
je 0x4830d0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
sub eax, 6
sbb edx, 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push 0xffffffffffffffff
push 0xfffffffffffffffa
mov dl, 2
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SetEndOfFile
jmp 0x4830b6
push dword [ebp - 0x24]
push dword [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x1a29]
mov ecx, 0x1a00
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
lea eax, [ebp - 0x1a29]
mov edx, ebx
call fcn.00482d20
push dword [ebp - 0x24]
push dword [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x1a29]
mov ecx, ebx
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push edx
push eax
mov eax, ebx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, ebx
cdq
add eax, dword [ebp - 0x28]
adc edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x1c], 0
jne 0x4830c8
cmp dword [ebp - 0x20], 0
ja 0x48303b
jmp 0x4830d5
jg 0x48303b
jmp 0x4830d5
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4830ee
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48310b
mov eax, dword [ebp - 0xc]
call fcn.00403c74
ret
Function at 0x483224
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, edx
test ax, ax
jbe 0x48325c
mov dx, 1
movzx esi, dx
movzx esi, byte [ebx + esi - 1]
mov edi, dword [ecx]
and edi, 0xff
xor esi, edi
mov esi, dword [esi*4 + 0x487c50]
mov edi, dword [ecx]
shr edi, 8
xor esi, edi
mov dword [ecx], esi
inc edx
dec ax
jne 0x483234
pop edi
pop esi
pop ebx
ret

Function at 0x483260
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ff8
xor eax, eax
push ebp
push 0x4833dd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4833b0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0x410]
mov ecx, 0x4833f4
mov edx, dword [ebp - 4]
call fcn.00404e90
mov eax, dword [ebp - 0x410]
call fcn.00405008
push eax
mov eax, dword [ebp - 4]
call fcn.00405008
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea eax, [ebp - 0x414]
mov ecx, 0x4833f4
mov edx, dword [ebp - 4]
call fcn.00404e90
mov ecx, dword [ebp - 0x414]
mov dl, 1
mov eax, dword [0x419f24]
call fcn.0041e8bc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov ebx, eax
test ebx, ebx
jbe 0x48336d
cmp ebx, 0x400
jb 0x483347
lea edx, [ebp - 0x40c]
mov ecx, 0x400
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x40c]
mov edx, 0x400
call fcn.00483224
sub ebx, 0x400
jmp 0x483369
lea edx, [ebp - 0x40c]
mov ecx, ebx
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x40c]
mov edx, ebx
call fcn.00483224
xor ebx, ebx
test ebx, ebx
ja 0x483311
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4833b7
mov ebx, dword [ebp - 0xc]
cmp dword [ebp - 8], 0
je 0x48338b
mov eax, dword [ebp - 8]
call fcn.00403c74
lea eax, [ebp - 0x418]
mov ecx, 0x4833f4
mov edx, dword [ebp - 4]
call fcn.00404e90
mov eax, dword [ebp - 0x418]
call fcn.00405008
push eax
call sub.kernel32.dll_DeleteFileA
ret
Function at 0x483570
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe2c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x48364f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404b78
xor edx, edx
push ebp
push 0x483632
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push 0x40
lea eax, [ebp - 0x1d4]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x1d4]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4835f3
mov ebx, dword [eax + 0xc]
jmp 0x4835ed
push dword [esi]
call sub.wsock32.dll_inet_ntoa
lea edx, [ebp - 4]
call fcn.00409b6c
add ebx, 4
mov esi, dword [ebx]
test esi, esi
jne 0x4835db
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483639
xor eax, eax
push ebp
push 0x483627
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x483631
ret
Function at 0x4844f0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.00404ff8
xor eax, eax
push ebp
push 0x484821
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x483660]
call fcn.00458738
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xfc]
lea eax, [ebp - 0xc]
call fcn.00404b78
cmp dword [ebx + 0x294], 1
jne 0x4847f1
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x360]
call fcn.00443674
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x35]
push eax
call sub.kernel32.dll_GetComputerNameA
lea eax, [ebp - 8]
call fcn.00483570
mov eax, dword [ebp - 4]
call fcn.00483260
mov ebx, eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.00409294
xor eax, eax
push ebp
push 0x4847ea
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4847aa
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47448c]
call fcn.00467a80
mov dword [ebp - 0x24], eax
mov edx, dword [0x4885c8]
mov edx, dword [edx]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov edx, 0x1ed2
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
push 0x48483c
mov eax, dword [0x488500]
push dword [eax]
push 0x484850
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404f0c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x14]
call fcn.00406b34
xor eax, eax
push ebp
push 0x4846c6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48469e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x94]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x84]
lea eax, [ebp - 0x14]
call fcn.00404b78
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xa0]
call fcn.00472344
mov edx, eax
lea eax, [ebp - 0x40]
call fcn.00404d60
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x14]
call fcn.00404e44
mov edx, dword [ebp - 0x14]
mov eax, 0x484860
call fcn.00405154
test eax, eax
je 0x484655
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x14]
call fcn.00406b84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4846a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4846cd
mov eax, dword [ebp - 0x24]
call fcn.0047a600
mov eax, dword [ebp - 0x24]
call fcn.00403c74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484828
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.00404b9c
lea eax, [ebp - 0x14]
call fcn.00404b78
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404b9c
ret
Function at 0x1111540
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x759000]
push edi
jmp 0x111155a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1111561
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1111550
mov eax, 1
add ebx, ebx
jne 0x1111573
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1111584
jne 0x11115a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11115a3
dec eax
add ebx, ebx
jne 0x1111590
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1111568
add ebx, ebx
jne 0x111159f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x11115f5
xor ecx, ecx
sub eax, 3
jb 0x11115bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x111162a
sar eax, 1
mov ebp, eax
jmp 0x11115c6
add ebx, ebx
jne 0x11115c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1111594
inc ecx
add ebx, ebx
jne 0x11115d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1111594
add ebx, ebx
jne 0x11115e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x11115d6
jne 0x11115f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x11115d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1111614
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1111606
jmp 0x1111556
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1111614
add edi, ecx
jmp 0x1111556
pop esi
mov edi, esi
mov ecx, 0x47f87b
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x111164f
cmp byte [edi], 0x18
jne 0x1111634
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1111632
lea edi, [esi + 0xd0c000]
mov eax, dword [edi]
or eax, eax
je 0x11116a0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd283c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd285dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1111655
mov ecx, edi
jns 0x1111684
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd285e4]
or eax, eax
je 0x111169a
mov dword [ebx], eax
add ebx, 4
jmp 0x1111672
call dword [esi + 0xd285e0]
mov ebp, dword [esi + 0xd285e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x11116d4
sub esp, 0xffffff80
jmp 0x8805f8
Function at 0x460beb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x460bf9
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop ebp
ret

Function at 0x4c6489
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c6070

Function at 0x4c6494
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c61fa

Function at 0x4cbb6a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cb522

Function at 0x4cbf04
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cbdd8

Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0x40102e
cmp bl, 0xd7
je 0x40102e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0x40104f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x401023
jmp 0x40104f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.00401980
cmp bl, 0xd8
jne 0x40104f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x40104f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x401045
pop esi
pop ebx
pop ebp
ret

Function at 0x4010c1
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
xor esi, esi
push edi
push esi
push dword [esp + 0x14]
push esi
push 0x8000040
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, esi
je 0x4010fc
push esi
push esi
push esi
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, esi
jne 0x40112a
push 0x40
push 0x101000
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40112a
push esi
mov eax, 0x401130
push esi
push eax
push eax
push 0x80030008
call fcn.00401057
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4028a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push edi
mov dword [ebp - 0x440], 0
lea eax, [ebp - 0x43c]
push eax
push 0x4069a0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401170
mov byte [ebp - 0x420], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x41f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x428], 0x400
mov dword [ebp - 0x424], 1
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x424]
push ecx
push 0
push str.Start_Page
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401166
mov eax, dword [str.microsoft.com]
mov dword [ebp - 0x438], eax
mov ecx, dword [0x40605c]
mov dword [ebp - 0x434], ecx
mov edx, dword [0x406060]
mov dword [ebp - 0x430], edx
mov ax, word [0x406064]
mov word [ebp - 0x42c], ax
xor ecx, ecx
mov byte [ebp - 0x42a], cl
mov byte [ebp - 0x438], 0x74
mov byte [ebp - 0x437], 0x61
mov byte [ebp - 0x436], 0x69
mov byte [ebp - 0x435], 0x68
mov byte [ebp - 0x434], 0x61
mov byte [ebp - 0x433], 0x6f
mov byte [ebp - 0x432], 0x31
mov byte [ebp - 0x431], 0x32
mov byte [ebp - 0x430], 0x33
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x401166
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x1c]
call dword [0x4030e8]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [ebp - 0x440]
or ecx, 1
mov dword [ebp - 0x440], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret