joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bc00
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x42bc25
mov eax, dword [esi + 0x180]
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov edx, dword [esi + 0x180]
cmp byte [edx + 8], 0
je 0x42bc50
mov eax, dword [esi]
mov dword [eax + 0x14], 0x30
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
mov eax, dword [esi + 0x180]
add esp, 4
cmp byte [eax + 8], 0
jne 0x42bc31
xor ecx, ecx
cmp byte [esi + 0x41], cl
mov al, 1
setne cl
add ecx, 0xcd
mov dword [esi + 0x14], ecx
ret

Function at 0x42bd10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x42bd3f
push esi
call fcn.0042b6d0
add esp, 4
cmp byte [esi + 0x40], 0
je 0x42bd38
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x42bdba
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x42bdaa
mov eax, dword [esi + 8]
test eax, eax
je 0x42bd64
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x42bda6
cmp eax, 2
je 0x42bdaa
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42bd55
cmp eax, 3
je 0x42bd8c
cmp eax, 1
jne 0x42bd55
add dword [ecx + 4], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x42bd55
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x42bd55
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.0042bc00
pop esi
ret
cmp eax, 0xcc
je 0x42bddc
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.0042bc00
pop esi
ret
Function at 0x403186
Capabilities:
Delete directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.0040a7d0
cmp dword [0x2a9f360], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
jne 0x4031c6
push 0x402bc8
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0x402bf4
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov eax, dword [0x42af48]
mov dword [ebp - 0x20], eax
mov eax, dword [0x42af4c]
xor edi, edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.0040317f
mov eax, dword [0x42af50]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x42af54]
add ebx, 0x23f
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x20
jmp 0x403208
mov esi, dword [ebp - 0x10]
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, esi
shl eax, 4
cmp dword [0x2a9f360], 0xc
mov dword [ebp - 4], eax
jne 0x403249
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
push edi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea eax, [ebp - 0x2c]
push eax
push edi
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov eax, dword [0x2a9f360]
cmp eax, 0xfa9
jne 0x403265
mov dword [0x2a9e8fc], 0xedeb2e40
cmp eax, 0x3eb
jne 0x403272
mov dword [0x2a9e2ac], edi
mov ecx, dword [ebp - 8]
mov edx, esi
shr edx, cl
lea eax, [ebx + esi]
mov dword [ebp - 0x14], eax
mov dword [0x2a9e8f8], 0xf4ea3dee
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x2a9f360], 0x213
mov dword [ebp - 0x14], edx
jne 0x4032ab
push edi
call dword [sym.imp.KERNEL32.dll_CreateMemoryResourceNotification]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x2a9f360], 0xc
jne 0x4032e8
push edi
lea eax, [ebp - 0x840]
push eax
push 0x402c10
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push edi
lea eax, [ebp - 0x1040]
push eax
push 0x402c44
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov esi, eax
shr esi, cl
lea edx, [ebx + eax]
xor dword [ebp - 4], edx
add esi, dword [ebp - 0x28]
cmp dword [0x2a9f360], 0x121
jne 0x403327
push 0x402c60
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], esi
mov ecx, dword [ebp - 4]
sub dword [ebp - 0x10], ecx
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x403205
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
pop ebx
leave
ret 4
Function at 0x403351
Capabilities:
Create pipe
Get common file path
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2a9f360]
mov ecx, dword [0x2a9e2b0]
sub esp, 0xc0c
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403443
mov edi, ecx
mov ebx, eax
cmp dword [0x2a9f360], 0x959
jne 0x403433
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
push 0x402c84
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402cb0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x402d00
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x402d54
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402d74
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push esi
lea eax, [ebp - 0xc08]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
push 0x402d7c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
call fcn.00403186
add edi, 8
dec ebx
jne 0x403379
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403759
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push esi
push edi
xor edi, edi
xor esi, esi
push edi
call dword [sym.imp.USER32.dll_CharUpperW]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
cmp esi, 0x2710
jge 0x40378b
lea eax, [ebp - 0x408]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
inc esi
cmp esi, 0x5d744c
jl 0x403768
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, 0x2b259d
call esi
cmp edi, ebx
jle 0x4037af
cmp dword [ebp - 4], 0x785074d5
jne 0x4037b8
inc edi
cmp edi, 0x1c1b
jl 0x4037a0
xor edi, edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x206d47
jg 0x4037db
inc edi
cmp edi, 0x4f6a4
jl 0x4037ba
cmp dword [0x2a9f360], 0x400
jne 0x403808
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
xor edi, edi
push edi
push edi
call fcn.00403b24
push edi
call fcn.00403d38
push edi
push edi
call fcn.00403a18
add esp, 0x14
jmp 0x40380a
xor edi, edi
mov eax, dword [0x42b31c]
mov dword [0x2a9f360], eax
mov eax, dword [0x42b2f0]
mov dword [0x2a9f364], eax
call fcn.00403517
xor esi, esi
push 0x402eb8
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp esi, ebx
jle 0x40383d
cmp dword [ebp - 4], 0x785074d5
jne 0x403846
inc esi
cmp esi, 0x11915
jl 0x403825
mov esi, 0x3078f
pop ebx
cmp dword [0x2a9f360], 0x51f
jne 0x40387a
push 0x402ec0
push edi
lea eax, [ebp - 0x408]
push eax
push 0x402eec
push 0x402f20
push 0x402f28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec esi
jne 0x40384c
mov eax, dword [0x2a9e2b0]
mov dword [0x2a9e8f4], eax
call eax
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x4088b9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a694]
jne 0x4088c3
repz ret
jmp fcn.0040a7fb
Function at 0x409d89
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004050dc
and dword [ebp - 4], 0
cmp dword [0x42bc34], 0
mov ebx, eax
jne 0x409e3a
push 0x40215c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409eeb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402150
push edi
call esi
test eax, eax
je 0x409eeb
push eax
call fcn.0040506a
mov dword [esp], 0x402140
push edi
mov dword [0x42bc34], eax
call esi
push eax
call fcn.0040506a
mov dword [esp], 0x40212c
push edi
mov dword [0x42bc38], eax
call esi
push eax
call fcn.0040506a
mov dword [esp], 0x402110
push edi
mov dword [0x42bc3c], eax
call esi
push eax
call fcn.0040506a
pop ecx
mov dword [0x42bc44], eax
test eax, eax
je 0x409e3a
push 0x4020f8
push edi
call esi
push eax
call fcn.0040506a
pop ecx
mov dword [0x42bc40], eax
mov eax, dword [0x42bc40]
cmp eax, ebx
je 0x409e92
cmp dword [0x42bc44], ebx
je 0x409e92
push eax
call fcn.004050e5
push dword [0x42bc44]
mov esi, eax
call fcn.004050e5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409e92
test edi, edi
je 0x409e92
call esi
test eax, eax
je 0x409e89
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409e89
test byte [ebp - 0xc], 1
jne 0x409e92
or dword [ebp + 0x10], 0x200000
jmp 0x409ecb
mov eax, dword [0x42bc38]
cmp eax, ebx
je 0x409ecb
push eax
call fcn.004050e5
pop ecx
test eax, eax
je 0x409ecb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409ecb
mov eax, dword [0x42bc3c]
cmp eax, ebx
je 0x409ecb
push eax
call fcn.004050e5
pop ecx
test eax, eax
je 0x409ecb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42bc34]
call fcn.004050e5
pop ecx
test eax, eax
je 0x409eeb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409eed
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40dd20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x40dd42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40dd49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40dd38
mov eax, 1
add ebx, ebx
jne 0x40dd5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40dd50
jne 0x40dd6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40dd50
xor ecx, ecx
sub eax, 3
jb 0x40dd80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ddf2
mov ebp, eax
add ebx, ebx
jne 0x40dd8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40dd98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40ddbc
inc ecx
add ebx, ebx
jne 0x40dda8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40dd9d
jne 0x40ddb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40dd9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40dddc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40ddcd
jmp 0x40dd3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40dddc
add edi, ecx
jmp 0x40dd3e
pop esi
mov edi, esi
mov ecx, 0x13d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40ddfa
cmp byte [edi], 0
jne 0x40ddfa
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 0x40ddff
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40de6e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe24c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe2c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40de2c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe2c8]
or eax, eax
je 0x40de68
mov dword [ebx], eax
add ebx, 4
jmp 0x40de49
call dword [esi + 0xe2cc]
popal
jmp 0x403988
Function at 0x4022ad
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push 8
xor eax, eax
shl ecx, 1
pop esi
sar ecx, 1
mov edx, eax
xor edx, ecx
test dl, 1
je 0x4022cd
shr eax, 1
xor eax, 0xedb88320
jmp 0x4022cf
shr eax, 1
dec esi
jne 0x4022b9
pop esi
ret 4

Function at 0x4022f6
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [0x409300]
mov edx, ecx
dec ecx
test edx, edx
je 0x402329
push edi
lea edx, [ecx + 1]
mov ecx, dword [esp + 8]
push esi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x408f00]
xor eax, esi
inc ecx
dec edx
jne 0x40230f
pop esi
pop edi
mov dword [0x409300], eax
ret

Function at 0x404d30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x40946e]
test eax, eax
jg 0x404d43
and dword [0x409434], 0
xor eax, eax
ret
push edi
push esi
mov esi, 0x800
cmp eax, esi
ja 0x404d50
mov esi, eax
mov edi, dword [0x4070f8]
push esi
push dword [0x409430]
push dword [0x408e4c]
call edi
cmp dword [0x408e5c], 0
mov ecx, eax
mov dword [0x409434], ecx
je 0x404dbf
cmp ecx, 0xffffffff
je 0x404dbf
cmp ecx, esi
je 0x404dd0
test ecx, ecx
jl 0x404dbf
mov ax, word [0x408968]
push dword [0x408e60]
inc ax
push eax
call fcn.00401f17
mov ecx, dword [0x409434]
test ecx, ecx
jne 0x404db8
push esi
push dword [0x409430]
push dword [0x408e4c]
call edi
mov ecx, eax
mov dword [0x409434], ecx
cmp ecx, 0xffffffff
je 0x404dbf
mov esi, ecx
cmp ecx, esi
je 0x404dd0
push 2
call fcn.0040295e
mov ecx, dword [0x409434]
sub dword [0x40946e], ecx
mov esi, dword [0x409430]
cmp dword [0x408e50], 0
mov dword [0x40947c], esi
je 0x404e12
mov eax, ecx
mov edx, eax
dec eax
test edx, edx
je 0x404e12
lea edi, [eax + 1]
call 0x406683
xor byte [esi], al
movzx eax, byte [esi]
push eax
call 0x406699
inc esi
dec edi
pop ecx
jne 0x404df7
mov ecx, dword [0x409434]
mov eax, ecx
dec ecx
pop esi
mov dword [0x409434], ecx
pop edi
ret
Function at 0x4189c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48823b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c5200]
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 0x418af8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x418a26
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00478a67
xor eax, eax
jmp 0x418b6f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00478bf0
push esi
lea ecx, [esp + 0xc]
call fcn.00478e7f
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 0x418b4d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.00418950
test eax, eax
jne 0x418b4d
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 0x80000000
mov ecx, edi
call fcn.00418950
test eax, eax
jne 0x418b4d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00469c20
mov esi, eax
add esp, 8
test esi, esi
jne 0x418b2c
lea ecx, [esp + 0x14]
push 0x4bddac
push ecx
call fcn.00469ba0
mov esi, eax
add esp, 8
test esi, esi
jne 0x418b2c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x418b2f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00478ba0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x418a3e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00478a67
xor eax, eax
jmp 0x418b6f
mov byte [esi], 0
push 0x4bdda8
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.00478a67
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
Function at 0x4334c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x433658
cmp ebp, ebx
jle 0x433658
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x43351e
dec eax
or eax, 0xfffffff8
inc eax
je 0x433525
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x433534
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x43353b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004787a8
add esp, 4
cmp eax, ebx
je 0x43355c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004787a8
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x43364e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x433635
mov al, byte [edx]
cmp al, 0xc0
jbe 0x433621
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x433616
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x433624
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x433624
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4335c0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4335b1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x401557
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
xor ebx, ebx
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00401623
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x45
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 9], 0x78
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 8], 0x41
mov byte [ebp - 0x11], 0x56
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 7], bl
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xb], 0x6e
mov dword [ebp - 0xa8], 0x94
call fcn.00401652
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0xa8]
push ecx
call eax
test eax, eax
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
jne 0x4015e3
call fcn.00401623
add esp, 0xc
xor eax, eax
jmp 0x401620
call fcn.00401623
mov eax, dword [ebp - 0x98]
add esp, 0xc
sub eax, ebx
je 0x40161d
dec eax
je 0x4015fd
dec eax
je 0x40160f
jmp 0x4015df
cmp dword [ebp - 0xa0], ebx
jne 0x401609
push 4
jmp 0x40161f
jbe 0x40160f
push 5
jmp 0x40161f
cmp dword [ebp - 0xa4], 5
sbb eax, eax
add eax, 7
jmp 0x401620
push 3
pop eax
pop ebx
leave
ret

Function at 0x401652
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00401623
mov eax, dword [0x47c124]
and byte [ebp - 8], 0
add esp, 0xc
cmp eax, 1
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0x14], 0x6b
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
jne 0x4016b5
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x47c124], eax
leave
ret

Function at 0x4016b7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
push esi
push 0x4000000
push 1
push esi
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
mov byte [ebp - 0x1c], 0x5c
mov byte [ebp - 0x1b], 0x5c
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x5c
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x17], 0x4f
mov byte [ebp - 0x16], 0x53
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x39
mov byte [ebp - 0x13], 0x35
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0x11], 0x56
mov byte [ebp - 0x10], 0x58
mov byte [ebp - 0xf], 0x44
call fcn.00401763
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
jne 0x401728
mov eax, 0xc357
jmp 0x40175f
push ebx
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0xc]
push 8
push eax
push esi
push esi
push 2
push edi
call fcn.004017ee
push edi
mov ebx, eax
call fcn.0040188c
add esp, 0x24
cmp ebx, esi
pop ebx
je 0x40175a
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 8]
mov byte [eax], cl
xor eax, eax
jmp 0x40175f
mov eax, 0xc358
pop edi
pop esi
leave
ret
Function at 0x403efe
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x1c]
cmp ecx, 1
jle 0x403fd9
add eax, 0x32
push esi
dec ecx
movzx edx, byte [eax + 1]
movzx esi, byte [eax - 1]
mov edx, dword [edx*4 + 0x47f028]
xor edx, dword [esi*4 + 0x47e828]
movzx esi, byte [eax]
add eax, 0x10
xor edx, dword [esi*4 + 0x47ec28]
movzx esi, byte [eax - 0x12]
xor edx, dword [esi*4 + 0x47e428]
mov dword [eax - 0x12], edx
movzx edx, byte [eax - 0xb]
movzx esi, byte [eax - 0xc]
mov edx, dword [edx*4 + 0x47f028]
xor edx, dword [esi*4 + 0x47ec28]
movzx esi, byte [eax - 0xd]
xor edx, dword [esi*4 + 0x47e828]
movzx esi, byte [eax - 0xe]
xor edx, dword [esi*4 + 0x47e428]
mov dword [eax - 0xe], edx
movzx edx, byte [eax - 7]
movzx esi, byte [eax - 8]
mov edx, dword [edx*4 + 0x47f028]
xor edx, dword [esi*4 + 0x47ec28]
movzx esi, byte [eax - 9]
xor edx, dword [esi*4 + 0x47e828]
movzx esi, byte [eax - 0xa]
xor edx, dword [esi*4 + 0x47e428]
mov dword [eax - 0xa], edx
movzx edx, byte [eax - 3]
movzx esi, byte [eax - 4]
mov edx, dword [edx*4 + 0x47f028]
xor edx, dword [esi*4 + 0x47ec28]
movzx esi, byte [eax - 5]
xor edx, dword [esi*4 + 0x47e828]
movzx esi, byte [eax - 6]
xor edx, dword [esi*4 + 0x47e428]
dec ecx
mov dword [eax - 6], edx
jne 0x403f13
pop esi
ret