joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4071fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431238]
jne 0x407206
repz ret
jmp fcn.0040c505

Function at 0x40cfff
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.0040a718
and dword [ebp - 4], 0
cmp dword [0x434278], 0
mov ebx, eax
jne 0x40d0b0
push 0x4024a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d161
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402498
push edi
call esi
test eax, eax
je 0x40d161
push eax
call fcn.0040a6a6
mov dword [esp], 0x402488
push edi
mov dword [0x434278], eax
call esi
push eax
call fcn.0040a6a6
mov dword [esp], 0x402474
push edi
mov dword [0x43427c], eax
call esi
push eax
call fcn.0040a6a6
mov dword [esp], 0x402458
push edi
mov dword [0x434280], eax
call esi
push eax
call fcn.0040a6a6
pop ecx
mov dword [0x434288], eax
test eax, eax
je 0x40d0b0
push 0x402440
push edi
call esi
push eax
call fcn.0040a6a6
pop ecx
mov dword [0x434284], eax
mov eax, dword [0x434284]
cmp eax, ebx
je 0x40d108
cmp dword [0x434288], ebx
je 0x40d108
push eax
call fcn.0040a721
push dword [0x434288]
mov esi, eax
call fcn.0040a721
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d108
test edi, edi
je 0x40d108
call esi
test eax, eax
je 0x40d0ff
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d0ff
test byte [ebp - 0xc], 1
jne 0x40d108
or dword [ebp + 0x10], 0x200000
jmp 0x40d141
mov eax, dword [0x43427c]
cmp eax, ebx
je 0x40d141
push eax
call fcn.0040a721
pop ecx
test eax, eax
je 0x40d141
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d141
mov eax, dword [0x434280]
cmp eax, ebx
je 0x40d141
push eax
call fcn.0040a721
pop ecx
test eax, eax
je 0x40d141
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x434278]
call fcn.0040a721
pop ecx
test eax, eax
je 0x40d161
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d163
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1001e34
Capabilities:
Parse pe header

Disassembly:
push 0x60
push 0x10011e0
call fcn.01002c88
mov edi, 0x94
mov eax, edi
call fcn.01002df0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x10010a8]
mov ecx, dword [esi + 0x10]
mov dword [0x10062b8], ecx
mov eax, dword [esi + 4]
mov dword [0x10062c4], eax
mov edx, dword [esi + 8]
mov dword [0x10062c8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x10062bc], esi
cmp ecx, 2
je 0x1001e94
or esi, 0x8000
mov dword [0x10062bc], esi
shl eax, 8
add eax, edx
mov dword [0x10062c0], eax
cmp word [0x1000000], 0x5a4d
jne 0x1001ed0
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x1001ed0
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x1001ee9
cmp ecx, 0x20b
je 0x1001ed6
and dword [ebp - 0x1c], 0
jmp 0x1001efd
cmp dword [eax + 0x84], 0xe
jbe 0x1001ed0
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x1001ef7
cmp dword [eax + 0x74], 0xe
jbe 0x1001ed0
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
push 0
call fcn.01002c2a
pop ecx
test eax, eax
jne 0x1001f2a
cmp dword [0x10062a8], 1
jne 0x1001f17
call fcn.01002406
push 0x1c
call fcn.01002219
push 0xff
call fcn.01002078
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.01002a5a
test eax, eax
jge 0x1001f3f
push 0x1b
call fcn.01001e05
pop ecx
call dword [0x10010ac]
mov dword [0x1006854], eax
call fcn.0100292d
mov dword [0x10062a0], eax
call fcn.01002884
test eax, eax
jge 0x1001f65
push 8
call fcn.01001e05
pop ecx
call fcn.0100262a
test eax, eax
jge 0x1001f76
push 9
call fcn.01001e05
pop ecx
call fcn.010020d2
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1001f89
push eax
call fcn.01001e05
pop ecx
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [fcn.010010b0]
call fcn.010025bc
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x1001fab
movzx eax, word [ebp - 0x40]
jmp 0x1001fae
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push 0
push 0x1000000
call fcn.01001c3d
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x1c], 0
jne 0x1001fcf
push esi
call fcn.010021b2
call fcn.010021ea
jmp 0x1002001
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x7c]
call fcn.01002cc3
ret
Function at 0x1e95309
Capabilities:
Encode data using xor

Disassembly:
mov bl, 0x6e
mov byte [esp], al
lea esp, [esp + 4]
mov bh, ch
mov bl, byte [esp + 3]
not bx
lea ebx, [esi + ebp]
jmp 0x1e952dc
Function at 0x1ecb54a
Capabilities:
Encode data using base64

Disassembly:
lea esp, [esp + 4]
inc bx
jmp 0x1ecb552
ja 0x1ecb534
jbe 0x1ecb534

Function at 0x1eeda97
Capabilities:
Execute anti-debugging instructions

Disassembly:
not cl
mov cl, 0x8e
jmp 0x1eeda16
cmp dword [eax + edi + 8], esi
push ebp
pushal
jmp 0x1eeda66
lea esi, [eax + ecx]
stc
mov esi, eax
xor esi, esi
jmp 0x1eed9f5
mov ecx, dword [eax + edi + 0xc]
sbb eax, edx
jmp 0x1eeda4b
and dword [esp + 0x14], esi
jmp 0x1e724d1
mov eax, dword [ebp + 0xc]
call 0x1eeda77
inc esi
int1
inc ebp
call 0xcb0aef4c
mov bl, 0x69
mov ebp, 0x244c03ea
adc al, 0x8d
add al, 0x95
add byte [eax], al
add byte [eax], al
add ecx, dword [esp + 0x14]
lea eax, [edx*4]
mov eax, 0xd891077c
jmp 0x1eeda35
lea esp, [esp + 0x24]
jbe 0x1e72499
bsf ecx, ebx
mov ecx, edx
jmp 0x1eeda2c
lea esp, [esp + 4]
jne 0x1e72499
je 0x1eeda0c
lea esp, [esp + 0x2c]
add dword [esp + 0x14], 0x14
jmp 0x1eedae7
cmp esi, dword [eax + edi + 8]
jmp 0x1eedb17
inc esi
sub esp, 0x16
lea esp, [esp + 2]
lea esp, [esp + 0x14]
jmp 0x1eedad1
jb 0x1e724d1
jae 0x1e72499

Function at 0x1eedbe8
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 4]
jbe 0x1e7293e
mov ax, si
jmp 0x1eedc1b
mov eax, dword [0x1e7b5e8]
push 0x1e7b55c
push edi
jmp 0x1eedc05
Function at 0x40b480
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4273d4]
jne 0x40b48a
repz ret
jmp fcn.0041168c

Function at 0x41733c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4273d4]
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.0040e43f
and dword [ebp - 0x14], 0
cmp dword [0x52740c], 0
mov dword [ebp - 0x18], eax
jne 0x4173ef
push 0x4037fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x417497
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4037f0
push ebx
call edi
test eax, eax
je 0x417497
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4037e0
push ebx
mov dword [0x52740c], eax
call edi
push eax
call esi
push 0x4037cc
push ebx
mov dword [0x527410], eax
call edi
push eax
call esi
push 0x4037b0
push ebx
mov dword [0x527414], eax
call edi
push eax
call esi
mov dword [0x52741c], eax
test eax, eax
je 0x4173ef
push 0x403798
push ebx
call edi
push eax
call esi
mov dword [0x527418], eax
mov eax, dword [0x527418]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x417448
cmp dword [0x52741c], ecx
je 0x417448
push eax
call esi
push dword [0x52741c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417448
test ebx, ebx
je 0x417448
call edi
test eax, eax
je 0x41743f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41743f
test byte [ebp - 8], 1
jne 0x417448
or dword [ebp + 0x10], 0x200000
jmp 0x41747b
mov eax, dword [0x527410]
cmp eax, dword [ebp - 0x18]
je 0x41747b
push eax
call esi
test eax, eax
je 0x41747b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41747b
mov eax, dword [0x527414]
cmp eax, dword [ebp - 0x18]
je 0x41747b
push eax
call esi
test eax, eax
je 0x41747b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x52740c]
call esi
test eax, eax
je 0x417497
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x417499
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b480
leave
ret
Function at 0x41f660
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.0041e810
cmp dword [0x8c8190], 0x37
jne 0x41f6f1
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x40442c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x404438
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp]
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]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x8c8194]
mov edx, dword [0x8c4600]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x6aec17d0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.6aec7c10
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.6aec7c10
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x6aec1830
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6b1e7054]
test esi, esi
jle 0x6aec1950
mov eax, dword [0x6b1e7058]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x6aec1864
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6aec18e7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6aec1850
mov dword [esp], ebx
call fcn.6aec1f90
mov edi, eax
test eax, eax
je 0x6aec1977
mov eax, dword [0x6b1e7058]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.6aec20d0
mov edx, dword [0x6b1e7058]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6aec1957
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6aec18e0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6aec18f0
add dword [0x6b1e7054], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x6b1e7058]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6aec18e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6aec17d0
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x6aec186e
mov eax, dword [0x6b1e7058]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.6aec17d0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6aec17d0
lea esi, [esi]
nop
Function at 0x6aec1c10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6b1e7064
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6b1e705c]
sub esp, 4
test ebx, ebx
je 0x6aec1c65
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6aec1c5e
test esi, esi
je 0x6aec1c5e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6aec1c40
mov dword [esp], 0x6b1e7064
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6aec1f90
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x6aec0000], 0x5a4d
jne 0x6aec1fb5
mov ecx, dword [0x6aec003c]
cmp dword [ecx + 0x6aec0000], 0x4550
lea edx, [ecx + 0x6aec0000]
je 0x6aec1fc0
ret
cmp word [ecx + 0x6aec0018], 0x10b
jne 0x6aec1fb5
push esi
movzx eax, word [ecx + 0x6aec0014]
push ebx
movzx esi, word [ecx + 0x6aec0006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x6aec0000
test esi, esi
je 0x6aec2008
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6aec1ffe
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6aec200a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6aec1ff0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x405f10
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
push ecx
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
Function at 0x40762b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
Function at 0x407810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x7bb], 0
mov byte [ebp - 0x7ba], 2
and byte [ebp - 0x7b9], 0
mov byte [ebp - 0x7b8], 0xa1
mov byte [ebp - 0x7b7], 0xb2
mov byte [ebp - 0x7b6], 0xb1
mov byte [ebp - 0x7b5], 0xb8
mov byte [ebp - 0x7b4], 0xcf
mov byte [ebp - 0x7b3], 0xce
mov byte [ebp - 0x7b2], 0xd3
mov byte [ebp - 0x7b1], 0x99
mov byte [ebp - 0x7b0], 0x91
mov byte [ebp - 0x7af], 0x91
mov byte [ebp - 0x7ae], 0xfd
call fcn.00405a72
ficomp word [ecx + 0xb6ab29f]
lea eax, [ebp - 0x7bc]
push eax
call fcn.00405a82
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.004059e3
add esp, 0xc
jmp 0x4079ea
call dword [eax - 0x18]
add esp, eax
invalid
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.00405a72
in eax, 0x40
ja 0x4079d9
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x407a55
lea eax, [ebp - 0x714]
push eax
call fcn.00405a82
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00405a37
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x407a55
jmp 0x407414
cmp dword [ebp - 0x37c], 0
je 0x407a63
jmp 0x407b18
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x407abc
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x407ac1
jmp 0x407414
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x407b08
lea eax, [ebp - 0x714]
push eax
call fcn.00405a82
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00405a37
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x407b13
jmp 0x407b18
jmp 0x407414
cmp dword [ebp - 0x37c], 0
jne 0x407bc2
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00405c4e
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x407bae
lea eax, [ebp - 0x714]
push eax
call fcn.00405a82
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.00405b17
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
invalid
invalid
Function at 0x41ab43
Capabilities:
Packed with generic packer

Disassembly:
mov cx, 0x76ea
rcl ch, 3
mov ecx, dword [eax*4 + 0x41b396]
cmp dh, al
pushfd
cmc
add esp, 4
jmp loc.0041d57f

Function at 0x41abcd
Capabilities:
Packed with generic packer

Disassembly:
push 0xb479338f
cmp bl, bl
add esi, 0xfffffffe
pushal
lea esp, [esp + 0x2c]
jmp loc.0041dba9

Function at 0x41aca2
Capabilities:
Packed with generic packer

Disassembly:
push edx
jmp loc.0041d63d
cmp dh, 0x14
test bl, dh
add ebp, 2
pushal
mov al, byte [edx]
push dword [esp + 0x10]
mov dword [esp + 4], edi
call fcn.0041b492
setnp cl
pushfd
btr ax, 2
btc ax, bp
mov ax, word [ebp]
inc cl
cmp esp, ebp
not cl
mov cl, byte [ebp + 2]
pushfd
mov word [esp + 4], si
sub ebp, 2
pushal
mov word [esp], 0x5f44
shr ax, cl
mov byte [esp + 0xc], 0xf4
mov word [ebp + 4], ax
jmp 0x41a651

Function at 0x41acbc
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push dword [esp + 0x28]
pop dword [ebp]
push 0xdc936421
pushfd
lea esp, [esp + 0x34]
jmp fcn.0041ab1d

Function at 0x41b1b7
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pop dword [esp]
jmp 0x41b1a4
push esp
pushfd
pushal
push dword [esp + 0x28]
pop dword [ebp]
push dword [esp]
push esi
push 0x3ddb36fa
pushfd
lea esp, [esp + 0x3c]
jmp fcn.0041b174

Function at 0x41d200
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
xor eax, eax
xor eax, eax
push 0x40a102
xor edx, edx
push 0x40a0cb
mov eax, dword [0x40c014]
xor eax, eax
mov eax, 0x40cde4
push 2
push 0
push 1
mov ecx, dword [0x40cde4]
mov dl, 1
mov eax, 0x4072a4
xor edx, edx
push 0x40a083
mov eax, dword [0x40cdf0]
add esp, 0x20
leave
popal
popfd
clc
bt edi, 4
jmp loc.0041b182

Function at 0x41d2a2
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
xor eax, eax
xor eax, eax
push 0x40a102
xor edx, edx
push 0x40a0cb
mov eax, dword [0x40c014]
xor eax, eax
mov eax, 0x40cde4
push 2
push 0
push 1
mov ecx, dword [0x40cde4]
mov dl, 1
mov eax, 0x4072a4
xor edx, edx
push 0x40a083
mov eax, dword [0x40cdf0]
add esp, 0x20
leave
popal
popfd
mov dword [esp + 0xc], edx
and cl, 0x4f
jmp loc.0041af7c

Function at 0x41d31a
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
xor eax, eax
xor eax, eax
push 0x40a102
xor edx, edx
push 0x40a0cb
mov eax, dword [0x40c014]
xor eax, eax
mov eax, 0x40cde4
push 2
push 0
push 1
mov ecx, dword [0x40cde4]
mov dl, 1
mov eax, 0x4072a4
xor edx, edx
push 0x40a083
mov eax, dword [0x40cdf0]
add esp, 0x20
leave
popal
popfd
mov al, byte [esi - 1]
or ch, 0xde
jmp loc.0041b2ae

Function at 0x41d342
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
xor eax, eax
xor eax, eax
push 0x40a102
xor edx, edx
push 0x40a0cb
mov eax, dword [0x40c014]
xor eax, eax
mov eax, 0x40cde4
push 2
push 0
push 1
mov ecx, dword [0x40cde4]
mov dl, 1
mov eax, 0x4072a4
xor edx, edx
push 0x40a083
mov eax, dword [0x40cdf0]
add esp, 0x20
leave
popal
popfd
mov al, byte [esi - 1]
or ch, 0xde
jmp loc.0041b2ae
Function at 0x41d4d6
Capabilities:
Packed with generic packer

Disassembly:
add cl, cl
popal
popfd
jmp fcn.0041ab1d

Function at 0x41d517
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
pop edi
xor ebx, ebx
push 0x8001
and eax, 0xbfffffff
cmp ax, 6
add esp, 0xc
leave
popal
popfd
jmp loc.0041b1d1

Function at 0x41d76a
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x160
push eax
push 0x41fd20
push 0x409294
push 0x423f60
mov ebx, 0x42b400
push ebx
push 0x400
test eax, eax
add esp, 0x24
leave
popal
popfd
bt bp, 2
jmp loc.0041a6ca

Function at 0x41d932
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4013c8
push 0x4042ce
push eax
push ebx
push edi
xor ebx, ebx
push 2
pop ecx
mov ecx, dword [0x406ef0]
mov ecx, dword [0x406eec]
add esp, 0x18
leave
popal
popfd
xor ecx, 0x381c085a
jmp loc.0041b209

Function at 0x41d994
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
push 0x8001
push 8
push 0x2b4
push eax
push 0x40861c
push 0x408604
push 0x4685a0
push eax
mov edi, 0x4c10a0
push edi
mov eax, edi
add esp, 0x30
leave
popal
popfd
mov dword [esp + 0x24], esi
pushal
jmp loc.0041afae
Function at 0x403090
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004047f8
test esi, esi
jne 0x4030c6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004048e8
jmp 0x4030e4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402f94
mov edi, eax
test esi, esi
je 0x4030e4
cmp dword [ebx], 0
je 0x4030e4
dec esi
jmp 0x4030cd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4037d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47c020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40386c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40384c
xor eax, eax
push ebp
push 0x403845
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403888
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40384c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x47c020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47c020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404678
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x488048], 0
je 0x4046d9
cmp word [0x48821c], 0xd7b2
jne 0x4046a1
cmp dword [0x488224], 0
jbe 0x4046a1
mov eax, 0x488218
call dword [0x488234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404700
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47c02c], 0
jne 0x4046f5
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret