joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469720
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x56000]
push edi
jmp 0x46973a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x469741
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469730
mov eax, 1
add ebx, ebx
jne 0x469753
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x469764
jne 0x469783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469783
dec eax
add ebx, ebx
jne 0x469770
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x469748
add ebx, ebx
jne 0x46977f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4697d5
xor ecx, ecx
sub eax, 3
jb 0x46979b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46980a
sar eax, 1
mov ebp, eax
jmp 0x4697a6
add ebx, ebx
jne 0x4697a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469774
inc ecx
add ebx, ebx
jne 0x4697b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469774
add ebx, ebx
jne 0x4697c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4697b6
jne 0x4697d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4697b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4697f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4697e6
jmp 0x469736
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4697f4
add edi, ecx
jmp 0x469736
pop esi
mov edi, esi
mov ecx, 0x1fff
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x469812
cmp byte [edi], 6
jne 0x469812
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x469817
lea edi, [esi + 0x66000]
mov eax, dword [edi]
or eax, eax
je 0x46988f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x69000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x69118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x469844
mov ecx, edi
jns 0x469873
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 + 0x6911c]
or eax, eax
je 0x469889
mov dword [ebx], eax
add ebx, 4
jmp 0x469861
call dword [esi + 0x6912c]
mov ebp, dword [esi + 0x69120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4698c3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x678e0287
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x43c96925
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x472900
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x472a91
pushal
mov esi, 0x44902e
lea edi, [esi - 0x4802e]
push edi
or ebp, 0xffffffff
jmp 0x47292a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x472931
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x472920
mov eax, 1
add ebx, ebx
jne 0x472943
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x472938
jne 0x472954
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x472938
xor ecx, ecx
sub eax, 3
jb 0x472968
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4729da
mov ebp, eax
add ebx, ebx
jne 0x472973
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x472980
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4729a4
inc ecx
add ebx, ebx
jne 0x472990
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x472985
jne 0x4729a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x472985
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4729c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4729b5
jmp 0x472926
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4729c4
add edi, ecx
jmp 0x472926
pop esi
mov edi, esi
mov ecx, 0x27b6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4729e2
cmp byte [edi], 0xd
jne 0x4729e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4729e7
lea edi, [esi + 0x6c000]
mov eax, dword [edi]
or eax, eax
je 0x472a5f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x725d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x726a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x472a14
mov ecx, edi
jns 0x472a43
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 + 0x726a4]
or eax, eax
je 0x472a59
mov dword [ebx], eax
add ebx, 4
jmp 0x472a31
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x472a90
cmp al, 0xef
ja 0x472a83
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x472a65
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x472a72
popal
jmp section.text
Function at 0x401c56
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x429178
call fcn.00402c7c
mov edi, 0x94
mov eax, edi
call fcn.00401bd0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x43b2f0], ecx
mov eax, dword [esi + 4]
mov dword [0x43b2fc], eax
mov edx, dword [esi + 8]
mov dword [0x43b300], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x43b2f4], esi
cmp ecx, 2
je 0x401cb6
or esi, 0x8000
mov dword [0x43b2f4], esi
shl eax, 8
add eax, edx
mov dword [0x43b2f8], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x401cf1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401cf1
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x401d09
cmp eax, 0x20b
je 0x401cf6
mov dword [ebp - 0x1c], esi
jmp 0x401d1d
cmp dword [ecx + 0x84], 0xe
jbe 0x401cf1
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x401d17
cmp dword [ecx + 0x74], 0xe
jbe 0x401cf1
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00403e1a
pop ecx
test eax, eax
jne 0x401d31
push 0x1c
call fcn.00401c32
pop ecx
call fcn.004028b3
test eax, eax
jne 0x401d42
push 0x10
call fcn.00401c32
pop ecx
call fcn.00403d78
mov dword [ebp - 4], esi
call fcn.00403b7a
test eax, eax
jge 0x401d5b
push 0x1b
call fcn.00401c0d
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x43cc30], eax
call fcn.00403a58
mov dword [0x43b2cc], eax
call fcn.004039b6
test eax, eax
jge 0x401d81
push 8
call fcn.00401c0d
pop ecx
call fcn.00403783
test eax, eax
jge 0x401d92
push 9
call fcn.00401c0d
pop ecx
push 1
call fcn.004032a5
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x401da8
push eax
call fcn.00401c0d
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00403726
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x401dc9
movzx eax, word [ebp - 0x40]
jmp 0x401dcc
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00401190
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x401dea
push edi
call fcn.004033d2
call fcn.004033f4
jmp 0x401e1c
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00402cb7
ret
Function at 0x40330f
Capabilities:
Terminate process

Disassembly:
push 8
push 0x4294c8
call fcn.00402c7c
push 8
call fcn.00404450
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x43b330], esi
jne 0x403343
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x43b32c], esi
mov al, byte [ebp + 0x10]
mov byte [0x43b328], al
cmp dword [ebp + 0xc], edi
jne 0x40338d
cmp dword [0x43cc28], edi
je 0x40337d
mov eax, dword [0x43cc24]
sub eax, 4
mov dword [0x43cc24], eax
cmp eax, dword [0x43cc28]
jb 0x40337d
mov eax, dword [eax]
cmp eax, edi
je 0x40335e
call eax
jmp 0x40335e
push 0x436030
mov eax, 0x436028
call fcn.0040328d
pop ecx
push 0x43603c
mov eax, 0x436034
call fcn.0040328d
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x4033be
cmp dword [ebp + 0x10], edi
jne 0x4033cc
mov dword [0x43b330], esi
push dword [ebp + 8]
call fcn.0040324b
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x4033cb
push 8
call fcn.0040439b
pop ecx
ret
call fcn.00402cb7
ret

Function at 0x403412
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x436050]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4360a8]
je 0x403447
inc eax
cmp eax, 0x13
jb 0x403438
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4360a8]
jne 0x40356d
mov eax, dword [0x43b2d4]
cmp eax, 1
je 0x403545
cmp eax, edx
jne 0x403477
cmp dword [0x436074], 1
je 0x403545
cmp ecx, 0xfc
je 0x40356d
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4034ad
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00405820
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00405a50
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4034e1
mov eax, edi
push eax
call fcn.00405a50
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x429294
push edi
call fcn.00405920
add esp, 0x10
push edi
call fcn.00405a50
push dword [esi + 0x4360ac]
mov ebx, eax
call fcn.00405a50
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00401bd0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00405820
push edi
push ebx
call fcn.00405830
push 0x429290
push ebx
call fcn.00405830
push dword [esi + 0x4360ac]
push ebx
call fcn.00405830
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00405725
add esp, 0x2c
jmp 0x40356d
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x4360ac]
push dword [esi]
call fcn.00405a50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00401af0
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x405725
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x43b5a8], ebx
push esi
push edi
jne 0x4057a5
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4057e0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x43b5a8], eax
je 0x4057e0
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x43b5ac], eax
call esi
cmp dword [0x43b2f0], 2
mov dword [0x43b5b0], eax
jne 0x4057a5
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x43b5b8], eax
je 0x4057a5
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x43b5b4], eax
mov eax, dword [0x43b5b4]
test eax, eax
je 0x4057ea
call eax
test eax, eax
je 0x4057d1
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x43b5b8]
test eax, eax
je 0x4057d1
test byte [ebp - 8], 1
jne 0x4057ea
cmp dword [0x43b2fc], 4
jb 0x4057e4
or byte [ebp + 0x12], 0x20
jmp 0x405809
xor eax, eax
jmp 0x405819
or byte [ebp + 0x12], 4
jmp 0x405809
mov eax, dword [0x43b5ac]
test eax, eax
je 0x405809
call eax
mov ebx, eax
test ebx, ebx
je 0x405809
mov eax, dword [0x43b5b0]
test eax, eax
je 0x405809
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x43b5a8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405adb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x405b09
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x405b10
cmp ebx, dword [eax + 4]
jae 0x405b10
xor eax, eax
jmp 0x405d00
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x405b21
xor eax, eax
inc eax
jmp 0x405cff
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x405b37
cmp ecx, edx
jae 0x405c7c
cmp dword [eax + 4], 0
je 0x405b40
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x405b28
cmp dword [ebp + 8], 0
je 0x405b62
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x405c7c
cmp eax, esi
jae 0x405c7c
mov eax, dword [0x43b5c0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x405b87
cmp dword [esi*4 + 0x43b5c8], edi
je 0x405c80
inc esi
cmp esi, eax
jl 0x405b75
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x405cfc
cmp dword [ebp - 8], 0x1000000
jne 0x405cfc
test byte [ebp - 0xc], 0xcc
je 0x405c05
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x405cfc
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x405cfc
cmp word [eax + 0x18], 0x10b
jne 0x405cfc
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x405cfc
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x405c05
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x405c05
test byte [ecx + 0x27], 0x80
jne 0x405c7c
push 1
push 0x43b608
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x405b19
mov ecx, dword [0x43b5c0]
test ecx, ecx
mov edx, ecx
jle 0x405c39
lea eax, [ecx*4 + 0x43b5c4]
cmp dword [eax], edi
je 0x405c39
dec edx
sub eax, 4
test edx, edx
jg 0x405c2d
test edx, edx
jne 0x405c6a
push 0xf
pop ebx
cmp ecx, ebx
jg 0x405c46
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x405c5e
lea eax, [edx*4 + 0x43b5c8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x405c4c
cmp ecx, 0x10
jge 0x405c6a
inc ecx
mov dword [0x43b5c0], ecx
push 0
push 0x43b608
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x405b19
xor eax, eax
jmp 0x405cff
test esi, esi
jle 0x405b19
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x43b608
call ebx
test eax, eax
jne 0x405b19
cmp dword [esi*4 + 0x43b5c8], edi
je 0x405cd6
mov eax, dword [0x43b5c0]
lea esi, [eax - 1]
test esi, esi
jl 0x405cc4
cmp dword [esi*4 + 0x43b5c8], edi
je 0x405cc0
dec esi
jns 0x405cb4
test esi, esi
jge 0x405cd4
cmp eax, 0x10
jge 0x405ccf
inc eax
mov dword [0x43b5c0], eax
lea esi, [eax - 1]
jmp 0x405cd6
je 0x405cee
xor ecx, ecx
test esi, esi
jl 0x405cee
lea eax, [ecx*4 + 0x43b5c8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x405cdc
push 0
push 0x43b608
call ebx
jmp 0x405b19
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40828e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00401bd0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x408329
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x43b2f0]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x408329
cmp eax, 1
je 0x40834a
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x408329
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4082f6
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x408325
xor eax, eax
inc eax
jmp 0x408369
cmp edi, eax
jae 0x40832d
xor eax, eax
jmp 0x408369
cmp eax, esi
jae 0x408334
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x43b2f0]
jmp 0x40834d
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42684f
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x436050]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x426880
xor eax, eax
jmp 0x426a09
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x43cb20]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x4268bc
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.004281a3
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x426997
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x4269d5
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x426920
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x426911
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x4268f1
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x426960
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x426969
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x4268e2
jmp 0x42696b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x426a04
cmp dword [ebp - 0x6c], edi
je 0x4269d5
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x4269ca
call fcn.00406b08
mov dword [eax], 9
call fcn.00406b11
mov dword [eax], esi
jmp 0x4269ff
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4269bf
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x42696b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x42696b
push dword [ebp - 0x6c]
call fcn.00406b1a
pop ecx
jmp 0x4269ff
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x4269ed
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x4269ed
xor eax, eax
jmp 0x426a07
call fcn.00406b08
mov dword [eax], 0x1c
call fcn.00406b11
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x426a07
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.00401af0
add ebp, 0x3a0
leave
ret
Function at 0x4018b0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401920
xor eax, eax
jmp 0x401a01
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
jne 0x401938
xor eax, eax
jmp 0x401a01
push ebp
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
call fcn.00401330
mov esp, ebp
pop ebp
ret

Function at 0x401be0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x40d0c0], 0x24e1
mov eax, dword [0x40d0c0]
sub eax, 0x24e1
mov dword [0x40d0c0], eax
mov ecx, 1
test ecx, ecx
je 0x401c8b
mov edx, dword [0x40d0c0]
cmp edx, dword [ebp + 0xc]
jb 0x401c17
jmp 0x401c8b
cmp dword [0x40d0c0], 0
jne 0x401c35
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401c35
xor eax, eax
jmp 0x401c8b
mov eax, dword [ebp + 8]
add eax, dword [0x40d0c0]
mov ecx, dword [eax]
add ecx, dword [0x40d0c0]
mov edx, dword [ebp + 8]
add edx, dword [0x40d0c0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x64b60
mov eax, dword [0x40d0c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x40d0c0]
push eax
call fcn.00401200
add esp, 8
mov ecx, dword [0x40d0c0]
add ecx, 4
mov dword [0x40d0c0], ecx
jmp 0x401bfd
mov esp, ebp
pop ebp
ret

Function at 0x40891a
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
call fcn.0040893a
xor dword [eax], ebx
and esi, esi
inc eax
inc esi
cmp eax, edx
jne fcn.0040891a
mov ecx, 0xd2b28d61
ret