joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2a30e3b1
Capabilities:
Terminate thread

Disassembly:
push 0xc
mov eax, 0x2a3549f2
call fcn.2a30266e
mov ebx, ecx
xor ecx, ecx
cmp dword [ebx], 0xb
mov edi, ecx
mov dword [ebp - 0x14], edi
jne 0x2a30e4a2
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
or dword [ebx + 0x1a0], 0xffffffff
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
lea esi, [eax + 0x12c]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, esi
jae 0x2a30e45b
mov edi, esi
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebx + 0x2d8]
mov esi, dword [ebx]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp esi, 0xb
jne 0x2a30e458
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, edi
jb 0x2a30e41f
mov edi, dword [ebp - 0x14]
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp dword [ebx], 0xb
jne 0x2a30e482
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_TerminateThread]
xor edi, edi
inc edi
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebx + 0x2d8], ecx
cmp dword [ebx + 0x18], 0
lea esi, [ebx + 0x1a0]
mov dword [esi], ecx
je 0x2a30e4d7
test di, di
jne 0x2a30e4d4
push esi
push dword [ebx + 0x18]
call fcn.2a34e6c2
xor ecx, ecx
cmp dword [esi], ecx
jne 0x2a30e4d7
push esi
push dword [ebx + 0x14]
mov dword [ebx + 0x18], ecx
call fcn.2a34e6c2
xor ecx, ecx
jmp 0x2a30e4d7
mov dword [ebx + 0x18], ecx
cmp word [ebx + 0x144], cx
je 0x2a30e55e
push ecx
push ecx
lea ecx, [ebp - 0x18]
call fcn.2a34e6c2
mov edi, dword [0x2a36db18]
xor eax, eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebx + 0x40]
push eax
mov eax, dword [0x2a36db04]
push str.Cstring
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [str.Pv0]
call esi
mov esi, dword [edi + 0xd0]
pop ecx
movzx eax, ax
mov ecx, esi
push eax
push 0
call dword [str.Pv0]
call esi
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0
push eax
call fcn.2a34e6c2
cmp dword [ebp - 0x14], 0
je 0x2a30e550
lea ecx, [ebp - 0x18]
call fcn.2a34e6c2
test al, al
je 0x2a30e550
lea ecx, [ebp - 0x18]
call fcn.2a33f665
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a34e6c2
xor ecx, ecx
cmp dword [ebx + 0x34], 0
je 0x2a30e582
mov eax, dword [0x2a36d7bc]
push dword [ebx + 0x34]
mov esi, dword [eax + 0x284]
mov ecx, esi
call dword [str.Pv0]
call esi
pop ecx
xor ecx, ecx
mov dword [ebx + 0x34], ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x2a30e5b6
push eax
mov eax, dword [0x2a36dabc]
cmp word [ebx + 0x196], cx
je 0x2a30e5a0
mov esi, dword [eax + 0x124]
jmp 0x2a30e5a6
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [str.Pv0]
call esi
xor eax, eax
pop ecx
mov dword [ebx + 0x20], eax
mov dword [ebx], 2
call fcn.2a302b96
ret
Function at 0x2a32d61e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x2a35670e
call fcn.2a3041d5
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x2a32d83f
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.2a34e6c2
add esp, 0x10
test eax, eax
js 0x2a32d839
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x2a32d6c2
push edi
call fcn.2a32eb0c
pop ecx
test al, al
je 0x2a32d6c2
mov eax, edi
call fcn.2a3534e0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x2a32d6d4
push edi
lea ecx, [ebp - 0x424]
call fcn.2a34e6c2
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.2a34e6c2
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x2a32d839
push 0x60
push ebx
push eax
call fcn.2a32edc8
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x2a32d72c
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.2a32edc8
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x2a32d72c
call fcn.2a32be19
mov ebx, eax
jmp 0x2a32d808
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x2a32d753
call fcn.2a32be19
jmp 0x2a32d7fb
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x2a32d749
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x2a32d786
mov ebx, 0x8007000e
jmp 0x2a32d7fd
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2a34e6c2
jmp 0x2a32d7ac
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x2a32d77f
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.2a34e6c2
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.2a34e6c2
mov ebx, eax
test edi, edi
je 0x2a32d808
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a32d821
lea ecx, [ebp - 0x418]
call fcn.2a32c4ed
or dword [ebp - 4], 0xffffffff
jmp 0x2a32d831
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32d827
mov eax, ebx
jmp 0x2a32d86d
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x2a32d854
lea ecx, [ebp - 0x418]
call fcn.2a32c4ed
or dword [ebp - 4], 0xffffffff
jmp 0x2a32d864
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32d85a
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.2a30420f
ret 0x10
Function at 0x2a34e6c2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x2a34e6d1
pop dword [ebp - 0x34]
mov eax, 0x63aeb3ba
sub eax, 0x3979cce9
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x3633c6
sub dword [ebp - 0x44], 0xb1e3ee7b
mov dword [ebp - 0x40], 0x823415b
sub dword [ebp - 0x40], 0xd5eff516
mov dword [ebp - 0x3c], 0x23cfa4ca
sub dword [ebp - 0x3c], 0xd783609c
mov dword [ebp - 0x38], 0x92f5a494
sub dword [ebp - 0x38], 0x92f5a494
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x3a96d185
sub dword [ebp - 0x44], 0xc624682f
mov dword [ebp - 0x40], 0x40a6be75
sub dword [ebp - 0x40], 0xff3a5d00
mov dword [ebp - 0x3c], 0x87f8f5bc
add dword [ebp - 0x3c], 0xdb7676b0
mov dword [ebp - 0x38], 0xb34d5f64
sub dword [ebp - 0x38], 0xb34d5f64
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xc7720524
sub eax, 0x9d3c6498
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x4a7e1
push 0
call eax
mov ecx, 0x21f3a657
sub ecx, 0x21f35e1c
xor ebx, ebx
add ebx, eax
mov esi, 0x2a381600
add esi, dword [ebp - 0x34]
mov edx, 0x9700707a
add edx, 0x7244f63e
xor dword [ebp - 4], ecx
mov edi, dword [esi]
mov dword [ebp - 0x20], 0x53c7962d
sub edi, edx
mov dword [ebx], edi
add dword [ebp - 0x10], ebx
add ebx, 0xbf1e2d4b
add ebx, 0x40e1d2b9
add esi, 4
loop 0x2a34e7ea
add eax, 0x6166404e
sub eax, 0x61652c8f
xor ebx, ebx
add ebx, eax
add eax, 0x4fceb32e
add eax, 0xb0314cd7
mov ecx, 0xd75306ac
sub ecx, 0xad2306ac
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401443
pop dword [ebp - 0x40]
mov eax, 0x401443
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xfb29a44b
sub dword [ebp - 0x50], 0xacd75f00
mov dword [ebp - 0x4c], 0x2c67f228
add dword [ebp - 0x4c], 0x5cb5a1d
mov dword [ebp - 0x48], 0xacd3f406
sub dword [ebp - 0x48], 0x6087afd8
mov dword [ebp - 0x44], 0x4f4b10f8
add dword [ebp - 0x44], 0xb0b4ef08
lea eax, [ebp - 0x50]
push eax
mov eax, 0xe2605461
add eax, 0x1de02c17
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x9851161
sub dword [ebp - 0x50], 0x9512a80b
mov dword [ebp - 0x4c], 0x57c0f1f7
sub dword [ebp - 0x4c], 0x16549082
mov dword [ebp - 0x48], 0x362c6454
sub dword [ebp - 0x48], 0xd2bcf7e8
mov dword [ebp - 0x44], 0xe781f33c
sub dword [ebp - 0x44], 0xe781f33c
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x42e6794e
sub eax, 0x42a5f8d2
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x36379
push 0
call eax
mov ecx, 0xa11e41a5
sub ecx, 0xa11e0248
mov edi, eax
mov edx, 0x451400
add edx, dword [ebp - 0x40]
mov esi, 0xf0212a1a
sub esi, 0x5f1105c8
xor dword [ebp - 0x20], 0x92751c1b
mov ebx, dword [edx]
sub dword [ebp - 0x1c], esi
sub ebx, esi
sub dword [ebp - 0x14], 0x6e306456
mov dword [edi], ebx
add dword [ebp - 0x18], 0xb7b0fb6
add edi, 4
add edx, 0x33597201
sub edx, 0x335971fd
loop 0x40155a
add eax, 0xf047
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x9de3c2fd
add ecx, 0x625c3d03
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x401270
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x441398]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x3c]
push esi
push edi
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xa4], edx
push eax
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x9c], 0x50746547
mov dword [ebp - 0x98], 0x65636f72
mov dword [ebp - 0x94], 0x65487373
mov word [ebp - 0x90], 0x7061
mov byte [ebp - 0x8e], 0
mov dword [ebp - 0x4c], 0x4e52454b
mov dword [ebp - 0x48], 0x32334c45
mov dword [ebp - 0x44], 0x6c6c642e
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x64616f4c
mov dword [ebp - 0x38], 0x7262694c
mov dword [ebp - 0x34], 0x41797261
mov byte [ebp - 0x30], 0
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x40133e
lea eax, [ebp - 0x14]
push eax
call edi
test eax, eax
jne 0x40133e
xor edi, edi
jmp 0x40134a
lea ecx, [ebp - 0x9c]
push ecx
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x2c], 0x70616548
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x28], 0x6c416552
push eax
mov dword [ebp - 0x24], 0x636f6c
mov dword [ebp - 0x6c], 0x4e52454b
mov dword [ebp - 0x68], 0x32334c45
mov dword [ebp - 0x64], 0x6c6c642e
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0x64616f4c
mov dword [ebp - 0x58], 0x7262694c
mov dword [ebp - 0x54], 0x41797261
mov byte [ebp - 0x50], 0
call ebx
push eax
call esi
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x4013c0
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0xa0]
test eax, eax
jne 0x4013c0
xor ebx, ebx
jmp 0x4013c9
lea ecx, [ebp - 0x2c]
push ecx
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x20], 0x70616548
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x1c], 0x6f6c6c41
push eax
mov word [ebp - 0x18], 0x63
mov dword [ebp - 0x8c], 0x4e52454b
mov dword [ebp - 0x88], 0x32334c45
mov dword [ebp - 0x84], 0x6c6c642e
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0x64616f4c
mov dword [ebp - 0x78], 0x7262694c
mov dword [ebp - 0x74], 0x41797261
mov byte [ebp - 0x70], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x401452
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0xa0]
test eax, eax
jne 0x401452
xor esi, esi
jmp 0x40145b
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
mov esi, eax
mov eax, dword [ebp - 0xa8]
push dword [ebp - 0xa4]
test eax, eax
je 0x401484
push eax
push 0
call edi
push eax
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417359
mov esp, ebp
pop ebp
ret
push 0
call edi
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417359
mov esp, ebp
pop ebp
ret
Function at 0x4014a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x441398]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x30]
push esi
push edi
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x78], ecx
push eax
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x70], 0x50746547
mov dword [ebp - 0x6c], 0x65636f72
mov dword [ebp - 0x68], 0x65487373
mov word [ebp - 0x64], 0x7061
mov byte [ebp - 0x62], 0
mov dword [ebp - 0x40], 0x4e52454b
mov dword [ebp - 0x3c], 0x32334c45
mov dword [ebp - 0x38], 0x6c6c642e
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x64616f4c
mov dword [ebp - 0x2c], 0x7262694c
mov dword [ebp - 0x28], 0x41797261
mov byte [ebp - 0x24], 0
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x401553
lea eax, [ebp - 0x14]
push eax
call edi
test eax, eax
jne 0x401553
xor edi, edi
jmp 0x40155c
lea ecx, [ebp - 0x70]
push ecx
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x20], 0x70616548
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x1c], 0x65657246
push eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x60], 0x4e52454b
mov dword [ebp - 0x5c], 0x32334c45
mov dword [ebp - 0x58], 0x6c6c642e
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x50], 0x64616f4c
mov dword [ebp - 0x4c], 0x7262694c
mov dword [ebp - 0x48], 0x41797261
mov byte [ebp - 0x44], 0
call ebx
push eax
call esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x4015c9
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0x74]
test eax, eax
jne 0x4015c9
xor esi, esi
jmp 0x4015d2
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
mov esi, eax
push dword [ebp - 0x78]
push 0
call edi
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417359
mov esp, ebp
pop ebp
ret
Function at 0x4015f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x441398]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x50], edx
push eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x44], 0x74726956
mov dword [ebp - 0x40], 0x416c6175
mov dword [ebp - 0x3c], 0x636f6c6c
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x4e52454b
mov dword [ebp - 0x30], 0x32334c45
mov dword [ebp - 0x2c], 0x6c6c642e
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x64616f4c
mov dword [ebp - 0x20], 0x7262694c
mov dword [ebp - 0x1c], 0x41797261
mov byte [ebp - 0x18], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x4016a8
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0x48]
test eax, eax
jne 0x4016a8
xor edx, edx
mov dword [ebp - 0x4c], edx
jmp 0x4016b4
lea ecx, [ebp - 0x44]
push ecx
push eax
call edi
mov edx, eax
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebx]
xor eax, eax
mov esi, dword [ebx + 4]
xor ebx, ebx
mov dword [ebp - 0x48], esi
movzx edi, word [ecx + 0x14]
add edi, 0x28
cmp ax, word [ecx + 6]
jae 0x401740
add edi, ecx
nop
mov eax, dword [edi]
test eax, eax
jne 0x4016ff
mov eax, dword [ebp - 0x50]
mov esi, dword [eax + 0x38]
test esi, esi
jle 0x401729
mov eax, dword [edi - 4]
add eax, dword [ebp - 0x48]
push 4
push 0x1000
push esi
push eax
call edx
push esi
push 0
push eax
mov dword [edi - 8], eax
call fcn.00419260
jmp 0x401726
push 4
push 0x1000
push eax
mov eax, dword [edi - 4]
add eax, esi
push eax
call edx
push dword [edi]
mov ecx, dword [edi + 4]
mov esi, eax
add ecx, 0x441dd0
push ecx
push esi
call fcn.00418ce0
mov dword [edi - 8], esi
add esp, 0xc
mov eax, dword [ebp - 0x54]
inc ebx
mov edx, dword [ebp - 0x4c]
add edi, 0x28
mov esi, dword [ebp - 0x48]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp ebx, eax
jl 0x4016d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00417359
mov esp, ebp
pop ebp
ret
Function at 0x4024e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
nop word [eax + eax]
push 0
mov edi, esi
call dword [sym.imp.KERNEL32.dll_Sleep]
movsx eax, byte [ebx + 0x441dc0]
mov ecx, 0x68f7
cdq
idiv ecx
push 0
add dl, 2
xor byte [esi + 0x441dd0], dl
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0xcccccccd
lea ecx, [ebx + 1]
mul esi
xor ebx, ebx
inc esi
shr edx, 2
lea eax, [edx + edx*4]
cmp edi, eax
cmovne ebx, ecx
cmp esi, 0x110000
jl 0x4024f0
pop edi
pop esi
pop ebx
ret

Function at 0x402900
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x402929
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40293f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402936
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x402972
nop
cmp esi, ecx
jae 0x402936
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x402960
cmp esi, ecx
jae 0x402936
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430230
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x441398]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
call fcn.0040840e
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x402ce8
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x402ce8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402ce8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402ce8
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x402c56
nop dword [eax + eax]
cmp esi, ecx
jae 0x402ce8
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x402c40
cmp esi, ecx
jae 0x402ce8
cmp word [esi], 0
je 0x402ce8
movzx eax, word [esi]
lea ecx, [esi + 2]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x402cfe
mov ebx, dword [ebp - 0x10]
mov edx, 1
mov ecx, dword [ebx]
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
sub ecx, edi
or edx, ecx
jge 0x402ca6
push edi
mov ecx, ebx
call fcn.00402ab0
movzx eax, word [esi]
push 0
push 0
push edi
push dword [ebx]
push eax
lea eax, [esi + 2]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x402cfe
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
mov byte [edi + eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00402d30
int3
Function at 0x405438
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x4304f7
call fcn.00417c3d
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [esi], edi
cmp dword [eax + 0x58], edi
je 0x4054e0
push dword [ebp + 8]
call fcn.00405761
mov dword [ebp - 0x10], eax
test eax, eax
je 0x405573
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
push ecx
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push ecx
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x14]
mov dword [esi], ecx
test eax, eax
jne 0x4054c9
push ecx
call fcn.0040ee32
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4054c9
xor edi, edi
inc edi
jmp 0x4054d3
push dword [ebx]
call fcn.0040ee3b
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.0040535d
jmp 0x405571
mov eax, dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0x84]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call dword [0x432474]
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x405569
mov esi, dword [ebp + 0x14]
shr ecx, 1
push ecx
mov dword [esi], ecx
call fcn.0040ee32
mov dword [ebx], eax
pop ecx
cmp dword [esi], edi
jbe 0x405563
mov esi, dword [ebp + 0x10]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040533a
lea ecx, [edi + edi]
push ecx
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.0040533a
mov ecx, dword [esi]
add al, bl
mov byte [edi + ecx], al
inc edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x18]
add ecx, 2
mov dword [ebp - 0x18], ecx
cmp edi, dword [eax]
jb 0x40552d
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.00402d80
mov eax, edi
call fcn.00417c0b
ret 0x10

Function at 0x40557b
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x4055ce
push esi
push dword [ebp + 8]
call fcn.00405761
mov edi, eax
test edi, edi
je 0x4055c9
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4055c9
mov eax, dword [ebp - 8]
jmp 0x4055e0
mov eax, dword [ebp + 0x10]
jmp 0x4055e0
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc