joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001851e
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x1002f000
call fcn.1001a75a
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, edi
mov dword [ebp - 0x30], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001853d
sub eax, ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.10004386
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], esi
jbe 0x10018642
jmp 0x1001856e
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x10035c00]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x10018582
cmp al, 0xff
je 0x1001856e
cmp al, 0xff
je 0x10018642
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x10035c00]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x100185a2
cmp cl, 0xff
je 0x1001858a
cmp cl, 0xff
je 0x10018642
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.10006a3a
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x10018642
movsx eax, al
mov al, byte [eax + 0x10035c00]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x100185e2
cmp al, 0xff
je 0x100185c2
cmp al, 0xff
je 0x10018642
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.10006a3a
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x10018642
movsx eax, al
mov cl, byte [eax + 0x10035c00]
cmp esi, dword [ebp - 0x30]
jae 0x10018620
cmp cl, 0xff
je 0x10018602
cmp cl, 0xff
je 0x10018642
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.10006a3a
cmp esi, dword [ebp - 0x30]
jb 0x1001856b
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.100039c0
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10003e16
mov eax, dword [ebp - 0x38]
call fcn.1001a7dd
ret

Function at 0x1001978b
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret

Function at 0x1001997f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003c030]
jne 0x10019989
repz ret
jmp fcn.1001a7fb
Function at 0x10020e09
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.1001af81
and dword [ebp - 4], 0
cmp dword [0x1003ec74], 0
mov ebx, eax
jne 0x10020eba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10020f6b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10020f6b
push eax
call fcn.1001af0f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1003ec74], eax
call esi
push eax
call fcn.1001af0f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1003ec78], eax
call esi
push eax
call fcn.1001af0f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1003ec7c], eax
call esi
push eax
call fcn.1001af0f
pop ecx
mov dword [0x1003ec84], eax
test eax, eax
je 0x10020eba
push 0x10032b6c
push edi
call esi
push eax
call fcn.1001af0f
pop ecx
mov dword [0x1003ec80], eax
mov eax, dword [0x1003ec80]
cmp eax, ebx
je 0x10020f12
cmp dword [0x1003ec84], ebx
je 0x10020f12
push eax
call fcn.1001af8a
push dword [0x1003ec84]
mov esi, eax
call fcn.1001af8a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10020f12
test edi, edi
je 0x10020f12
call esi
test eax, eax
je 0x10020f09
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10020f09
test byte [ebp - 0xc], 1
jne 0x10020f12
or dword [ebp + 0x10], 0x200000
jmp 0x10020f4b
mov eax, dword [0x1003ec78]
cmp eax, ebx
je 0x10020f4b
push eax
call fcn.1001af8a
pop ecx
test eax, eax
je 0x10020f4b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10020f4b
mov eax, dword [0x1003ec7c]
cmp eax, ebx
je 0x10020f4b
push eax
call fcn.1001af8a
pop ecx
test eax, eax
je 0x10020f4b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1003ec74]
call fcn.1001af8a
pop ecx
test eax, eax
je 0x10020f6b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10020f6d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10136f70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10170874]
add eax, 0xe9a
mov dword [0x10170874], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x10136fea
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x1d], cl
mov al, byte [ebp - 0x1d]
test al, 1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edx
jne 0x10136fa9
jmp 0x10136fea
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
jne 0x1013707a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x25], dl
mov al, byte [ebp - 0x25]
test al, 1
jne 0x10137018
jmp 0x1013707a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1013707a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1013707a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1013707a
mov eax, dword [0x10170878]
add eax, 0x26b1
mov dword [0x10170878], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1013707a
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x10137081
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x10137081
mov eax, dword [ebp - 0x2c]
add esp, 0x2c
pop ebp
ret
Function at 0x10137120
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10170880], 0
mov byte [0x10170884], 0
mov dword [0x10170874], 0xcd2
mov dword [0x1017087c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10137178
mov dword [0x1017087c], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x101371aa
mov eax, dword [ebp - 0x1c]
mov dword [0x10170874], 0x11d2
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1017087c]
add eax, 1
mov dword [0x1017087c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10137178
jmp 0x10137167
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10170888], 0
mov edx, dword [0x10170874]
mov esi, edx
add esi, 0xfffff4ea
mov dword [0x10170874], esi
mov esi, dword [0x10170880]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x10170888], ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffff1c3
mov dword [0x10170874], edx
mov eax, ebx
cdq
idiv ecx
mov dword [0x10170880], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [edi + ecx]
mov byte [0x10170884], cl
mov dword [0x10170878], 0x17dd
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x10170874], 0x742
mov cl, byte [0x10170884]
mov ebx, dword [0x10170880]
mov byte [edi + ebx], cl
mov ebx, dword [0x1017087c]
add ebx, 1
mov dword [0x1017087c], ebx
cmp ebx, 0x100
mov dword [ebp - 0x20], ebx
jl 0x101371aa
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10137c50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10170874], 0x26fd
mov dword [0x1017087c], 0
mov dword [0x10170880], 0
mov dword [0x1017088c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x10137de0
xor eax, eax
mov ecx, 0x26fd
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jmp 0x10137cc0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
add ecx, 0x78a
mov dword [0x10170874], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x1017087c], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x10170880], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10170884], cl
mov dword [0x10170874], 0xb52
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10170884]
mov edx, dword [0x10170880]
mov byte [edi + edx], cl
mov edx, dword [0x1017087c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10170880]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x10170874], 0x1ac5
and ebx, 0xff
mov dword [0x1017088c], ebx
mov dword [0x10170878], 0xe6b
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dl, cl
add dl, byte [0x10170891]
mov byte [0x10170890], dl
mov byte [0x10170891], ch
mov byte [0x10170892], cl
mov dword [0x10170874], 0x120f
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10137dde
mov eax, dword [0x10170874]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x1017087c]
mov ecx, dword [0x10170880]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], esi
jmp 0x10137cc0
jmp 0x10137de0
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101386b0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
call fcn.10001080
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x1013880a
lea eax, [esp + 0x38]
mov ecx, dword [0x10170874]
add ecx, 0xfffffa3e
mov dword [0x10170878], ecx
mov dword [esp + 0x20], eax
call fcn.10136f70
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
jne 0x10138802
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10137890
lea ecx, [0x101377a0]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x54], edx
mov dword [esp + 0x70], 0x123e00
mov edx, dword [0x10170860]
mov dword [esp + 0x80], edx
mov edx, dword [0x10170864]
mov dword [esp + 0x74], edx
mov edx, dword [0x10170868]
mov dword [esp + 0x4c], edx
mov edx, dword [0x1017086c]
mov dword [esp + 0x60], edx
mov edx, dword [0x10170870]
mov dword [esp + 0x58], edx
mov dword [0x10170874], 0x260
mov dword [0x10170878], 0xfffff7c0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1013879c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
je 0x101387ba
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x10170874], 0x7ac
mov dword [esp + 0x14], eax
jmp 0x10138775
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x38]
mov dword [esp + 0x78], eax
mov dword [0x10170874], 0x1606
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.10138110
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x10138910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101383d0
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov edx, dword [eax + edx + 0x78]
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x10170874], 0x239b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, dword [ecx + edx + 0x18]
cmp esi, 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
je 0x10138a6a
jmp 0x10138970
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10138a6a
mov eax, dword [ebp - 0x14]
add eax, 0x24
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
add ecx, dword [edx]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x1c]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
mov byte [ebp - 0x47], bl
je 0x10138a13
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], ch
mov al, byte [ebp - 0x4d]
test al, 1
mov ecx, dword [ebp - 0x4c]
mov dl, byte [ebp - 0x46]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x47], dl
jne 0x101389aa
jmp 0x10138a13
mov al, byte [ebp - 0x47]
test al, 1
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x54], ecx
jne 0x10138a47
mov eax, dword [ebp - 0x38]
add eax, 2
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x20]
cmp ecx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jb 0x10138990
jmp 0x10138966
mov eax, dword [ebp - 0x54]
movzx eax, word [eax]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x18]
add esi, dword [ecx + eax*4]
mov dword [0x10170874], 0xbb6
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40dff9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x448440
cmp edx, dword [eax]
je 0x40e01b
add eax, 8
inc ecx
cmp eax, 0x4484d0
jl 0x40e00c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x448440]
jne 0x40e149
mov eax, dword [0x44b1d4]
cmp eax, 1
je 0x40e123
test eax, eax
jne 0x40e04c
cmp dword [0x447cd4], 1
je 0x40e123
cmp edx, 0xfc
je 0x40e149
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40e083
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040eec0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004098c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40e0c6
lea eax, [ebp - 0x1a4]
push eax
call fcn.004098c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43a904
push edi
call fcn.00410680
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040eec0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040eed0
lea eax, [ebp - 0xa0]
push 0x43a8e4
push eax
call fcn.0040eed0
push dword [esi + 0x448444]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040eed0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004105f5
add esp, 0x2c
pop edi
jmp 0x40e149
lea eax, [ebp + 8]
lea esi, [esi + 0x448444]
push 0
push eax
push dword [esi]
call fcn.004098c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x417d60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040a5c0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x417e2b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x417e2b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x417dde
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x417de9
or bh, 8
and edi, 0x8000000
je 0x417e04
mov eax, dword [0x44cdfc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x417e2b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret