joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001144a
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.1000d35a
and dword [ebp - 4], 0
cmp dword [0x10094cb0], 0
mov ebx, eax
jne 0x100114fb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100115ac
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100115ac
push eax
call fcn.1000d2e8
mov dword [esp], 0x10078580
push edi
mov dword [0x10094cb0], eax
call esi
push eax
call fcn.1000d2e8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10094cb4], eax
call esi
push eax
call fcn.1000d2e8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10094cb8], eax
call esi
push eax
call fcn.1000d2e8
pop ecx
mov dword [0x10094cc0], eax
test eax, eax
je 0x100114fb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000d2e8
pop ecx
mov dword [0x10094cbc], eax
mov eax, dword [0x10094cbc]
cmp eax, ebx
je 0x10011553
cmp dword [0x10094cc0], ebx
je 0x10011553
push eax
call fcn.1000d363
push dword [0x10094cc0]
mov esi, eax
call fcn.1000d363
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10011553
test edi, edi
je 0x10011553
call esi
test eax, eax
je 0x1001154a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001154a
test byte [ebp - 0xc], 1
jne 0x10011553
or dword [ebp + 0x10], 0x200000
jmp 0x1001158c
mov eax, dword [0x10094cb4]
cmp eax, ebx
je 0x1001158c
push eax
call fcn.1000d363
pop ecx
test eax, eax
je 0x1001158c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001158c
mov eax, dword [0x10094cb8]
cmp eax, ebx
je 0x1001158c
push eax
call fcn.1000d363
pop ecx
test eax, eax
je 0x1001158c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10094cb0]
call fcn.1000d363
pop ecx
test eax, eax
je 0x100115ac
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100115ae
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10015210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push ebp
push esi
mov ebp, dword [edi + 0x3c]
sub ebp, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub ebp, eax
cmp eax, edx
jb 0x1001528e
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.100119c0
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x10015261
sub eax, ebx
jmp 0x10015263
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x10015252
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x10015282
sub eax, ebx
jmp 0x10015284
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x10015273
add ebp, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x100152e9
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, ebp
add edx, dword [edi + 0x38]
push edx
call fcn.10014f10
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x100152d5
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x100152e9
mov edx, dword [edi]
cmp dword [edx + 4], 0
jne 0x10015216
pop esi
pop ebp
pop ebx
ret
Function at 0x10044180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x18]
mov ecx, dword [0x10104a88]
push ebx
mov ebx, dword [edx + 0x6c]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
mov esi, eax
mov eax, dword [0x10104a78]
and ebx, 1
sub ebp, esi
push edi
mov byte [esp + 0x13], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], ebp
jmp 0x100441c4
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x78]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0xf0]
push ecx
push eax
add ebp, esi
push ebp
push esi
call dword [esp + ebx*4 + 0x2c]
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1004423d
mov ecx, dword [esp + 0x30]
cmp dword [ecx + 0xf0], 2
jle 0x1004423d
mov edx, dword [esp + 0x2c]
test byte [edx + 0xc], 8
je 0x1004423d
test ebx, ebx
je 0x10044215
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.10052890
add esp, 4
jmp 0x1004421a
mov eax, 0x1007cda0
mov edx, dword [esp + 0x30]
push edi
push eax
mov eax, dword [edx + 0xf0]
push 0x1007cc20
push eax
push ebp
push esi
mov eax, 0x3f
call fcn.10043b70
add esp, 0x18
mov edi, eax
xor eax, eax
cmp edi, dword [esp + 0x3c]
jge 0x10044280
cmp word [esi + 2], ax
jne 0x10044280
cmp word [esi + 0x10], ax
jne 0x10044280
cmp dword [esp + 0x38], eax
je 0x1004427a
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0xec]
test ecx, ecx
je 0x1004426a
cmp ecx, 5
jne 0x1004427a
movzx ecx, word [esi]
cmp cx, 0xffff
jl 0x10044280
test cx, cx
jle 0x10044285
jmp 0x10044280
cmp word [esi], 0
je 0x10044285
mov eax, 1
mov edi, dword [esp + 0x14]
mov ecx, edi
shl al, cl
dec edi
sub esi, 0xffffff80
mov dword [esp + 0x14], edi
or byte [esp + 0x13], al
cmp edi, 0xffffffff
jg 0x100441c0
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x7fd5bd
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x7fd600
bswap edx
mov edx, 0x978c5787
cmp esi, ecx
ja 0x7fd65a
lea ebx, reloc.WINMM.dll_midiStreamStop
neg dx
jmp 0x7fdad7
sub esp, 0x1f
pop ebx
xchg dword [esp + 0x14], edx
mov bx, 0xb178
btr bx, ax
jmp 0x7fd67d
setnp dl
mov bx, word [esp]
mov ebx, esp
btr bx, cx
jmp 0x7fd675
movzx ecx, byte [edi]
jmp 0x7fd643
xchg dword [esp + 0x14], edx
mov bx, 0xb178
btr bx, ax
jmp 0x7fd67d
jg 0x7fd62d
sub esp, 0x1f
pop ebx
jmp 0x7fd65f
lea esp, [esp + 3]
add cl, al
call fcn.007fd8a3
push ebx
retf 0x3f58
mov bx, 0x78a
jmp 0x7fdaf4
js 0x7fdab0
mov bx, 0x78a
jmp 0x7fdaf4
pushal
lea esi, [ebp - 0x54]
mov cx, word [esp]
mov dword [esp + 0x14], ebp
neg cx
jmp 0x7ff2be
popal
clc
mov ecx, edx
lea ebx, [ebp + 0x40]
setle cl
not cx
neg cx
jmp 0x7fe2ed
lea ecx, [esi - 0x80]
call fcn.007fdb39
pop dword [esp + 2]
jmp 0x7fdba5
push esi
sub esp, 0x17
jne 0x7fdbb5
lea esp, [esp + 3]
mov dword [esp + 0x10], edi
sub esp, 0x16
jmp 0x7fdc6a
sub ecx, ebx
call fcn.007fdb76
mov esp, ecx
pushfd
lea ebp, [ecx + ebx - 0x40]
jmp 0x7fdb81
lea esp, [esp + 3]
call fcn.007fdc5b
lea esp, [esp + 2]
lea esp, [esp + 0x24]
jmp 0x7fdc8b
push ecx
mov esi, edx
mov edi, ecx
jmp 0x7fdd42
popfd
jmp 0x7fdcc1
movzx ecx, byte [edi]
call 0x7fdcf2
ret
pop ecx
pop edi
pop esi
jmp 0x7fdcba
lea esp, [esp + 0x1c]
popal
cld
rep movsb byte es:[edi], byte [esi]
jmp 0x7fdcd7
pushal
mov edx, ebp
mov dword [esp + 0x18], ebx
pushal
pop dword [esp + 7]
jmp 0x7fdd0e
jg 0x7fdfe5
sbb ecx, esp
cmp ecx, 0x4c7bc414
jmp 0x7fdfed
sbb ecx, esp
cmp ecx, 0x4c7bc414
jmp 0x7fdb68
je 0x7fe3f2
bswap ecx
jmp 0x7fe3f4
bswap ecx
sub ebx, edx
xor ecx, 0xb80f08b7
jmp 0x7fde8c
mov ecx, edx
jmp 0x7fdb0d
jne 0x7fdb09
popal
clc
jmp 0x7ff28f

Function at 0x7fdb39
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.007fdca7
add ebx, 0xfe9ba8fc
jmp 0x7fe20a
mov dword [esp], edi
and cl, 0xfc
stc
jp 0x7fdb23
sub esp, 0x1c
jmp 0x7fdb70
add ebx, 0x64788c36
jmp 0x7fe24e
lea edx, [ebp*4]
mov dh, cl
jmp 0x7fe276
setne dh
call fcn.007fe29e
jo 0x7fe267
xchg edx, eax
ret 0xec83
jmp 0x7fe347
xchg dh, dl
mov ebx, dword [ebx + reloc.WINMM.dll_midiStreamStop]
mov dx, 0xa77c
pushfd
jmp 0x7fdb55
mov edx, 0x81dfc717
xchg dh, dl
call fcn.007fe35f
mov ebp, 0x2bd8b929
cwde
enter 0xffffffffffff826b, 0x3d
mov esp, ebp
bt dx, sp
jge 0x7fe2fa
mov edx, 0x81dfc717
jmp 0x7fe324
xchg dh, dl
jmp 0x7fe3a4
jmp 0x7fe310
push ebx
ret

Function at 0x7fdb76
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
mov byte [esp + 2], al
mov byte [esp + 6], dl
jmp 0x7fdbac
Function at 0x7fe851
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
pop dword [esp + 3]
jmp 0x7fe7ad

Function at 0x8ee131
Capabilities:
Packed with generic packer
Parse pe header

Disassembly:
call fcn.008ecf5a
pop word [esp + 5]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], edi
lea esp, [esp + 0x58]
jmp 0x8ee17b
mov eax, dword [eax]
jmp 0x8ee189
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x8ee165
mov eax, dword [eax + 8]
push eax
jmp 0x8ecf55

Function at 0x8ee152
Capabilities:
Access peb ldr_data
Packed with generic packer
Parse pe header

Disassembly:
mov word [esp + 1], cx
mov dword [esp], ecx
push word [esp + 2]
mov byte [esp], dl
lea esp, [esp + 2]
mov dword [esp + 0x58], ebp
jmp 0x8ee12a
push bp
mov byte [esp + 6], dl
mov byte [esp + 0x19], dh
pop word [esp + 0x15]
mov dword [esp + 0x58], esp
push edi
jmp 0x8ee0e9
push bp
call fcn.008ee1a7
push dword [esp + 2]
push word [esp]
pop word [esp]
mov dword [esp + 0x3c], ebx
pushal
jmp 0x8ee114

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x72347352
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..reloc_1
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x68e16478
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4011b5
Capabilities:
Create directory
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
push esi
xor ebp, ebp
push ebp
push ebp
push 0x1c
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._temp_
push esi
call ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call ebp
push str.WebSaver_
push esi
call ebx
push 0
push esi
call ebp
mov ecx, edi
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.0040100d

Function at 0x4011fc
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0xfd8]
mov eax, 0x1058
call fcn.004016f0
mov eax, dword [0x40e040]
xor eax, ebp
mov dword [ebp + 0xfd4], eax
push esi
push edi
push 0x40
xor edi, edi
lea eax, [ebp - 0x7c]
push edi
push eax
mov esi, ecx
call fcn.00401720
push dword [esi]
lea eax, [esi + 0x210]
push dword [esi + 0x20c]
mov dword [ebp - 0x80], 0x44
push eax
lea eax, [esi + 0xa10]
push eax
lea eax, [ebp - 0x2c]
push str._s___s___d__d
push eax
call fcn.00401505
add esp, 0x24
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40127d
push 0xffffffffffffff9f
pop eax
jmp 0x401291
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x1210], eax
xor eax, eax
mov ecx, dword [ebp + 0xfd4]
pop edi
xor ecx, ebp
pop esi
call fcn.004016db
add ebp, 0xfd8
leave
ret
Function at 0x4012a8
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x40e040]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
push esi
mov ecx, 0x40ef80
call fcn.004011b5
xor esi, esi
cmp eax, esi
jne 0x4013c2
push ebx
push edi
push 0x103
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push 0x10000080
push 4
push esi
push 1
push 0x80000000
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
push esi
mov edi, eax
push 0x1c
push edi
mov dword [ebp - 0x64], edi
call ebx
push esi
lea eax, [ebp - 0x80]
push eax
push 0x10
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x7c], 0x20081010
je 0x40133b
push edi
jmp 0x4013b7
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
lea edi, [eax + ecx]
push edi
call fcn.004014a0
pop ecx
push esi
push esi
push esi
push dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
call ebx
mov ebx, dword [ebp - 0x6c]
push esi
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4013ad
cmp edi, dword [ebp - 0x68]
jne 0x4013ad
push 0x10
lea eax, [ebx + 0x1c]
push esi
push eax
call fcn.00401720
add esp, 0xc
mov dword [0x40ef80], esi
cmp edi, esi
jbe 0x40139a
movzx eax, byte [esi + ebx]
add dword [0x40ef80], eax
inc esi
cmp esi, edi
jb 0x40138b
push ebx
call fcn.0040142b
pop ecx
mov ecx, 0x40ef80
call fcn.004011fc
jmp 0x4013c0
push ebx
call fcn.0040142b
pop ecx
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffff9d
pop eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1a8]
xor ecx, ebp
pop esi
call fcn.004016db
add ebp, 0x1ac
leave
ret 0x10

Function at 0x4016db
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e040]
jne 0x4016e5
repz ret
jmp fcn.0040392c
Function at 0x4078fb
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.00402d56
and dword [ebp - 4], 0
cmp dword [0x410b24], 0
mov ebx, eax
jne 0x4079ac
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407a5d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407a5d
push eax
call fcn.00402ce4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x410b24], eax
call esi
push eax
call fcn.00402ce4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x410b28], eax
call esi
push eax
call fcn.00402ce4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x410b2c], eax
call esi
push eax
call fcn.00402ce4
pop ecx
mov dword [0x410b34], eax
test eax, eax
je 0x4079ac
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402ce4
pop ecx
mov dword [0x410b30], eax
mov eax, dword [0x410b30]
cmp eax, ebx
je 0x407a04
cmp dword [0x410b34], ebx
je 0x407a04
push eax
call fcn.00402d5f
push dword [0x410b34]
mov esi, eax
call fcn.00402d5f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407a04
test edi, edi
je 0x407a04
call esi
test eax, eax
je 0x4079fb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4079fb
test byte [ebp - 0xc], 1
jne 0x407a04
or dword [ebp + 0x10], 0x200000
jmp 0x407a3d
mov eax, dword [0x410b28]
cmp eax, ebx
je 0x407a3d
push eax
call fcn.00402d5f
pop ecx
test eax, eax
je 0x407a3d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407a3d
mov eax, dword [0x410b2c]
cmp eax, ebx
je 0x407a3d
push eax
call fcn.00402d5f
pop ecx
test eax, eax
je 0x407a3d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x410b24]
call fcn.00402d5f
pop ecx
test eax, eax
je 0x407a5d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407a5f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x8ccba9
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x8cc92e
add esi, 0xfd35dc4d
sub esi, ecx
add ecx, ecx
call fcn.008ccbe6
or ecx, esi
xor dword [eax], ebx
mov ecx, ecx
mov ecx, 0x6a5afe4a
sub esi, ecx
inc eax
mov esi, ecx
sub ecx, esi
add ecx, 0x3b7b0cc0
cmp eax, edx
jne fcn.008ccba9
mov esi, esi
add ecx, esi
sub ecx, 0x8965be9c
ret
Function at 0x43b638
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
sub esi, 0xb44608d9
add edi, 0x90b15a0a
call fcn.0043b675
add edi, 1
xor dword [eax], edx
inc esi
add edi, esi
inc eax
or esi, edi
push esi
mov esi, dword [esp]
add esp, 4
cmp eax, ebx
jne fcn.0043b638
push 0x994ab547
pop edi
ret
Function at 0x401000
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea eax, [ebp + 8]
push eax
push 0x40
push dword [ebp + 0x1c]
mov dword [esi + 0xc], edx
mov edx, dword [ebp + 0x14]
push edi
mov dword [esi + 4], ecx
mov dword [esi + 0x10], edx
call dword [ecx + 0x18]
test eax, eax
jne 0x401058
mov dword [esi + 8], 9
jmp 0x401131
push ebx
mov ebx, dword [esi + 0x10]
cmp ebx, 0x40
jae 0x40106d
mov dword [esi + 8], 1
jmp 0x401130
mov eax, dword [esi + 0xc]
mov ecx, 0x5a4d
mov dword [esi + 0x14], eax
cmp word [eax], cx
je 0x401089
mov dword [esi + 8], 2
jmp 0x401130
mov ecx, dword [eax + 0x3c]
lea edx, [ecx + 0xf8]
cmp ebx, edx
jae 0x4010a2
mov dword [esi + 8], 3
jmp 0x401130
add ecx, eax
mov dword [esi + 0x18], ecx
cmp dword [ecx], 0x4550
je 0x4010b8
mov dword [esi + 8], 4
jmp 0x401130
mov edx, dword [esi + 0x18]
mov ecx, edi
and ecx, 0xfff
sub edi, ecx
lea ecx, [edi + 0x1000]
mov dword [esi + 0x20], ecx
mov edx, dword [edx + 0x54]
add edx, dword [eax + 0x3c]
cmp ebx, edx
jae 0x4010e1
mov dword [esi + 8], 7
jmp 0x401130
push edx
push eax
push ecx
call fcn.00401e8c
mov eax, dword [esi + 0x18]
movzx ecx, word [eax + 0x14]
xor edx, edx
add esp, 0xc
xor ebx, ebx
lea ecx, [ecx + eax + 0x18]
cmp dx, word [eax + 6]
jae 0x401130
lea edi, [ecx + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x401121
push eax
mov eax, dword [edi + 4]
add eax, dword [esi + 0xc]
push eax
mov eax, dword [edi - 4]
add eax, dword [esi + 0x20]
push eax
call fcn.00401e8c
add esp, 0xc
mov eax, dword [esi + 0x18]
movzx eax, word [eax + 6]
inc ebx
add edi, 0x28
cmp ebx, eax
jl 0x401104
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x40115c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
lea ecx, [ecx + eax + 0x78]
cmp dword [ecx + 4], 0
push ebx
push edi
jne 0x401177
xor eax, eax
jmp 0x4011e7
push esi
mov esi, dword [ecx]
add esi, eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4011e4
cmp dword [esi + 0x14], 0
je 0x4011e4
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x24]
or dword [ebp - 8], 0xffffffff
add edi, eax
add ebx, eax
test ecx, ecx
je 0x4011e4
mov dword [ebp - 4], ecx
jmp 0x4011a3
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
add ecx, eax
push ecx
push dword [ebp + 0xc]
call fcn.00401648
pop ecx
pop ecx
test eax, eax
jne 0x4011bc
movzx eax, word [ebx]
mov dword [ebp - 8], eax
add edi, 4
add ebx, 2
dec dword [ebp - 4]
jne 0x4011a0
mov eax, dword [ebp - 8]
cmp eax, 0xffffffff
je 0x4011e4
cmp eax, dword [esi + 0x14]
jg 0x4011e4
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx]
add eax, ecx
jmp 0x4011e6
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 8