joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3f70fe31
Capabilities:
Parse credit card information

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push esi
lea edx, [eax + eax]
mov eax, dword [esp + 0xc]
mov esi, dword [ebx]
add eax, edx
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x3e
je 0x3f70fe76
cmp cx, 0x7d
je 0x3f70fe76
cmp cx, 0x3a
je 0x3f70fe80
cmp cx, 0x3b
je 0x3f70fe80
cmp cx, 0x38
je 0x3f70fe80
cmp cx, 0x25
je 0x3f70fe80
xor eax, eax
pop esi
pop ebx
ret 0xc
dec esi
je 0x3f70fe6f
mov cx, word [eax]
inc eax
inc eax
jmp 0x3f70fe57
dec esi
je 0x3f70fe6f
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x2d
je 0x3f70feec
cmp cx, 0x5e
je 0x3f70feec
cmp cx, 0x28
je 0x3f70fedd
cmp cx, 0x3e
je 0x3f70fedd
cmp cx, 0x44
je 0x3f70fedd
cmp cx, 0x49
je 0x3f70fedd
cmp cx, 0x4f
je 0x3f70fedd
cmp cx, 0x6f
je 0x3f70fedd
cmp cx, 0x5c
je 0x3f70fedd
cmp cx, 0x2f
je 0x3f70fedd
cmp cx, 0x7c
je 0x3f70fedd
cmp cx, 0x30
je 0x3f70fefc
cmp cx, 0x29
jne 0x3f70fe6f
cmp word [eax - 4], 0x38
je 0x3f70fe6f
sub eax, edx
push 1
sub eax, dword [esp + 0x10]
sar eax, 1
mov dword [ebx], eax
pop eax
jmp 0x3f70fe71
dec esi
test esi, esi
je 0x3f70fe6f
mov cx, word [eax]
inc eax
inc eax
jmp 0x3f70fe94
cmp word [eax - 4], 0x38
jne 0x3f70fedd
jmp 0x3f70fed0

Function at 0x3f748d07
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_FindResourceW]
push 0xa
push 0x3e7
mov esi, ecx
push dword [0x3f7ea024]
call edi
mov ebx, dword [sym.imp.kernel32.dll_LoadResource]
push eax
push dword [0x3f7ea024]
call ebx
mov ebp, dword [sym.imp.kernel32.dll_LockResource]
push eax
call ebp
push 0xa
push 0x3e6
mov dword [esi + 0x950], eax
push dword [0x3f7ea024]
call edi
push eax
push dword [0x3f7ea024]
call ebx
push eax
call ebp
push 0xa
push 0x3e5
mov dword [esi + 0x94c], eax
push dword [0x3f7ea024]
call edi
push eax
push dword [0x3f7ea024]
call ebx
push eax
call ebp
movzx eax, word [eax]
lea edi, [esi + 0x95c]
push 4
mov dword [edi], eax
shl eax, 2
push eax
call fcn.3f7448c0
mov dword [esi + 0x954], eax
mov eax, dword [edi]
shl eax, 1
push eax
call fcn.3f6e901c
add esp, 0xc
mov dword [esi + 0x958], eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x3f7ae8b6
Capabilities:
Accept command line arguments

Disassembly:
cmp dword [esp + 8], 1
jne 0x3f7ae93b
call dword [sym.imp.kernel32.dll_GetVersion]
push 0
mov dword [0x3f7ead10], eax
call fcn.3f7aebe8
test eax, eax
pop ecx
je 0x3f7e29c5
mov eax, dword [0x3f7ead10]
xor ecx, ecx
mov cl, byte [0x3f7ead11]
and eax, 0xff
shr dword [0x3f7ead10], 0x10
mov dword [0x3f7ead18], eax
mov dword [0x3f7ead1c], ecx
shl eax, 8
add eax, ecx
mov dword [0x3f7ead14], eax
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x3f7eae40], eax
call fcn.3f7aec83
mov dword [0x3f7ead08], eax
call fcn.3f7aed2c
call fcn.3f6f5782
call fcn.3f7af5fc
call fcn.3f7af6b6
inc dword [0x3f7ead04]
push 1
pop eax
ret 0xc
xor eax, eax
cmp dword [esp + 8], eax
jne 0x3f7ae935
cmp dword [0x3f7ead04], eax
jle 0x3f7e29c5
dec dword [0x3f7ead04]
cmp dword [0x3f7ead20], eax
jne 0x3f7ae962
call fcn.3f7ae9a8
call fcn.3f7aeb4e
call fcn.3f7aeb73
jmp 0x3f7ae935
xor eax, eax
jmp 0x3f7ae938
Function at 0x3f7ae9b7
Capabilities:
Terminate process

Disassembly:
push edi
push 1
pop edi
cmp dword [0x3f7eae64], edi
je 0x3f7e3905
cmp dword [esp + 0xc], 0
push ebx
mov ebx, dword [esp + 0x14]
mov dword [0x3f7ead20], edi
mov byte [0x3f7eae60], bl
jne 0x3f7ae9fd
mov eax, dword [0x3f7eae68]
test eax, eax
jne 0x3f7e391b
push 0x3f7eae50
push 0x3f7eae48
call fcn.3f7ae96e
pop ecx
pop ecx
push 0x3f7eae5c
push 0x3f7eae54
call fcn.3f7ae96e
pop ecx
pop ecx
test ebx, ebx
pop ebx
je 0x3f7e3942
pop edi
ret
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
jmp 0x3f7ae9c7
mov ecx, dword [0x3f7f9da0]
push esi
lea esi, [ecx - 4]
cmp esi, eax
jb 0x3f7e393c
mov eax, dword [esi]
test eax, eax
je 0x3f7e3931
call eax
sub esi, 4
cmp esi, dword [0x3f7eae68]
jae 0x3f7e3929
pop esi
jmp 0x3f7ae9ec
push dword [esp + 8]
mov dword [0x3f7eae64], edi
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x3f7aec83
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x3f7eb338]
push ebx
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp eax, ebx
jne 0x3f7e551f
call ebp
mov esi, eax
cmp esi, ebx
je 0x3f7e5503
mov dword [0x3f7eb338], 1
cmp esi, ebx
je 0x3f7e5529
cmp word [esi], bx
mov eax, esi
je 0x3f7aecd5
inc eax
inc eax
cmp word [eax], bx
jne 0x3f7aecc7
inc eax
inc eax
cmp word [eax], bx
jne 0x3f7aecc7
sub eax, esi
mov edi, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sar eax, 1
push ebx
push ebx
inc eax
push ebx
push ebx
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
mov ebp, eax
cmp ebp, ebx
je 0x3f7aed1c
push ebp
call fcn.3f6e901c
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x3f7aed1c
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
test eax, eax
je 0x3f7e5536
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov edi, eax
cmp edi, ebx
je 0x3f7e559d
mov dword [0x3f7eb338], 2
jmp 0x3f7e554e
cmp eax, 1
jne 0x3f7e5549
jmp 0x3f7aecb8
call ebp
mov esi, eax
cmp esi, ebx
je 0x3f7e559d
jmp 0x3f7aecc0
push dword [esp + 0x10]
call fcn.3f6e9364
pop ecx
mov dword [esp + 0x10], ebx
jmp 0x3f7aed18
cmp eax, 2
jne 0x3f7e559d
cmp edi, ebx
jne 0x3f7e555e
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov edi, eax
cmp edi, ebx
je 0x3f7e559d
cmp byte [edi], bl
mov eax, edi
je 0x3f7e556e
inc eax
cmp byte [eax], bl
jne 0x3f7e5564
inc eax
cmp byte [eax], bl
jne 0x3f7e5564
sub eax, edi
inc eax
mov ebp, eax
push ebp
call fcn.3f6e901c
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x3f7e5584
xor esi, esi
jmp 0x3f7e558f
push ebp
push edi
push esi
call fcn.3f6f5782
add esp, 0xc
push edi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
mov eax, esi
jmp 0x3f7aed25
xor eax, eax
jmp 0x3f7aed25
Function at 0x57f3f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x117000]
push edi
or ebp, 0xffffffff
jmp 0x57f412
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57f419
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f408
mov eax, 1
add ebx, ebx
jne 0x57f42b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57f43c
jne 0x57f45b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f45b
dec eax
add ebx, ebx
jne 0x57f448
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57f420
add ebx, ebx
jne 0x57f457
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57f4ad
xor ecx, ecx
sub eax, 3
jb 0x57f473
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57f4e2
sar eax, 1
mov ebp, eax
jmp 0x57f47e
add ebx, ebx
jne 0x57f47e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f44c
inc ecx
add ebx, ebx
jne 0x57f48c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57f44c
add ebx, ebx
jne 0x57f499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57f48e
jne 0x57f4aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57f48e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57f4cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57f4be
jmp 0x57f40e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57f4cc
add edi, ecx
jmp 0x57f40e
pop esi
mov edi, esi
mov ecx, 0x43d8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57f4ea
cmp byte [edi], 0xd
jne 0x57f4ea
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 0x57f4ef
lea edi, [esi + 0x17c000]
mov eax, dword [edi]
or eax, eax
je 0x57f567
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1808e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1809dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57f51c
mov ecx, edi
jns 0x57f54b
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 + 0x1809e4]
or eax, eax
je 0x57f561
mov dword [ebx], eax
add ebx, 4
jmp 0x57f539
call dword [esi + 0x1809e0]
mov ebp, dword [esi + 0x1809e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0x57f59b
sub esp, 0xffffff80
jmp 0x401378
Function at 0x100046a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov byte [ebp - 0x20], 0x4b
mov byte [ebp - 0x1f], 0x45
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x4e
mov byte [ebp - 0x1c], 0x45
mov byte [ebp - 0x1b], 0x4c
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x10], 0x4c
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], 0x4c
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x62
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x61
mov byte [ebp - 7], 0x72
mov byte [ebp - 6], 0x79
mov byte [ebp - 5], 0x41
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp + 8], 0
je 0x1000473c
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x10004771
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x10004759
mov edx, dword [ebp + 0xc]
push edx
call dword [ebp - 0x24]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x1000476f
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x10004771
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10004775
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov byte [ebp - 0x24], 0x4b
mov byte [ebp - 0x23], 0x45
mov byte [ebp - 0x22], 0x52
mov byte [ebp - 0x21], 0x4e
mov byte [ebp - 0x20], 0x45
mov byte [ebp - 0x1f], 0x4c
mov byte [ebp - 0x1e], 0x33
mov byte [ebp - 0x1d], 0x32
mov byte [ebp - 0x1c], 0x2e
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x10], 0x47
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x50
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x73
mov byte [ebp - 6], 0x48
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x61
mov byte [ebp - 3], 0x70
mov byte [ebp - 2], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
call fcn.100046a0
add esp, 0xc
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x44], 0x48
mov byte [ebp - 0x43], 0x65
mov byte [ebp - 0x42], 0x61
mov byte [ebp - 0x41], 0x70
mov byte [ebp - 0x40], 0x52
mov byte [ebp - 0x3f], 0x65
mov byte [ebp - 0x3e], 0x41
mov byte [ebp - 0x3d], 0x6c
mov byte [ebp - 0x3c], 0x6c
mov byte [ebp - 0x3b], 0x6f
mov byte [ebp - 0x3a], 0x63
mov byte [ebp - 0x39], 0
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x24]
push eax
push 0
call fcn.100046a0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x38], 0x48
mov byte [ebp - 0x37], 0x65
mov byte [ebp - 0x36], 0x61
mov byte [ebp - 0x35], 0x70
mov byte [ebp - 0x34], 0x41
mov byte [ebp - 0x33], 0x6c
mov byte [ebp - 0x32], 0x6c
mov byte [ebp - 0x31], 0x6f
mov byte [ebp - 0x30], 0x63
mov byte [ebp - 0x2f], 0
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0
call fcn.100046a0
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], 0
je 0x1000489b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [ebp - 0x28]
push eax
call dword [ebp - 0x2c]
jmp 0x100048a8
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [ebp - 0x28]
push eax
call dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x100048ac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov byte [ebp - 0x30], 0x4b
mov byte [ebp - 0x2f], 0x45
mov byte [ebp - 0x2e], 0x52
mov byte [ebp - 0x2d], 0x4e
mov byte [ebp - 0x2c], 0x45
mov byte [ebp - 0x2b], 0x4c
mov byte [ebp - 0x2a], 0x33
mov byte [ebp - 0x29], 0x32
mov byte [ebp - 0x28], 0x2e
mov byte [ebp - 0x27], 0x64
mov byte [ebp - 0x26], 0x6c
mov byte [ebp - 0x25], 0x6c
mov byte [ebp - 0x24], 0
mov byte [ebp - 0x10], 0x47
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x50
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x73
mov byte [ebp - 6], 0x48
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x61
mov byte [ebp - 3], 0x70
mov byte [ebp - 2], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 0
call fcn.100046a0
add esp, 0xc
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x48
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x19], 0x70
mov byte [ebp - 0x18], 0x46
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x30]
push eax
push 0
call fcn.100046a0
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [ebp - 0x20]
push eax
call dword [ebp - 0x34]
mov esp, ebp
pop ebp
ret
Function at 0x10004c5d
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov byte [ebp - 0x38], 0x4b
mov byte [ebp - 0x37], 0x45
mov byte [ebp - 0x36], 0x52
mov byte [ebp - 0x35], 0x4e
mov byte [ebp - 0x34], 0x45
mov byte [ebp - 0x33], 0x4c
mov byte [ebp - 0x32], 0x33
mov byte [ebp - 0x31], 0x32
mov byte [ebp - 0x30], 0x2e
mov byte [ebp - 0x2f], 0x64
mov byte [ebp - 0x2e], 0x6c
mov byte [ebp - 0x2d], 0x6c
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x20], 0x56
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x75
mov byte [ebp - 0x1b], 0x61
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x41
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x63
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0
call fcn.100046a0
add esp, 0xc
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
xor eax, eax
mov ax, word [ecx + 0x14]
lea ecx, [edx + eax + 0x18]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x28], 0
jmp 0x10004d1b
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
xor eax, eax
mov ax, word [edx + 6]
cmp dword [ebp - 0x28], eax
jge 0x10004dc8
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x10], 0
jne 0x10004d7f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x38]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x10004d7d
push 4
push 0x1000
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
add eax, dword [edx + 0xc]
push eax
call dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1001f200
add esp, 0xc
jmp 0x10004d09
push 4
push 0x1000
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + 0xc]
push edx
call dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1001f830
add esp, 0xc
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 8], eax
jmp 0x10004d09
mov esp, ebp
pop ebp
ret
Function at 0x100056c6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100263f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x10005715
mov dword [ebp - 0x1c], 0x4c
push 0x1002a838
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1001fc39
jmp 0x10005734
mov dword [ebp - 4], 0xffffffff
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1002d460
call fcn.10004981
add esp, 4
mov dword [ebp - 0x18], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x18], 0
jne 0x10005766
jmp 0x1000583d
mov dword [ebp - 4], 2
mov edx, 1
test edx, edx
je 0x1000578b
mov dword [ebp - 0x20], 0x51
push 0x1002a838
lea eax, [ebp - 0x20]
push eax
call fcn.1001fc39
jmp 0x100057a6
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
jne 0x100057fd
mov dword [ebp - 4], 4
mov eax, 1
test eax, eax
je 0x100057d8
mov dword [ebp - 0x24], 0x33
push 0x1002a838
lea ecx, [ebp - 0x24]
push ecx
call fcn.1001fc39
jmp 0x100057f4
mov dword [ebp - 4], 0xffffffff
jmp 0x1000583d
sub esp, 0x84c
mov ecx, 0x213
mov esi, str.202.95.11.90
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [ebp - 0x14]
cmp dword [ebp - 0x18], 0
je 0x10005835
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x18]
push eax
call fcn.1000542f
add esp, 4
mov dword [ebp - 0x18], 0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005734
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100263f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x10005715
mov dword [ebp - 0x1c], 0x4c
push 0x1002a838
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1001fc39
jmp 0x10005734
mov dword [ebp - 4], 0xffffffff
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1002d460
call fcn.10004981
add esp, 4
mov dword [ebp - 0x18], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x18], 0
jne 0x10005766
jmp 0x1000583d
mov dword [ebp - 4], 2
mov edx, 1
test edx, edx
je 0x1000578b
mov dword [ebp - 0x20], 0x51
push 0x1002a838
lea eax, [ebp - 0x20]
push eax
call fcn.1001fc39
jmp 0x100057a6
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
jne 0x100057fd
mov dword [ebp - 4], 4
mov eax, 1
test eax, eax
je 0x100057d8
mov dword [ebp - 0x24], 0x33
push 0x1002a838
lea ecx, [ebp - 0x24]
push ecx
call fcn.1001fc39
jmp 0x100057f4
mov dword [ebp - 4], 0xffffffff
jmp 0x1000583d
sub esp, 0x84c
mov ecx, 0x213
mov esi, str.202.95.11.90
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [ebp - 0x14]
cmp dword [ebp - 0x18], 0
je 0x10005835
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x18]
push eax
call fcn.1000542f
add esp, 4
mov dword [ebp - 0x18], 0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007dc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100264bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov dword [ebp - 0x130], ecx
lea ecx, [ebp - 0x11c]
call fcn.1000cec0
mov dword [ebp - 4], 0
push 0x2001f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x11c]
call fcn.10007d70
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x10007e4b
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.10007c40
mov eax, dword [ebp - 0x124]
jmp 0x10007f11
mov dword [ebp - 0x120], 0x100
lea ecx, [ebp - 0x118]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x10c]
push eax
push 0
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10007ed9
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x11c]
call fcn.10007dc0
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x10007eca
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x128], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.10007c40
mov eax, dword [ebp - 0x128]
jmp 0x10007f11
mov dword [ebp - 0x120], 0x100
jmp 0x10007e55
lea ecx, [ebp - 0x11c]
call fcn.10007cc0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x130]
call fcn.10007c80
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.10007c40
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100083c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8

Function at 0x100085d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jge 0x10008629
mov edx, 1
test edx, edx
je 0x10008611
jmp 0x10008625
push str.Should_not_be_here___n
push 0
push 0x100
call fcn.100066e0
add esp, 0xc
xor eax, eax
jmp 0x10008632
xor eax, eax
cmp eax, dword [ebp - 4]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10008640
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.1001fd70
mov dword [ebp - 0x1010], ecx
mov dword [ebp - 8], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100086a8
mov edx, 1
test edx, edx
je 0x10008690
jmp 0x100086a4
push str.RegQueryInfoKey_Failed
push 0
push 0x100
call fcn.100066e0
add esp, 0xc
xor eax, eax
jmp 0x10008702
cmp dword [ebp - 8], 1
jne 0x100086f9
mov dword [ebp - 0x100c], 0x1000
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x100c]
push eax
lea ecx, [ebp - 0x1008]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100086f5
movsx eax, byte [ebp - 0x1008]
test eax, eax
je 0x100086f5
mov eax, 1
jmp 0x10008702
xor eax, eax
jmp 0x10008702
xor ecx, ecx
cmp ecx, dword [ebp - 8]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret 4