joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101c024f
Capabilities:
Encode data using base64
Execute anti-debugging instructions
Inspect section memory permissions

Disassembly:
call fcn.101a3598
mov dword [ebp - 0xe44], 0
mov cl, byte [ebp - 0xe44]
rol dx, 0x9b
mov byte [ebp - 0x122], cl
or eax, esi
sbb ax, di
mov edx, dword [ebp - 0x934]
xor edx, dword [ebp - 0x934]
sar al, cl
mov eax, ebp
mov dword [ebp - 0x934], edx
mov ax, ax
or ah, 0x36
movzx eax, byte [ebp - 0x122]
test eax, eax
jmp loc.10062e3a

Function at 0x101c04af
Capabilities:
Encode data using base64
Execute anti-debugging instructions
Inspect section memory permissions

Disassembly:
lea esp, [esp + 0x1c]
jns fcn.1014ffcc
mov eax, dword [ebp - 0x154]
sbb dl, 0x2d
lea eax, [eax + 1]
clc
bsr cx, bx
mov dword [ebp - 0x154], eax
test di, cx
mov word [edx], ax
mov dword [esp + 0x14], 0xfc25f73b
jae 0x100ed90d
jmp 0x10106089
xor bl, dl
push 0x98007891
xor dword [esp + 0x18], 0x918313bf
lea edx, [esp + edx + 0x1c]
jne 0x101bd0e9

Function at 0x101c6fa8
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0x1a1b6d04
add esi, 8
push 0x4b1bacb6
push 0x42b1a9b2
mov dword [eax], ecx
lea esp, [esp + 0x10]
jmp fcn.1014ffcc

Function at 0x101c844f
Capabilities:
Encode data using base64
Encrypt data using chaskey
Execute anti-debugging instructions
Hash data using murmur3
Inspect section memory permissions

Disassembly:
mov ecx, dword [ebp - 0x68]
xor ecx, dword [ebp - 0x68]
mov dword [ebp - 0x68], ecx
sar esi, 0x2f
adc edi, esi
sar cl, cl
mov dword [ebp - 0x9c], 0
bsf si, di
jmp loc.1006e688
mov byte [edx + eax], cl
jmp 0x101bb60f
mov eax, dword [ebp - 0x68]
jmp 0x1015ac86
jmp loc.1007c2c0
mov dword [esp + 0x10], 0x89759865
push dword [esp + 8]
popfd
lea esp, [esp + 0x10]
call fcn.100a4b25
je 0x1009f1ce
mov ecx, dword [ebp - 0x9c]
or ah, 0x8b
mov edx, dword [ebp - 0x9c]
cmp ch, dl
mov eax, dword [ebp - 0x68]
test cl, ah
test bx, 0x6baf
movsx edx, byte [edx + eax]
mov eax, dword [ebp - 0x68]
cmc
stc
cmp sp, 0x72a3
movsx ecx, byte [ecx + eax]
sbb eax, esi
xadd al, al
clc
xor ecx, edx
mov edx, dword [ebp - 0x9c]
mov ax, bp
jmp 0x101ac87a

Function at 0x101c8546
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 8]
jmp fcn.1014ffcc
mov dword [esp], 0xee13b902
add esi, 4
div ecx
mov dword [esi], edx
mov dword [esi + 4], eax
jmp 0x1016d0dd

Function at 0x101ca5f5
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte ss:[edx], cl
push 0xadbd70b5
push 0xb19776a3
lea esp, [esp + 0x10]
jmp fcn.1014ffcc
push 0x91807006
jmp 0x1019ef48

Function at 0x101cd98f
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x10137216
push 0x9f23621e
neg dl
inc word [esp + 2]
push 0xcbb04903
rol dl, 1
add dword [esp + 8], 0x79149a02
jbe 0x101b9996
shr dword [esp + 8], 0xb3
dec dl
rol dl, 1
not dl
rol dword [esp + 4], 0x73
xor bl, dl
call fcn.100bf8c1
mov dword [esp], 0x861dff23
xor dl, bl
jmp 0x100d846a

Function at 0x101ce8c9
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x10]
jmp fcn.1014ffcc
Function at 0x101ce983
Capabilities:
Encode data using base64
Execute anti-debugging instructions

Disassembly:
pushfd
mov dword [esp], 0x89759865
call fcn.100a4b25

Function at 0x101cff54
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0x68a26b26
lea esp, [esp + 0x18]
jmp fcn.1014ffcc

Function at 0x101d077c
Capabilities:
Encode data using base64

Disassembly:
not dx
jmp 0x1016c861
not ax
and dx, ax
push 0xc714c296
push 0x7929a694
mov word [esi], dx
call fcn.100c9452
mov ecx, esp
mov eax, 0xa29ec2c7
sahf
movsb byte es:[edi], byte [esi]
mov byte [0xef617c4c], al
insb byte es:[edi], dx
arpl word [edx + 0x45], bp
pop esp
scasd eax, dword es:[edi]
pop ds
and al, 0xf8
test ch, cl
or bh, byte [ecx + 0x34]
add edx, ecx
push 0xcfa0e927
or bh, byte [ecx - 0x2f]
loope 0x1013e340
shr dword [eax + 0x27], 1
jmp 0x8c1eb2e8
pop ebx
in eax, 0x8f
mov dh, byte [esi + 0x17]
jl 0x1013e3c4
hlt
test dword [esi + 0xe821952], 0x649bf230
push 0xffffffffffffff88
adc dword [edi + 0x4e], esp
enter 0xffffffffffffe05e, 0xffffffffffffff89
cmpsb byte [esi], byte es:[edi]
ret
shl dword [esp], 0x35
jbe 0x1013e309
push ecx
pushfd
mov ecx, 0xe3afa524
test ecx, 0x1930a084
sete cl
sets cl
mov ecx, dword [esp + ecx + 0x1c505b04]
mov dword [esp + 4], 0x88b09965
push dword [esp]
popfd
lea esp, [esp + 4]
call fcn.100a4b25
mov eax, 4
mov dh, 0x3f
test al, 0xa3
shl eax, 0
shr edx, cl
bt ecx, ebp
ror ch, cl
mov ecx, dword [eax + 0x10081004]
not ecx
cmovs edx, ebp
xor ecx, 0x9b113c90
cmp bl, 0x8f
sal dh, 0xe
mov edx, 4
rcr ah, cl
bsr ax, dx
sal ax, 0x39
imul eax, edx, 3
btr edx, edx
mov edx, dword [eax + 0x10081004]
or eax, esp
rcl al, 0x18
neg ah
not edx
rol al, 0xb6
xor ecx, edx
test bp, 0x7fb4
rcl dx, 0x9e
mov dword [ebp - 0xc], ecx
bt edx, edi
or eax, esi
mov eax, 4
sbb ch, 0x3a
shl eax, 0
mov ecx, dword [eax + 0x10081004]
not ecx
sbb dl, 0x89
bsr ax, ax
xor ecx, 0x9b113e98
mov edx, 4
shld eax, edx, 0x8f
rol eax, 0x3e
imul eax, edx, 3
adc dx, 0x3332
add dl, dl
mov edx, dword [eax + 0x10081004]
neg ax
ror ax, cl
not edx
inc ax
xor ecx, edx
not dx
mov dword [ebp - 8], ecx
bswap dx
movzx edx, dx
cwd
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
cmovs cx, di
movsx ecx, cx
xchg edx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], ecx
cdq
lea edx, [ebp - 0x23c]
jmp loc.10018df4
push 0x2c3f1f2c
and word [esp + 2], 0x9a1f
adc esi, 2
jmp 0x1012c302

Function at 0x101d5d8b
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x14]
jmp fcn.1014ffcc

Function at 0x101d6ec7
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0xc]
jmp fcn.1014ffcc

Function at 0x101d8b5e
Capabilities:
Encode data using base64
Encrypt data using speck
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x10]
jno fcn.1014ffcc
int3
jl 0x100052c5
mov cl, 0x8b
xor bl, byte [ecx - 0x646de858]
fcmovu st(0), st(5)
hlt
dec word [esp + 0xc]
lea edx, [esp + edx + 0x10]
mov dword [edx], eax
jno 0x1015fa9e
Function at 0x101d8e8b
Capabilities:
Encode data using base64
Encrypt data using speck
Execute anti-debugging instructions

Disassembly:
push ebp
bsr eax, ecx
lea ebp, [esp - 0x74]
lea esp, [esp - 0xe5c]
push esi
test edx, 0x63814dab
sbb ch, 0xbc
jmp fcn.10055c62

Function at 0x101d9470
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x1c]
jmp fcn.1014ffcc
jmp 0x1016e145

Function at 0x101de001
Capabilities:
Encode data using base64
Execute anti-debugging instructions

Disassembly:
add ecx, 0xd991414
ror cx, 0x85
xor dl, 0x1c
not dl
or cl, byte [esp + 0xd]
pop ecx
xor bl, dl
neg byte [esp + 0xb]
mov ecx, 0x598a528d
not cx
lea edx, [esp + edx + 0xc]
dec cx
mov ecx, dword [edx + ecx - 0x598aad71]
call fcn.101914a7
call fcn.10009b06
lea ecx, [ebp - 0x25bc]
jmp loc.10004243
Function at 0x40a4c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x412250], 0
push esi
push edi
jne 0x40a436
call fcn.0040a3a2
test eax, eax
je 0x40a47b
mov eax, dword [0x412250]
cmp eax, 1
jne 0x40a457
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40a47b
jmp 0x40a4bd
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x40a4bd
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40a47f
xor eax, eax
jmp 0x40a4bd
mov eax, dword [esi]
push dword [0x412250]
call edi
mov edi, eax
test edi, edi
je 0x40a4a1
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x40a4bd
lea edi, [esi + 0xff0]
push esi
push dword [0x412250]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x40a4a7
mov eax, esi
pop edi
pop esi
ret
jmp 0x40a422

Function at 0x40a788
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412120]
jne 0x40a792
repz ret
jmp fcn.0040adba

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x37240e39
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x17035527
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x408962
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
add eax, 1
push edx
pop eax
call fcn.004089a1
mov eax, 0xcce371d2
xor dword [esi], edi
sub esp, 4
mov dword [esp], 0xdfc484ee
mov edx, dword [esp]
add esp, 4
dec edx
add esi, 1
cmp esi, ecx
jne fcn.00408962
dec eax
mov eax, eax
ret
Function at 0x409961
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417344]
jne 0x40996b
repz ret
jmp fcn.0040e40c

Function at 0x41263c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c202
and dword [ebp - 0x14], 0
cmp dword [0x434bcc], 0
mov dword [ebp - 0x18], eax
jne 0x4126ef
push 0x403754
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412797
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403748
push ebx
call edi
test eax, eax
je 0x412797
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403738
push ebx
mov dword [0x434bcc], eax
call edi
push eax
call esi
push 0x403724
push ebx
mov dword [0x434bd0], eax
call edi
push eax
call esi
push 0x403708
push ebx
mov dword [0x434bd4], eax
call edi
push eax
call esi
mov dword [0x434bdc], eax
test eax, eax
je 0x4126ef
push 0x4036f0
push ebx
call edi
push eax
call esi
mov dword [0x434bd8], eax
mov eax, dword [0x434bd8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412748
cmp dword [0x434bdc], ecx
je 0x412748
push eax
call esi
push dword [0x434bdc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412748
test ebx, ebx
je 0x412748
call edi
test eax, eax
je 0x41273f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41273f
test byte [ebp - 8], 1
jne 0x412748
or dword [ebp + 0x10], 0x200000
jmp 0x41277b
mov eax, dword [0x434bd0]
cmp eax, dword [ebp - 0x18]
je 0x41277b
push eax
call esi
test eax, eax
je 0x41277b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41277b
mov eax, dword [0x434bd4]
cmp eax, dword [ebp - 0x18]
je 0x41277b
push eax
call esi
test eax, eax
je 0x41277b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x434bcc]
call esi
test eax, eax
je 0x412797
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412799
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409961
leave
ret
Function at 0x4145d0
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413c10
cmp dword [0x7d4d24], 0x37
jne 0x414653
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x403f58
call edi
push 0
lea eax, [esp + 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40401c
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
push 0x404048
call edi
push 0
lea edx, [esp + 0xc08]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
pop edi
mov eax, dword [0x7d5908]
mov edx, dword [0x7d1d84]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x4014c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
push 0x4274e4
push esi
mov dword [esp + 0x10], esi
call sub.KERNEL32.dll_GetModuleHandleExA
test eax, eax
je 0x40151f
mov ecx, dword [esp + 4]
push edi
push str.VirtualAllocExNuma
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [esp + 0x14]
push esi
push 0x40
push 0x3000
push edi
push esi
mov dword [0x4322d4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4322d4]
mov edx, dword [esp + 0x10]
push edi
mov esi, eax
push edx
push esi
call fcn.0040fc90
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ecx
ret

Function at 0x402610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
mov dl, byte [eax + 1]
mov dword [esp + 8], 0
jle 0x402752
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
movzx ebp, cl
movzx ebx, dl
nop
lea eax, [ebp + 1]
cdq
mov ecx, 0x29
idiv ecx
mov edi, dword [0x4322dc]
movzx ebp, dl
movzx eax, byte [edi + ebp]
lea ecx, [edi + ebp]
add eax, ebx
mov byte [esp + 0x12], dl
cdq
mov ebx, 0x29
idiv ebx
movzx ebx, dl
lea eax, [ebx + edi]
mov byte [esp + 0x13], dl
call fcn.004014b0
mov ecx, dword [0x4322dc]
movzx edx, byte [ecx + ebp]
movzx eax, byte [ebx + ecx]
add eax, edx
cdq
mov ecx, 0x29
idiv ecx
mov byte [esp + 0x11], dl
call esi
call esi
call esi
call esi
call esi
call esi
call esi
push 0x427480
push 0x434c78
call fcn.004022d0
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.004024e0
mov edx, dword [edi]
mov eax, dword [edx + 4]
add eax, edi
test byte [eax + 8], 6
mov dword [esp + 0x14], 0
jne 0x4026ed
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x4026ed
mov dword [esp + 0x14], 4
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x14]
add ecx, edi
test edx, edx
je 0x402712
mov eax, dword [ecx + 8]
or eax, edx
cmp dword [ecx + 0x28], 0
jne 0x40270a
or eax, 4
push 0
push eax
call fcn.00401f30
movzx edx, byte [esp + 0x11]
mov eax, dword [0x4322dc]
mov cl, byte [edx + eax]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
xor byte [eax + edi], cl
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jl 0x402640
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x12]
mov cl, byte [esp + 0x13]
pop edi
pop esi
pop ebp
mov byte [eax], dl
mov byte [eax + 1], cl
pop ebx
add esp, 0xc
ret
mov byte [eax], cl
mov byte [eax + 1], dl
add esp, 0xc
ret
Function at 0x4029d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4029e9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402a24
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402a20
lea ebx, [ebx]
cmp esi, eax
jae 0x402a24
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402a10
cmp esi, eax
jb 0x402a2a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40fab2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430c60]
jne 0x40fabc
repz ret
jmp fcn.004163ec

Function at 0x41c45f
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.00415dd5
and dword [ebp - 4], 0
cmp dword [0x434be4], 0
mov ebx, eax
jne 0x41c510
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41c5c1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42a0d8
push edi
call esi
test eax, eax
je 0x41c5c1
push eax
call fcn.00415d63
mov dword [esp], 0x42a0c8
push edi
mov dword [0x434be4], eax
call esi
push eax
call fcn.00415d63
mov dword [esp], 0x42a0b4
push edi
mov dword [0x434be8], eax
call esi
push eax
call fcn.00415d63
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x434bec], eax
call esi
push eax
call fcn.00415d63
pop ecx
mov dword [0x434bf4], eax
test eax, eax
je 0x41c510
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00415d63
pop ecx
mov dword [0x434bf0], eax
mov eax, dword [0x434bf0]
cmp eax, ebx
je 0x41c568
cmp dword [0x434bf4], ebx
je 0x41c568
push eax
call fcn.00415dde
push dword [0x434bf4]
mov esi, eax
call fcn.00415dde
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41c568
test edi, edi
je 0x41c568
call esi
test eax, eax
je 0x41c55f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c55f
test byte [ebp - 0xc], 1
jne 0x41c568
or dword [ebp + 0x10], 0x200000
jmp 0x41c5a1
mov eax, dword [0x434be8]
cmp eax, ebx
je 0x41c5a1
push eax
call fcn.00415dde
pop ecx
test eax, eax
je 0x41c5a1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41c5a1
mov eax, dword [0x434bec]
cmp eax, ebx
je 0x41c5a1
push eax
call fcn.00415dde
pop ecx
test eax, eax
je 0x41c5a1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x434be4]
call fcn.00415dde
pop ecx
test eax, eax
je 0x41c5c1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c5c3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423730
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x41c015
lea edi, [esi - 0x1b015]
push edi
jmp 0x42374a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x423751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x423740
mov eax, 1
add ebx, ebx
jne 0x423763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x423758
jne 0x423774
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423758
xor ecx, ecx
sub eax, 3
jb 0x423788
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4237fa
mov ebp, eax
add ebx, ebx
jne 0x423793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4237a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4237c4
inc ecx
add ebx, ebx
jne 0x4237b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4237a5
jne 0x4237c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4237a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4237e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4237d5
jmp 0x423746
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4237e4
add edi, ecx
jmp 0x423746
pop esi
mov edi, esi
mov ecx, 0x9e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x423802
cmp byte [edi], 2
jne 0x423802
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 0x423807
lea edi, [esi + 0x21000]
mov eax, dword [edi]
or eax, eax
je 0x42387f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2390c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23948]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x423834
mov ecx, edi
jns 0x423863
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 + 0x23950]
or eax, eax
je 0x423879
mov dword [ebx], eax
add ebx, 4
jmp 0x423851
call dword [esi + 0x2394c]
mov ebp, dword [esi + 0x23954]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4238b3
sub esp, 0xffffff80
jmp 0x401cf0
Function at 0x401090
Capabilities:
Hide graphical window

Disassembly:
mov ebp, esp
push esi
lea eax, [0x4032bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [ebp + 4]
mov dword [0x40316b], eax
xor eax, eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x4010bd
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x40316b]
mov dword [ebp - 0x48], eax
mov eax, 0x40232a
mov dword [ebp - 0x54], eax
mov ecx, str.secondclass
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0
push 0
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor ecx, ecx
push ecx
push dword [0x40316b]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.bananas
push eax
mov eax, str.secondclass
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403318], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403318]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x40117b
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x40116d
mov esp, ebp
ret
Function at 0x4019a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.00401a90
mov eax, dword [esp + 0x101c]
push ebx
push 0
push 0x10000000
push 1
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [esp + 0x1014]
mov dword [esp + 4], eax
test ebx, ebx
jne 0x4019e4
xor eax, eax
pop ebx
add esp, 0x100c
ret
mov ecx, dword [esp + 0x1018]
push edi
push 0
push 0
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esp + 0x1020]
test edi, edi
jbe 0x401a50
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
cmp edi, 0x1000
mov esi, 0x1000
ja 0x401a1a
mov esi, edi
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x24]
push esi
push eax
push ebx
call ebp
test eax, eax
je 0x401a4a
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub edi, esi
jne 0x401a0b
pop esi
pop ebp
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop ebx
add esp, 0x100c
ret

Function at 0x405f20
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c00f198
mov eax, dword [0x410388]
mov ecx, eax
inc eax
test edx, edi
mov dword [0x410388], eax
je 0x405f40
cmp al, al
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 8]
push edx
call 0x410720
add esp, 0x24
test eax, eax
jne 0xba405fd6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x410954], eax
call fcn.00404940
test eax, eax
jne 0x405fdb
push eax
movsb byte es:[edi], byte [esi]
xchg ecx, eax
inc ebp
lcall 0xffff, 0xefece850
test dword [esp + esi*2 + 0x4e22b809], ebp
add byte [eax], al
cmpsd dword [esi], dword es:[edi]
in eax, 0x5d
ret
mov esp, ebp
pop ebp
ret