joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100161b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x10016378
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10016381
cmp dword [ebp + 0xc], ebx
je 0x10016381
push edi
push eax
push ebx
push 0x1f0fff
call dword [0x518b17c]
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x1001636d
push 0x518b414
mov dword [ebp + 0xc], ebx
call dword [0x518b138]
test eax, eax
je 0x10016228
push 0x518c82c
push eax
call dword [0x518b130]
mov ebx, eax
test ebx, ebx
je 0x10016225
lea eax, [ebp + 0xc]
push eax
call dword [0x518b150]
push eax
call ebx
mov ebx, dword [ebp - 4]
cmp dword [ebp + 0xc], 0
je 0x1001623b
call fcn.1000e8f0
test eax, eax
je 0x10016366
mov ebx, dword [esi + 0x3c]
xor ecx, ecx
push 0x40
add ebx, esi
mov word [esi], cx
mov edx, dword [ebx + 0x50]
push 0x3000
push edx
push ecx
push edi
mov dword [ebx], ecx
call dword [0x518b08c]
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x10016363
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push ecx
push edx
push esi
push edi
mov dword [ebx + 0x58], 0
call dword [0x518b088]
movzx eax, word [ebx + 0x14]
xor ecx, ecx
lea eax, [eax + ebx + 0x18]
mov dword [ebp + 0xc], 0
cmp cx, word [ebx + 6]
jae 0x1001630b
lea esi, [eax + 8]
lea esp, [esp]
mov edx, dword [esi]
push 4
push 0x3000
push edx
push 0
call dword [0x518b168]
mov edi, eax
test edi, edi
je 0x100162f3
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
add ecx, dword [ebp + 8]
push eax
push ecx
push edi
call fcn.1001a8d2
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add ecx, dword [ebp - 0xc]
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp - 8]
push eax
push edi
push ecx
push edx
call dword [0x518b088]
push 0x8000
push 0
push edi
call dword [0x518b15c]
mov eax, dword [ebp + 0xc]
movzx ecx, word [ebx + 6]
inc eax
add esi, 0x28
mov dword [ebp + 0xc], eax
cmp eax, ecx
jl 0x100162a0
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebx + 0x28]
push 0
push 0
push edi
add ebx, esi
call dword [0x518b0c0]
push 0
push 0
push 0
push ebx
push 0
push 0
push edi
call dword [0x518b094]
test eax, eax
je 0x10016341
push eax
call dword [0x518b190]
mov dword [ebp - 4], 1
jmp 0x10016363
push 0
push 0
push 0
push ebx
push 0
push 0
push 0
push 0
push 0
push edi
call dword [0x518b388]
xor edx, edx
test eax, eax
setns dl
mov dword [ebp - 4], edx
mov ebx, dword [ebp - 4]
push edi
call dword [0x518b190]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10018600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push edi
mov dword [ebp - 4], 0
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x1001881b
lea ebx, [ebx]
cmp dword [esi + 0x6af90], 3
jb 0x10018687
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x100186c7
mov edx, dword [esi + 0x6af84]
sub edx, ecx
cmp edx, 0x7efa
ja 0x100186c7
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x100186b2
mov dword [esi + 0x6afa0], eax
mov eax, ecx
call fcn.10018320
mov ebx, eax
mov eax, dword [esi + 0x6af90]
cmp ebx, eax
jbe 0x100186c7
mov ebx, eax
mov eax, dword [esi + 0x6af84]
mov ecx, esi
cmp ebx, 3
jb 0x100187ab
sub eax, dword [esi + 0x6af88]
lea edx, [ebx - 3]
call fcn.10017af0
sub dword [esi + 0x6af90], ebx
mov ecx, dword [esi + 0x6af90]
mov dword [ebp - 8], eax
cmp ebx, dword [esi + 0x6af98]
ja 0x10018774
cmp ecx, 3
jb 0x10018774
mov edi, 1
sub ebx, edi
lea esp, [esp]
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub ebx, edi
mov dword [esi + edx*4 + 0x2af70], ecx
mov edx, dword [esi + 0x6af84]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af7c]
mov dword [esi + ecx*4 + 0x4af70], edx
jne 0x10018710
add dword [esi + 0x6af84], edi
mov eax, dword [ebp - 8]
jmp 0x100187c6
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, 0x7fff
mov dword [esi + 0x6af7c], edx
jmp 0x100187c6
movzx edx, byte [eax + esi + 0x1af70]
xor eax, eax
call fcn.10017af0
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
test eax, eax
je 0x100187fd
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x100187dd
lea ecx, [eax + esi + 0x1af70]
jmp 0x100187df
xor ecx, ecx
mov edi, dword [esi + 0x6af84]
push 0
sub edi, eax
push ecx
mov eax, esi
call fcn.10017940
mov ecx, dword [esi + 0x6af84]
mov dword [esi + 0x6af74], ecx
cmp dword [esi + 0x6af90], 0x106
jae 0x1001880e
call fcn.100184c0
cmp dword [esi + 0x6af90], 0
jne 0x10018630
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x1001882e
lea ecx, [eax + esi + 0x1af70]
jmp 0x10018830
xor ecx, ecx
mov edi, dword [esi + 0x6af84]
push 1
sub edi, eax
push ecx
mov eax, esi
call fcn.10017940
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10019410
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
jne 0x10019417
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x100194ed
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518d260]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518d260]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518d260]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518d260]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518d260]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518d260]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518d260]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518d260]
add ecx, 8
sub edx, 8
dec esi
jne 0x10019430
pop edi
test edx, edx
je 0x1001950a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x518d260]
inc ecx
dec edx
jne 0x100194f1
not eax
pop esi
ret
Function at 0x10019510
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
call dword [0x518b070]
cmp eax, 1
je 0x10019531
mov eax, 0x1000000
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x74]
push eax
push edi
call dword [0x518b058]
test eax, eax
jne 0x1001954d
mov eax, 0x200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x30]
push ecx
call dword [0x518b05c]
lea edx, [ebp - 0x40]
push edx
call dword [0x518b068]
mov esi, dword [0x518b06c]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
push ecx
call esi
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call esi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x14]
sub dword [ebp - 0x60], eax
sbb dword [ebp - 0x5c], ecx
sub dword [ebp - 0x68], eax
sbb dword [ebp - 0x64], ecx
sub dword [ebp - 0x70], eax
sbb dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x74]
mov eax, ecx
xor esi, esi
and eax, 1
je 0x100195af
mov dword [ebp - 8], 1
mov esi, dword [ebp - 8]
test cl, 2
je 0x100195b7
or esi, 2
test cl, 4
je 0x100195bf
or esi, 4
mov edx, ecx
and edx, 0x10
je 0x100195c9
or esi, 0x10
test cl, 0x20
je 0x100195d1
or esi, 0x20
test edx, edx
je 0x100195dd
or esi, 0x40000000
jmp 0x100195e3
or esi, 0x80000000
or esi, 0x1000000
mov dword [ebp - 8], esi
test eax, eax
jne 0x100195f9
or esi, 0x800000
mov dword [ebp - 8], esi
push 0
push edi
call dword [0x518b080]
mov dword [ebp - 0x10], eax
cmp eax, 0x28
jbe 0x100196a0
mov esi, dword [0x518b07c]
push 0
push 0
push 0
push edi
call esi
mov ebx, dword [0x518b1bc]
push 0
lea ecx, [ebp - 0xc]
push ecx
push 2
lea edx, [ebp - 4]
push edx
push edi
call ebx
push 0
push 0
push 0x24
push edi
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, 0x54ad
cmp word [ebp - 4], dx
jne 0x1001969d
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x1001969d
push 0
push 0
push eax
push edi
call esi
push 0
lea edx, [ebp - 0xc]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 0x5a4d
je 0x10019696
cmp eax, 0x454e
je 0x10019696
cmp eax, 0x454c
je 0x10019696
cmp eax, 0x4550
jne 0x1001969d
or dword [ebp - 8], 0x400000
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x100196ab
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x100196b7
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
cmp eax, ecx
je 0x100196c6
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ecx
je 0x100196ee
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [0x518b084]
movzx eax, word [ebp + 8]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001a8a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x1001a8c9
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + 0x518f100]
inc esi
xor eax, edx
dec ecx
jne 0x1001a8b4
xor eax, 0xffffffff
pop esi
leave
ret 0xc
Function at 0x401210
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4410e0], 0x24e1
mov eax, dword [0x4410e0]
sub eax, 0x24e1
mov dword [0x4410e0], eax
mov ecx, 1
test ecx, ecx
je 0x4012bb
mov edx, dword [0x4410e0]
cmp edx, dword [ebp + 0xc]
jb 0x401247
jmp 0x4012bb
cmp dword [0x4410e0], 0
jne 0x401265
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401265
xor eax, eax
jmp 0x4012bb
mov eax, dword [ebp + 8]
add eax, dword [0x4410e0]
mov ecx, dword [eax]
add ecx, dword [0x4410e0]
mov edx, dword [ebp + 8]
add edx, dword [0x4410e0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x5660
mov eax, dword [0x4410e0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4410e0]
push eax
call fcn.004012c0
add esp, 8
mov ecx, dword [0x4410e0]
add ecx, 4
mov dword [0x4410e0], ecx
jmp 0x40122d
mov esp, ebp
pop ebp
ret
Function at 0xf47264
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf4726e
pushal
call 0xf47274
pop ebp
sub ebp, 0x10
sub ebp, 0xb47264
jmp 0xf4728a
mov eax, 0xb47264
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c3
mov edx, 0xe3a05229
xor byte [eax], dl
inc eax
dec ecx
adc byte [eax + 0x49], al
jne 0xf472a1
jmp 0xf472b4
mov byte [0x15a0a2e4], al
sub dword [ecx], ebp
sub dword [eax + 0x2929d1e8], ebp
sub dword [edx], ebp
in al, 0x91
sub al, 0x29
sub dword [ecx], ebp
xchg ebx, eax
add dword [ecx], ebp
sub dword [ecx], ebp
fmulp st(3)
sub ah, cl
mov byte [0x292925a8], al
sub dword [edx], ebp
in al, dx
movsb byte es:[edi], byte [esi]
dec ebp
or eax, 0xd2da0d5
jns 0xf47324
sar dword [ecx + 8], 0x29
inc ecx
push ebp
or byte [edx + 0xd052829], bh
inc ecx
in eax, dx
das
jl 0xf472a2
shr dword [ecx + ebp], 0x29
sub eax, eax
pop es
sub dword [ecx], ebp
sub dword [ebp + ecx*2 + 0x5a0d50d], esp
or eax, 0xaca2c5a2
add eax, 0xa2c5a20d
lodsb al, byte [esi]
and dword [ecx], ebp
sub dword [ecx], ebp
mov byte [0x292925bc], al
sub dword [edx + 0x292939a4], esp
sub eax, ebp
shr byte [ebx], 0x18
sub ebp, dword [edx + 0x26602deb]
lodsb al, byte [esi]
cmp dword [ecx], ebp
sub dword [ecx], ebp
call 0x2c0c9ede
stosb byte es:[edi], al
jmp 0xf4734e
fst st(6)
salc
salc
je 0xf47315
and eax, 0xda5a229
sub eax, 0x41292929
sar dword [ecx + 8], 0x29
inc ecx
push ebp
or byte [edx + 0xd052829], bh
js 0xf47303
sub al, 0x29
sub dword [ecx], ebp
sar byte [esi + 0x2b], 0x29
sub dword [ebp + ecx*2 + 0x5a0d50d], esp
or eax, 0x5cd6747d
aad 0xa0
add eax, 0xd6747d0d
pop esp
and eax, 0xc1215cd6
lodsd eax, dword [esi]
sub dword [ecx], ebp
sub dword [edx + 0x29292194], esp
sub dword [eax - 0xa2a8c28], ebp
cmpsb byte [esi], byte es:[edi]
test al, 0xd8
jae 0xf47344
cmc
cmpsb byte [esi], byte es:[edi]
sbb ah, al
test al, 0xdb
ror dword [ecx - 0x25], 0xae
test al, 0xdb
ror dword [ecx - 0x25], 0xae
sbb bh, bl
stosb byte es:[edi], al
shr dword [ecx], 0x26
lodsd eax, dword [esi]
sub dword [bx + di], ebp
sub dword [esi], esp
mov eax, dword [0x29292961]
dec edi
mov byte [0xd2a91035], al
shl dword [esi], 0xad
xor ebp, dword [ecx]
sub dword [ecx], ebp
test eax, 0xad26c0d2
cmp byte [ecx], ch
sub dword [ecx], ebp
dec edi
test al, 0xd2
salc
or al, 0x26
lodsd eax, dword [esi]
cmp al, 0x29
sub dword [ecx], ebp
push 0xd6d6e5c0
salc
add byte [ebp + 0x10], ah
sub byte [edx - 0x3e55d318], ch
sub eax, 0xd6d694c0
salc
add byte [ebp + 0x10], bh
sub ebp, dword [edx - 0x3c55d018]
sub eax, 0xc02cc1aa
adc dh, 0xd6
salc
mov byte [0x4da40d05], al
or eax, 0x2925eb2d
jl 0xf47387
lds edi, [edi + 0x7e]
jl 0xf4738c
pop esp
and eax, 0xd52154a2
wait
test eax, 0xefa82fa3
sub byte [ecx], ch
sub dword [ecx], ebp
mov eax, dword [0x28eea82e]
sub dword [ecx], ebp
sub dword [edx + 0x2929292b], edx
sub edi, ebx
lodsb al, byte es:[esi]
sub al, 0x29
sub dword [ecx], ebp
mov dword [0xfb3b6f3f], eax
stosb byte es:[edi], al
int1
salc
salc
salc
sub edi, ebx
lodsb al, byte es:[esi]
sub al, 0x29
sub dword [ecx], ebp
mov dword [0xfb3b6f3f], eax
stosb byte es:[edi], al
inc ebx
sub dword [ecx], ebp
sub dword [edx], ebx
jmp 0xad1b6f5e
Function at 0x402450
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x402475
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, 0x4030a8
sub ecx, 0x4030a4
sar ecx, 2
push ecx
push 0x4030a4
call fcn.00402560
add esp, 8
mov edx, 0x4030a0
sub edx, 0x40309c
sar edx, 2
push edx
push 0x40309c
call fcn.00402560
add esp, 8
mov eax, dword [ebp - 0x1c]
and eax, 1
je 0x4024cf
movzx ecx, word [ebp - 0x18]
mov dword [ebp - 0x54], ecx
jmp 0x4024d6
mov dword [ebp - 0x54], 0xa
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x50]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x4c], eax
mov ecx, dword [0x40368c]
push ecx
mov edx, dword [0x403688]
push edx
call fcn.004025a0
add esp, 8
mov eax, dword [0x403688]
push eax
call fcn.00402420
add esp, 4
mov ecx, 0x4030b0
sub ecx, 0x4030ac
sar ecx, 2
push ecx
push 0x4030ac
call fcn.00402560
add esp, 8
mov edx, 0x4030b8
sub edx, 0x4030b4
sar edx, 2
push edx
push 0x4030b4
call fcn.00402560
add esp, 8
call fcn.004025d0
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4044bb
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.004029ee
and dword [ebp - 4], 0
cmp dword [0x40e9b0], 0
mov ebx, eax
jne 0x40456c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40461d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40461d
push eax
call fcn.0040297c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e9b0], eax
call esi
push eax
call fcn.0040297c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e9b4], eax
call esi
push eax
call fcn.0040297c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e9b8], eax
call esi
push eax
call fcn.0040297c
pop ecx
mov dword [0x40e9c0], eax
test eax, eax
je 0x40456c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040297c
pop ecx
mov dword [0x40e9bc], eax
mov eax, dword [0x40e9bc]
cmp eax, ebx
je 0x4045c4
cmp dword [0x40e9c0], ebx
je 0x4045c4
push eax
call fcn.004029f7
push dword [0x40e9c0]
mov esi, eax
call fcn.004029f7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4045c4
test edi, edi
je 0x4045c4
call esi
test eax, eax
je 0x4045bb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4045bb
test byte [ebp - 0xc], 1
jne 0x4045c4
or dword [ebp + 0x10], 0x200000
jmp 0x4045fd
mov eax, dword [0x40e9b4]
cmp eax, ebx
je 0x4045fd
push eax
call fcn.004029f7
pop ecx
test eax, eax
je 0x4045fd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4045fd
mov eax, dword [0x40e9b8]
cmp eax, ebx
je 0x4045fd
push eax
call fcn.004029f7
pop ecx
test eax, eax
je 0x4045fd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e9b0]
call fcn.004029f7
pop ecx
test eax, eax
je 0x40461d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40461f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

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

Function at 0x710c79
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x7109ec
sub esi, esi
mov esi, 0xf9d418a1
call fcn.00710cb7
add esi, 0x7da7670d
and esi, esi
add esi, 0xd380cf3b
xor dword [eax], edx
dec esi
inc eax
sub esi, 0xc72f4d09
sub edi, 0x19f1a229
cmp eax, ebx
jne fcn.00710c79
or edi, esi
add edi, edi
ret
Function at 0x4076c4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], ecx
lea eax, [ebp - 0x20c]
mov esi, edx
push edi
push eax
call fcn.004095f0
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.004072b0
lea eax, [ebp - 0x20c]
push eax
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
jne 0x407756
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_open_file_mapping_object.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x410], eax
xor eax, eax
jmp 0x407820
push 0x1e78
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x4077aa
push ecx
push str.ReadSharedMemory__:
push ecx
mov edi, 0x82
mov ecx, esi
mov edx, edi
call fcn.00403b0e
lea ecx, [esi + 0x208]
mov edx, edi
push ecx
push str.Could_not_map_view_of_file.
push ecx
call fcn.00403b0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esi + 0x410], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40774f
mov eax, dword [ebp - 0x210]
test eax, eax
jne 0x4077c6
call fcn.0040d306
mov dword [eax], 0x16
call fcn.0040d23a
jmp 0x4077d5
push 0x1034
push edi
push eax
call fcn.00408e00
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
push str.ReadSharedMemory__:
push ecx
mov edx, 0x82
mov ecx, esi
call fcn.00403b0e
lea eax, [ebp - 0x20c]
push eax
push str.succeeded._mapping_obj_name:__s
lea eax, [esi + 0x208]
push 0x104
push eax
call fcn.00406b11
and dword [esi + 0x410], 0
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407989
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x1d6c760b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x285d700b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x401090
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40330c], eax
mov eax, dword [ebp + 4]
mov dword [0x403159], 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 0x4010bb
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 [0x403159]
mov dword [ebp - 0x48], eax
mov eax, 0x402291
mov dword [ebp - 0x54], eax
mov ecx, 0x403206
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 [0x403159]
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_CreateWindowExW]
mov dword [0x403358], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403358]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x401179
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 0x40116b
mov esp, ebp
ret