joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460c1c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x460c33
add esp, 0xfffffff0
call fcn.00403f3c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fc60
mov eax, dword [0x48d5e0]
cmp word [eax + 2], 0
jne 0x460c5b
mov eax, dword [0x48d5e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462924
mov eax, dword [0x48d704]
cmp word [eax + 2], 0
jne 0x460c75
mov eax, dword [0x48d704]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462b30
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416a48]
call fcn.00403be8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416a48]
call fcn.00403be8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416a48]
call fcn.00403be8
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x424a1c]
call fcn.0042c670
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x460e2c
mov eax, dword [0x48d470]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ca44
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4631f4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48d470]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e14c
test eax, eax
je 0x460d7c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409b30
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e180
test eax, eax
je 0x460d90
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404d88
mov byte [ebx + 0xd4], 0
push ebx
push 0x462398
call fcn.00420ddc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x48d270]
cmp byte [eax], 0
jne 0x460de1
mov eax, ebx
call fcn.00460f70
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00463408
mov eax, ebx
call fcn.00463f6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460e21
call fcn.00403f94
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4611f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46128f
cmp dword [ebx + 0x94], 0
jne 0x461289
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461178
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461289
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46124f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461289
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418fd4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46125e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4614a8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x492cd4]
cmp dword [eax + 0x30], 0
je 0x461605
test bl, bl
jne 0x461556
cmp dword [esi + 0x9c], 0
jne 0x46154b
mov eax, esi
call fcn.00463de8
push eax
push 0x4613d4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46151c
mov eax, dword [0x492cd4]
call fcn.004644c8
test al, al
je 0x46151c
mov eax, dword [0x492cf8]
call fcn.00405cac
mov edi, eax
cmp edi, 0
jl 0x46151c
push 0
mov eax, dword [0x492cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x461506
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46154b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418fd4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46152b
inc dword [esi + 0x9c]
jmp 0x461605
cmp dword [esi + 0x9c], 0
jle 0x461605
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x461605
cmp dword [esi + 0x44], 0
je 0x4615b1
mov eax, dword [0x492cd4]
call fcn.004644c8
test al, al
je 0x4615b1
mov eax, dword [0x492cf8]
call fcn.00405cac
mov edi, eax
cmp edi, 0
jl 0x4615b1
push 5
mov eax, dword [0x492cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46159b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4615e0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418fd4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4615c0
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x492cf8
mov ecx, 1
mov edx, dword [0x4613b4]
call fcn.00405e60
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4620ec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x462156
mov eax, ebx
call fcn.004644c8
test al, al
jne 0x462156
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404c08
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x462143
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x462163
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b6c
jmp 0x462163
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b6c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4635ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46365a
mov eax, esi
call fcn.0044c1d8
test al, al
je 0x46365a
mov eax, dword [ebx + 0x84]
call fcn.0044be38
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46365a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46364e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044be38
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00443c70
jmp 0x46365a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00463428
pop esi
pop ebx
ret
Function at 0x468f04
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40794c]
call fcn.00405588
xor eax, eax
push ebp
push 0x4690a5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48cccc], 0
jne 0x468f5f
mov ecx, dword [0x48d298]
mov dl, 1
mov eax, dword [0x407f48]
call fcn.0040d394
call fcn.0040448c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403538
mov eax, ebx
call fcn.00405458
mov dword [ebp - 0x24], eax
mov esi, 0x4690b4
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406550
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405468
test eax, eax
jle 0x469048
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x469034
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d88
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x468fda
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404da0
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x468ff0
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404da0
mov eax, dword [ebp - 0x54]
call fcn.00404fa8
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404d88
mov eax, dword [ebp - 0x58]
call fcn.00404fa8
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x469036
xor eax, eax
test al, al
je 0x469041
mov ebx, 0x15
jmp 0x46904d
mov ebx, 0x10
jmp 0x46904d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x48cccc]
call fcn.00468d84
mov eax, dword [ebp - 4]
call fcn.00468d84
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4690ac
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404b3c
lea eax, [ebp - 0xc]
mov edx, dword [0x40794c]
call fcn.00405658
ret

Function at 0x4714f4
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
movzx ebx, bl
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
movzx edx, dl
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax*8 + 0x48cf00]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x47152c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x471544
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x47153d
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403538
xor edx, edx
mov eax, 0x48d100
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4715ab
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x471562
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x4717ec
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x471805
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4717fe
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x471817
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x471810
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004713e4
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x471831
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.004714f4
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4718b9
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4718d7
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00471474
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x471901
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x471918
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x471931
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x47192a
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x471945
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004712e4
test bl, bl
jne 0x471a1f
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x493e40
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x47197d
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x471992
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004717ec
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4719c5
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x471972
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4719e9
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4719fb
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x471a10
jmp 0x471ae0
cmp bl, 1
jne 0x471ae0
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x493e9a
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x471a3f
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x471a54
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004717ec
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x471a87
sub ebx, 6
inc dword [ebp - 8]
jne 0x471a34
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x471aaf
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x471ac1
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x471ad6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00471364
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4872ac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4875e8
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x48750e
push 0
push 0x4875f8
call sub.user32.dll_FindWindowA
mov ebx, eax
xor esi, esi
mov eax, edi
call fcn.00404b18
jmp 0x4875ae
inc esi
push 0xff
lea eax, [ebp - 0x104]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404d88
lea edx, [ebp - 0x10c]
mov eax, dword [0x48d6d4]
mov eax, dword [eax]
call fcn.00409338
mov edx, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
mov eax, 0x487608
call fcn.00471d80
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 4]
call fcn.004050f4
test eax, eax
jle 0x487596
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404b6c
jmp 0x4875c2
push 0
push 0x4875f8
push ebx
push 0
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0xa
call sub.kernel32.dll_Sleep_2
test ebx, ebx
ja 0x48752a
cmp esi, 0x12c
jg 0x48752a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4875ef
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00404b3c
lea eax, [ebp - 4]
call fcn.00404b18
ret
Function at 0x3f9f3a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2bf0000]
push edi
or ebp, 0xffffffff
jmp 0x3f9f3c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x3f9f3c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3f9f3b8
mov eax, 1
add ebx, ebx
jne 0x3f9f3db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x3f9f3ec
jne 0x3f9f40b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3f9f40b
dec eax
add ebx, ebx
jne 0x3f9f3f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x3f9f3d0
add ebx, ebx
jne 0x3f9f407
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x3f9f45d
xor ecx, ecx
sub eax, 3
jb 0x3f9f423
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x3f9f492
sar eax, 1
mov ebp, eax
jmp 0x3f9f42e
add ebx, ebx
jne 0x3f9f42e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3f9f3fc
inc ecx
add ebx, ebx
jne 0x3f9f43c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x3f9f3fc
add ebx, ebx
jne 0x3f9f449
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x3f9f43e
jne 0x3f9f45a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x3f9f43e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x3f9f47c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x3f9f46e
jmp 0x3f9f3be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x3f9f47c
add edi, ecx
jmp 0x3f9f3be
pop esi
mov edi, esi
mov ecx, 0x74677
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x3f9f49a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x3f9f49f
lea edi, [esi + 0x3b9a000]
mov eax, dword [edi]
or eax, eax
je 0x3f9f507
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3bb4450]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3bb45d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x3f9f4c5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3bb45e0]
or eax, eax
je 0x3f9f501
mov dword [ebx], eax
add ebx, 4
jmp 0x3f9f4e2
call dword [esi + 0x3bb45dc]
mov ebp, dword [esi + 0x3bb45e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x3f9f53b
sub esp, 0xffffff80
jmp 0x19d5384
Function at 0x407aa0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x68]
lea eax, [esi + 0x68]
test ecx, ecx
jne 0x407ad8
push 1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push 0
push esi
push 0x407080
push 0
push 0
mov dword [esi + 0x78], 3
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x409c20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
push esi
push edi
xor edx, edx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], dl
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push 5
push eax
push edx
mov dword [esp + 0x18], edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, dword [esp + 0x114]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004844a1
mov eax, esi
pop edi
pop esi
add esp, 0x108
ret
Function at 0x40a500
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x40a53a
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x1c]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
test ebx, ebx
jne 0x40a55f
pop edi
pop esi
pop ebx
pop ecx
ret
lea ecx, [esp + 0xc]
push 0
push ecx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40a581
pop edi
pop esi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x40ada0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x492d07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], 1
mov ebp, dword [eax - 8]
lea edi, [ebp + ebp + 2]
push edi
call fcn.00484998
mov esi, eax
lea eax, [ebp*4]
mov dword [esp + 0x14], eax
add eax, 2
push eax
call fcn.00484998
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov edi, ebx
push ebp
push 0
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x40]
call fcn.00484863
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0xffffffffffffffff
lea ecx, [esp + 0x34]
call fcn.004848b2
mov eax, dword [esp + 0x10]
push 0
push 0
push eax
push ebx
push esi
call fcn.0046f817
add esp, 4
push eax
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
lea ecx, [esp + 0x18]
call fcn.004844a1
push esi
mov byte [esp + 0x28], 2
call fcn.004849c1
push ebx
call fcn.004849c1
mov esi, dword [esp + 0x34]
add esp, 8
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.004841a8
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00484433
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.00484433
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret