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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5285ac]
cmp dword [eax + 0x30], 0
je 0x4601d6
cmp dword [ebx + 0x94], 0
jne 0x4601d0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4600bc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4601d0
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 0x460196
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4601d0
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.0041a458
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4601a5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460ef0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x460f25
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.0040487c
jmp 0x460f32
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047e0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x462294
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x462302
mov eax, esi
call fcn.0044bfe4
test al, al
je 0x462302
mov eax, dword [ebx + 0x84]
call fcn.0044bc70
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x462302
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4622f6
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044bc70
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044404c
jmp 0x462302
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004620d0
pop esi
pop ebx
ret
Function at 0x10497058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.104971a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1049707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1049706a
add dl, dl
jne 0x10497089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104970dc
xor eax, eax
add dl, dl
jne 0x10497096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1049717d
add dl, dl
jne 0x104970a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104970b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104970bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104970c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104970d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10497075
mov eax, 1
add dl, dl
jne 0x104970ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104970f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104970e1
sub eax, ebx
mov ebx, 1
jne 0x10497128
mov ecx, 1
add dl, dl
jne 0x1049710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10497119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10497105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10497075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1049713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1049714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10497136
cmp eax, 0x7d00
jae 0x1049716d
cmp eax, 0x500
jb 0x10497168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10497075
cmp eax, 0x7f
ja 0x10497170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10497075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1049719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10497075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x406d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x406d1f
pop dword [ebp - 0x3c]
mov eax, 0xc75949b8
sub eax, 0xc718dc99
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xce94e7fe
add dword [ebp - 0x4c], 0x7fbd5d4d
mov dword [ebp - 0x48], 0x31bc7edb
sub dword [ebp - 0x48], 0xff893296
mov dword [ebp - 0x44], 0xd4c4f5ce
add dword [ebp - 0x44], 0x77874e60
mov dword [ebp - 0x40], 0xf25c4151
add dword [ebp - 0x40], 0xda3beaf
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x1725541d
sub eax, 0x16e4138d
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x922abe06
sub dword [ebp - 0x4c], 0x1db854b0
mov dword [ebp - 0x48], 0xbd286d31
add dword [ebp - 0x48], 0x8443f444
mov dword [ebp - 0x44], 0xfd2be5b3
add dword [ebp - 0x44], 0x664386b9
mov dword [ebp - 0x40], 0xc800de2b
add dword [ebp - 0x40], 0x37ff21d5
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x397da
push 0
call eax
mov ecx, 0x42e6
xor edx, edx
add edx, eax
mov ebx, 0x6a34829b
add ebx, 0x960d3d65
add ebx, dword [ebp - 0x3c]
mov esi, 0xe16d5af4
sub dword [ebp - 0x30], 0xeb7c6451
mov edi, dword [ebx]
xor dword [ebp - 0x1c], ebx
sub edi, esi
mov dword [edx], edi
sub dword [ebp - 8], 0x47369178
add edx, 4
add ebx, 0xce5d14c3
sub ebx, 0xce5d14bf
loop 0x406e32
add eax, 0xfe6b
xor ebx, ebx
add ebx, eax
add eax, 0xae627da0
add eax, 0x519d8265
mov ecx, 0xec223aaf
add ecx, 0x141dc551
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x410b90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x410bac
mov dword [eax], ecx
jmp 0x410bae
mov eax, ecx
push ecx
push ecx
push esi
push 0x410c20
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x1f36f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x1b3c015
lea edi, [esi - 0x173b015]
push edi
or ebp, 0xffffffff
jmp 0x1f36fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1f36fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f36f98
mov eax, 1
add ebx, ebx
jne 0x1f36fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1f36fcc
jne 0x1f36feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f36feb
dec eax
add ebx, ebx
jne 0x1f36fd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1f36fb0
add ebx, ebx
jne 0x1f36fe7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1f3703d
xor ecx, ecx
sub eax, 3
jb 0x1f37003
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1f37072
sar eax, 1
mov ebp, eax
jmp 0x1f3700e
add ebx, ebx
jne 0x1f3700e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f36fdc
inc ecx
add ebx, ebx
jne 0x1f3701c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f36fdc
add ebx, ebx
jne 0x1f37029
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1f3701e
jne 0x1f3703a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1f3701e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1f3705c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1f3704e
jmp 0x1f36f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1f3705c
add edi, ecx
jmp 0x1f36f9e
pop esi
mov edi, esi
mov ecx, 0x5c833c
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1f37097
cmp byte [edi], 0x6e
jne 0x1f3707c
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 0x1f3707a
lea edi, [esi + 0x1b32000]
mov eax, dword [edi]
or eax, eax
je 0x1f370df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b374ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b3756c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1f3709d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b37574]
or eax, eax
je 0x1f370d9
mov dword [ebx], eax
add ebx, 4
jmp 0x1f370ba
call dword [esi + 0x1b37570]
mov ebp, dword [esi + 0x1b37578]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x1f37113
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40de38
mov ecx, 0x36336bb7
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x127f1c75
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401005
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 6
xor ebx, ebx
lea edi, [ebp - 0x18]
pop ecx
xor eax, eax
mov dword [ebp - 0x1c], ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push ebx
push ebx
push 1
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x40151d
push dword [ebp + 0x14]
mov ecx, esi
call fcn.0040672f
mov ecx, dword [ebp + 8]
mov edx, eax
call fcn.004016e0
test eax, eax
je 0x401536
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x413ae0
push ebx
mov eax, 0x800b
push eax
push eax
call dword [sym.imp.USER32.dll_SetWinEventHook]
mov esi, eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x401507
cmp dword [ebp - 0x18], 0x50
je 0x4081d1
mov eax, dword [0x417b68]
test eax, eax
jne 0x4081e9
lea eax, [ebp - 0x1c]
push eax
push dword [0x417084]
push dword [0x41703c]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x40107d
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x40107d
call fcn.00401540
test esi, esi
je 0x401517
push esi
call dword [sym.imp.USER32.dll_UnhookWinEvent]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 0x14], ebx
jmp 0x401517
Function at 0x406243
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
mov dword [0x417164], 0x415e40
push eax
push 0xd
push 0x400
mov dword [0x41716c], 0xc
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp word [ebp - 4], 0x31
jne 0x40760b
mov eax, 0x3e8
mov dword [0x417130], 0xa006
mov dword [0x417150], eax
mov dword [0x417158], eax
mov eax, 0x2ee
mov dword [0x417154], eax
mov dword [0x41714c], eax
mov esp, ebp
pop ebp
ret

Function at 0x105f2058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x105f21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x105f207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105f206a
add dl, dl
jne 0x105f2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105f20dc
xor eax, eax
add dl, dl
jne 0x105f2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105f217d
add dl, dl
jne 0x105f20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105f20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105f20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105f20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105f20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105f2075
mov eax, 1
add dl, dl
jne 0x105f20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105f20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105f20e1
sub eax, ebx
mov ebx, 1
jne 0x105f2128
mov ecx, 1
add dl, dl
jne 0x105f210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105f2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105f2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105f2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105f213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105f214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105f2136
cmp eax, 0x7d00
jae 0x105f216d
cmp eax, 0x500
jb 0x105f2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105f2075
cmp eax, 0x7f
ja 0x105f2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105f2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105f219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x105f2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x402ee4
pop dword [ebp - 0x38]
mov eax, 0x402ee4
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xe5b40a
add dword [ebp - 0x48], 0x4d6c9141
mov dword [ebp - 0x44], 0x6f971cba
add dword [ebp - 0x44], 0xc29c2f8b
mov dword [ebp - 0x40], 0xd3b06c3
sub dword [ebp - 0x40], 0xc0eec295
mov dword [ebp - 0x3c], 0x2606f4eb
add dword [ebp - 0x3c], 0xd9f90b15
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xcb7d19ac
add dword [ebp - 0x48], 0xa8f54faa
mov dword [ebp - 0x44], 0x23dc9b06
sub dword [ebp - 0x44], 0xe2703991
mov dword [ebp - 0x40], 0x8210c45
add dword [ebp - 0x40], 0x5b4e6027
mov dword [ebp - 0x3c], 0xa0a7fa09
sub dword [ebp - 0x3c], 0xa0a7fa09
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x8a33600
add eax, 0xf79d4b00
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x355cf
push 0
call eax
mov ecx, 0x414f
xor esi, esi
add esi, eax
mov edx, 0xfbdb0e66
add edx, 0x46bd59a
add edx, dword [ebp - 0x38]
mov edi, 0x89df5054
add dword [ebp - 0x28], 0xfc0e39b5
mov ebx, dword [edx]
xor dword [ebp - 4], 0x11263b5f
sub ebx, edi
xor dword [ebp - 0xc], 0xcaa1c71a
mov dword [esi], ebx
mov dword [ebp - 0x30], 0x7f92fe1
add esi, 0xf4fbec02
sub esi, 0xf4fbebfe
add edx, 4
loop 0x402ff2
add eax, 0xf80f
xor ebx, ebx
add ebx, eax
add eax, 0xc6f9cd0d
sub eax, 0xc6f9cd08
mov ecx, 0x34c5cf2e
sub ecx, 0x3485cf2e
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x6d462c24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x6d462c33
pop dword [ebp - 0x14]
mov eax, 0xf93369bf
add eax, 0x7412c274
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x3570c0e1
add dword [ebp - 0x24], 0x18e1846a
mov dword [ebp - 0x20], 0x18a06f57
sub dword [ebp - 0x20], 0xe66d2312
mov dword [ebp - 0x1c], 0x922ecdd
sub dword [ebp - 0x1c], 0xbcd6a8af
mov dword [ebp - 0x18], 0x50963925
add dword [ebp - 0x18], 0xaf69c6db
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x55f21e1c
sub dword [ebp - 0x24], 0xe17fb4c6
mov dword [ebp - 0x20], 0xe21b34b6
sub dword [ebp - 0x20], 0xa0aed341
mov dword [ebp - 0x1c], 0x6ae01e22
add dword [ebp - 0x1c], 0xf88f4e4a
mov dword [ebp - 0x18], 0xb9cfbf97
add dword [ebp - 0x18], 0x46304069
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x35f2a
push 0
call eax
mov ecx, 0x5671822a
sub ecx, 0x56713f75
xor esi, esi
add esi, eax
mov edx, 0xa5c19a85
sub edx, 0x387ab285
add edx, dword [ebp - 0x14]
mov edi, 0x76a63266
xor dword [ebp - 0x10], edx
mov ebx, dword [edx]
xor dword [ebp - 4], ecx
xor ebx, edi
mov dword [esi], ebx
sub dword [ebp - 4], ebx
add esi, 0x39ff6943
add esi, 0xc60096c1
add edx, 0x46a0dc38
add edx, 0xb95f23cc
loop 0x6d462d47
add eax, 0xc829a61b
sub eax, 0xc828a874
xor ebx, ebx
add ebx, eax
add eax, 0xadac8d57
add eax, 0x525372ae
mov ecx, 0xd66cb8c0
sub ecx, 0x6926b8c0
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x6d4678c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x6d4678ce
repz ret
jmp fcn.6d467caf
Function at 0x432fc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b9ddb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004adac0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x433042
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004aaf4d
mov eax, dword [eax]
push 0x5ac284
push eax
call fcn.0049cc44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004add4b
test bl, bl
je 0x433042
push 0x5ac284
lea ecx, [esp + 0xc]
call fcn.004ae0db
push 0x5afdfc
lea ecx, [esp + 0xc]
call fcn.004ae0db
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43307e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004add4b
jmp 0x433149
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x433102
lea edx, [esp + 0x7c]
push 0x5afdf8
push edx
call fcn.0049cc44
add esp, 8
test eax, eax
je 0x433102
lea eax, [esp + 0x7c]
push 0x5afdf4
push eax
call fcn.0049cc44
add esp, 8
test eax, eax
je 0x433102
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x433092
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004add4b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x433940
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4339a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4339b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b9e5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5bd240]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x433ae8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x433a16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004add4b
xor eax, eax
jmp 0x433b5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ade88
push esi
lea ecx, [esp + 0xc]
call fcn.004ae117
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x433b3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00433940
test eax, eax
jne 0x433b3d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00433940
test eax, eax
jne 0x433b3d
lea eax, [esp + 0x14]
push 0x5afe10
push eax
call fcn.0049dde0
mov esi, eax
add esp, 8
test esi, esi
jne 0x433b1c
lea ecx, [esp + 0x14]
push 0x5afe0c
push ecx
call fcn.0049dd60
mov esi, eax
add esp, 8
test esi, esi
jne 0x433b1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x433b1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ade38
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x433a2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004add4b
xor eax, eax
jmp 0x433b5f
mov byte [esi], 0
push 0x5afe08
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004add4b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4