joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x45919d
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x459116
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x459116
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x4590fd
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x4590fd
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.0045a250
mov ebp, eax
test ebp, ebp
je 0x4590f5
push ebp
mov ecx, esi
call fcn.0045b720
test eax, eax
je 0x4590f5
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x4590f5
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4590b6
xor eax, eax
jmp 0x4590be
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.0045c0c0
inc ebx
xor ebp, ebp
jmp 0x459047
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x459020
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.0045a560
test eax, eax
pop ebx
je 0x45919d
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.0045a250
mov edi, eax
cmp edi, ebp
je 0x45919d
push edi
mov ecx, esi
call fcn.0045b720
test eax, eax
je 0x45919d
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.0045a7a0
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.0045a810
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.0045c0c0
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x461cd0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x490ec1
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x461d0d
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.00487727
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.00486a6f
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.0045aad0
lea ecx, [esp + 8]
call fcn.004879d2
lea ecx, [esp + 0x30]
call fcn.00486bd3
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.00486a6f
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.0045af40
lea ecx, [esp + 0x74]
call fcn.00486bd3
lea ecx, [esp + 8]
call fcn.004879d3
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.00458770
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.0045aa70
mov ecx, esi
call fcn.0045b660
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.0045aa70
mov ecx, esi
call fcn.0045b660
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.0045aa70
mov ecx, esi
call fcn.0045b660
mov ecx, dword [edi + 0x5c]
call fcn.00457f50
push eax
mov ecx, esi
call fcn.00457f60
mov ecx, dword [edi + 0x5c]
call fcn.00458510
push eax
mov ecx, esi
call fcn.004584b0
mov ecx, dword [edi + 0x5c]
call fcn.00458630
push eax
mov ecx, esi
call fcn.004585e0
mov ecx, dword [edi + 0x5c]
push 0
call fcn.00457830
push eax
mov ecx, esi
call fcn.00457840
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.00486b4b
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.00486b4b
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.004877ec
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret
Function at 0x4635a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4910e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.0047d843
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.0047d843
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004640c0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x464110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4911c0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0048986d
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x464143
xor al, al
jmp 0x46426f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x464165
xor al, al
jmp 0x46426f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x464178
xor al, al
jmp 0x46426f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x46418c
xor al, al
jmp 0x46426f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0047d8f3
test eax, eax
jne 0x4641c0
xor al, al
jmp 0x46426f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x4b3464
mov dword [esp + 0x20], ebp
call fcn.0048986d
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.00486724
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.0048677b
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x464254
mov ax, word [ebx]
test ax, ax
je 0x464246
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.00464290
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x46422a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.0048677b
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4647d0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.00487e10
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x464816
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.0046f108
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x4ced84
push ecx
call fcn.004707a1
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x481c10
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x481c48
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047fcb5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047fc8d
jmp 0x481c54
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48340a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48344c
call fcn.0048986d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48344c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x483443
xor eax, eax
jmp 0x483454
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048345a
pop edi
pop esi
pop ebx
ret 4

Function at 0x489d9d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x489dcb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x489de9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00489d03
jmp 0x489de9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x489de9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00489d03
test edi, edi
mov eax, edi
jne 0x489dd3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401420
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
sub esp, 0x3c
push esi
push edi
mov ecx, 0xb
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea edi, [esp + 0x14]
mov eax, dword [str.Stormtray]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x403080]
mov dx, word [0x403084]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea eax, [esp + 8]
lea ecx, [esp + 0x14]
push eax
push ecx
push SysStringLen
mov word [esp + 0x1c], dx
movsw word es:[edi], word [esi]
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
pop edi
pop esi
add esp, 0x3c
ret

Function at 0x401480
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x140
push esi
mov eax, ecx
push edi
mov ecx, 0xb
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea edi, [esp + 0x14]
mov edx, dword [0x403080]
mov eax, dword [eax + 0x6c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [str.Stormtray]
mov dword [esp + 0xc], edx
lea edx, [esp + 0x44]
mov dword [esp + 8], ecx
mov cx, word [0x403084]
push 0x104
push edx
push eax
movsw word es:[edi], word [esi]
mov word [esp + 0x1c], cx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x44]
push str...Stormtray.exe
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp + 0x44]
push str.__Start
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x10]
push 1
push ecx
push edx
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
pop edi
pop esi
add esp, 0x140
ret
Function at 0xb834f6
Capabilities:
Encrypt data using aes

Disassembly:
mov dword [esp + 3], eax
push dword [esp + 2]
jmp 0xb834d1

Function at 0xb8355b
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
add esp, 1
lea esp, [esp + 3]
mov dword [esi], edi
jmp 0xb83538

Function at 0xb837d7
Capabilities:
Encrypt data using aes

Disassembly:
shr edi, 0x18
push esp
add esp, 1
add esp, 1
call fcn.00b836de
push es
push edx
push esp
lea esp, [esp + 8]
popal
sub esp, 0x10
jmp 0xb836ce
sub esp, 0x14
pushal
mov dword [esp], edx
sub esp, 0
stc
jmp 0xb836f4
mov dword [esp], eax
mov byte [esp + 2], bh
bsf di, si
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_lstrcmpiA]
lea edi, [eax - 0x31]
jmp 0xb83711
jmp 0xb83794
Function at 0xb83a78
Capabilities:
Encrypt data using aes

Disassembly:
sub esp, 0x10
mov dh, byte [esp + 7]
jmp 0xb83321
call fcn.00b83aec
movsd dword es:[edi], dword [esi]
jmp 0xbaf853
bswap edx
lea esp, [esp + 0x10]
movzx ebx, byte [esi + 0x11]
neg edx
mov edx, 0xaac0a4ec
jmp 0xb83467
lea esp, [esp + 0x10]
add esi, 0x10
not edi
btr edx, edi
call fcn.00b833ae
sub esp, 0x10
neg edi
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_lstrcmpiA]
mov di, dx
jmp 0xb833f1
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
push edx
push word [esp + 3]
jmp 0xb83bdb
mov dword [esp], esi
lea esp, [esp + 3]
lea esp, [esp + 1]
jmp 0xb83a5d
xor ebx, ebx
jmp 0xb8479d
call 0xb84825
mov dl, 0x35
movsd dword es:[edi], dword [esi]
int3
call 0xb84860
lea esp, [esp + 8]
cmp al, 0x2b
push edx
push dword [esp + 2]
jmp 0xb84849
lea esp, [esp + 4]
cmp al, 0x39
push edx
call 0xb83bc3
jno 0xb83c18
mov word [esp + 8], bx
jmp 0xb83bf1
lea esp, [esp + 2]
lea esp, [esp + 4]
jne 0xb55cb7
je 0xb55cd2
jmp 0xb83bba
lea esp, [esp + 0xc]
ja 0xb83c68
clc
jmp 0xb848dc
sti
invalid
cmp al, 0x5a
call fcn.00b848a6
add al, 0x91
add dword [eax - 0x6d], esp
push esp
xchg byte [edx], dl
and bh, 0x12
cmpsd dword [esi], dword es:[edi]
adc ecx, dword [edx + reloc.KERNEL32.dll_lstrcmpiA]
add byte [eax], al
lea esp, [esp + 4]
cmp bl, 0x5a
push edx
push dword [esp + 2]
pop word [esp + 1]
jmp 0xb84c02
call 0xb84d99
into
pop esp
xchg ebp, eax
xlatb
cmp byte [ecx + 0x1aab5839], ch
dec eax
jmp 0xb83cfa
sub al, 0x3f
push es
cmp cl, 0x3d
call 0xb84782
push edx
mov edx, edi
mov dword [edx], ebx
pop edx
jmp 0xb8489a
lea esp, [esp + 8]
jne 0xb83b62
push edx
jmp 0xb83b8e
lea esp, [esp + 4]
mov bl, byte [ebp - 1]
jmp 0xb83b79
lea esp, [esp + 4]
add eax, 4
jmp 0xb83d2f
movzx eax, al
cmc
push edx
jmp 0xb848bc
lea esp, [esp + 2]
lea esp, [esp + 4]
ja 0xb83cb2
push esp
add esp, 1
call fcn.00b84bcc
and byte [edx + edi + 0x516aac5d], ah
rcl byte [ebx + 0x52]
push word [esp + 2]
lea esp, [esp + 3]
lea esp, [esp + 4]
jne 0xb83af3
call fcn.00b8499f
push 0x3e
jmp 0xb83ce4
push 0x667d6021
call fcn.00b644cf
push 0x667d6342
call fcn.00b644cf
push 0x667d6328
call fcn.00b644cf
push 0xfffffffffffffff5
or al, 0xff
cmp byte [esi + 0x74], al
adc ebp, esi
imul edx, dword [edi - reloc.KERNEL32.dll_lstrcmpiA], 0x603b6822
jge 0xbaf8ee
call fcn.00b644cf
pop ebp
fisttp qword [ebp + 0x14]
out 0x50, eax
lodsd eax, dword [esi]
mov esp, 0xbff336db
xchg byte [ecx], dh
xor byte [ebx], dh
sub ch, byte [eax + 0x28]
pop ebp
jge 0xbaf90a
call fcn.00b644cf
push 0x667d630e
call fcn.00b644cf
inc edi
lds edx, [ebp + 0x3c]
iretd
and al, 0x14
ret 0x18

Function at 0xc786c6
Capabilities:
Parse pe header

Disassembly:
push edx
lea esp, [esp + 7]
lea esp, [esp + 2]
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 2], dh
jmp 0xc786cf
push dword [esp + 2]
pop dword [esp]
jmp 0xc786a9
mov dword [esp], esi
mov byte [esp + 2], bh
call fcn.00c786dc
invalid
Function at 0xc786dc
Capabilities:
Parse pe header

Disassembly:
pop es
call fcn.00c78718
mov byte [0x8c27d48d], bl
cli
outsb dx, byte [esi]
cld
wait
jbe 0xc786ad
inc esi
jno 0xc78761
jae fcn.00c786f2
je 0xc78719
add cl, byte [edi - 0x5f17dbfc]
invalid
je 0xc7873f
or bh, bh
je 0xc78743
add cl, byte [ebp - 0x72f8db9c]
and al, 1
jmp fcn.00c786fe
or byte [eax - 0x17], dl
ljmp 0x6658
ljmp 0xc033:0x6658ffff

Function at 0xc78718
Capabilities:
Parse pe header

Disassembly:
mov byte [esp + 8], dh
push dword [esp + 2]
lea esp, [esp + 7]
lea esp, [esp + 1]

Function at 0xc787ad
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 4]
lea esp, [esp + 3]
mov dword [esp + 0x14], edi
lea esp, [esp + 0x14]
mov eax, dword fs:[0x30]
mov byte [esp + 2], bh
push word [esp + 3]
lea esp, [esp + 3]
push esp
jmp 0xc7877d
Function at 0x42ea90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x32018
call fcn.00501db0
mov eax, dword [0x55f43c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x32018], 0
push 0x31fff
push 0
lea eax, [ebp - 0x32017]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 8]
push edx
movzx eax, word [ebp - 0xa]
push eax
movzx ecx, word [ebp - 0xc]
push ecx
push str.__02d:_02d:_02d___
lea edx, [ebp - 0x32018]
push edx
call fcn.004302e0
add esp, 0x14
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x32018]
push eax
call sub.MSVCR100.dll_strlen
add esp, 4
mov ecx, 0x32000
sub ecx, eax
push ecx
lea edx, [ebp - 0x32018]
push edx
call sub.MSVCR100.dll_strlen
add esp, 4
lea eax, [ebp + eax - 0x32018]
push eax
call dword [sym.imp.MSVCR100.dll_vsprintf_s]
add esp, 0x10
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x32018]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501b98
mov esp, ebp
pop ebp
ret
Function at 0x42fee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506238
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x55f43c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x44], 0
je 0x42ff20
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x49]
test edx, edx
jne 0x42ff2c
mov al, 1
jmp 0x4300d1
mov dword [ebp - 0x10], 8
call fcn.0040b1a0
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0040b1a0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040b180
add esp, 8
movzx eax, al
test eax, eax
je 0x42ff6f
xor al, al
jmp 0x4300d1
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00414260
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x34]
call fcn.0042fc00
mov ecx, eax
call fcn.004301d0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00404d40
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042fc00
mov ecx, eax
call fcn.004301d0
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x4c
push ecx
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + 0x44]
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x42ffeb
cmp dword [ebp - 0x5c], 1
je 0x42fff2
cmp dword [ebp - 0x5c], 3
je 0x43008d
jmp 0x4300a5
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x49], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042fc00
mov ecx, eax
call fcn.004301d0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x430056
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042fc00
mov ecx, eax
call fcn.004301d0
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x430056
mov byte [ebp - 0x51], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404ce0
mov al, byte [ebp - 0x51]
jmp 0x4300d1
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x49]
test edx, edx
jne 0x430079
mov byte [ebp - 0x52], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404ce0
mov al, byte [ebp - 0x52]
jmp 0x4300d1
cmp dword [ebp - 0x38], 0
jne 0x43008b
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040e5e0
jmp 0x4300bd
mov byte [ebp - 0x53], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404ce0
mov al, byte [ebp - 0x53]
jmp 0x4300d1
mov byte [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404ce0
mov al, byte [ebp - 0x54]
jmp 0x4300d1
jmp 0x42ff82
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00501b98
mov esp, ebp
pop ebp
ret