joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417810
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41783b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41785f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41787a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x419df8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x419e30
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041c758
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041c730
jmp 0x419e3c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x41b348
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41b38a
call fcn.0042141e
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41b38a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41b381
xor eax, eax
jmp 0x41b392
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041b398
pop edi
pop esi
pop ebx
ret 4

Function at 0x421e88
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x421eb6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x421ed4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00421dee
jmp 0x421ed4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x421ed4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00421dee
test edi, edi
mov eax, edi
jne 0x421ebe
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x43fa03
Capabilities:
Hash data with crc32

Disassembly:
je 0x43fbf7
jne 0x43fbf7
cmp dword [0x69a7642c], esi
lea edi, [eax + 0xcd0ea8]
cmp dword [0xd0c3a8], ecx
or dword [eax + 0x20], 0x80
mov byte [eax + esi - 1], 0
cmp dword [0xdeb3d8], edi
mov dword [0x112765ac], eax
mov dword [esi], 0xace0bc
movsx eax, word [ebp - 0x1c4]
push 0xaab9a8
int1
rcr byte [esi], 1
loop 0x43f2e7
sub eax, 0x22a93090
aaa
out 0x83, al
leave
jmp [eax + 3]
movsd dword es:[edi], dword [esi]
add byte [eax + 0x4561b4], bh
mov eax, 0x10d7a2b8
mov edx, 0xb1ced4
push 0xa76714
mov dword [esi], 0x9fb764
push str.inf_u
mov dword [edx + esi + 0x13c], 0x10261f8c
push 0x697a2e6c
mov byte [ebp - 0x132], 0
mov ecx, 0x15
sti
and bh, byte [edi + 0x4232049f]
cmp byte [eax], bl
mov al, byte [0x6b249244]
dec edi
arpl word [eax], bx
cwde
jmp 0x43fa03
not ecx
xor ebx, ebx
je 0x43fafa
jne 0x43fafa
cmp dword [ebp + 0xc], eax
jmp dword [ecx*4 + 0x86d66c]
shr ecx, 8
je 0x43f8c9
jne 0x43f8c9
mov dword [0x112b2da8], eax
neg dword [ebp + 0x12]
push 0xa233fc
push 0x1016adc0
mov dword [0x1124da0c], eax
mov dword [0x111d2de4], eax
cmp dword [ebp + 0x1c], 0x80000000
mov dword [esi], 0xa0e618
pmaddwd xmm6, xmmword [0x69809430]
mov eax, 0x10dab0f8
push 0x100d8c6c
mov ecx, dword [0x42be3c]
movzx eax, word [0xf376c4]
add ebp, 0x518
mov dword [esi + 0x5c], 0x42edc0
push 0xaf4520
cmp byte [0xdef019], 0
mov dword [esp + 0xec], 0x1028d9a4
hlt
mov dword [ebp - 0x128], ebx
mov dword [ebp - 4], 0xfffffffe
push 0x43fb85
ret
push eax
push 0x43fe3a
ret
je 0x43f33b
movzx eax, byte [esi]
xor eax, ecx
je 0x43fd59
jne 0x43fd59
mov ecx, dword [0x1152b260]
lock cmpxchg dword [ebx], edx
mov dword [esi + 0x694], 1
mov dword [esi + 4], 0x63eba0
jmp dword [0x49140c]
xor ecx, dword [eax*4 + 0x401240]
push 0x43f5f1
ret
mov eax, edx
dec edx
mov dword [ebp - 0x130], edx
test eax, eax
jmp 0x43f814
mov dword [ebp - 0x124], esi
jmp 0x43f925
cmp ecx, 0x39b5d60d
sete bl
jmp 0x43f464
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b19b0
push 0x4a41c0
mov eax, dword fs:[0]
jmp 0x43f67a
and eax, 0xff
jmp 0x43f37a
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x26c4dfb
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x39ef302b
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x4a21d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x72000]
push edi
or ebp, 0xffffffff
jmp 0x4a21f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a21f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a21e8
mov eax, 1
add ebx, ebx
jne 0x4a220b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a221c
jne 0x4a222c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a222c
dec eax
add ebx, ebx
jne 0x4a2228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a2200
xor ecx, ecx
sub eax, 3
jb 0x4a2244
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a22b6
sar eax, 1
mov ebp, eax
jmp 0x4a224f
add ebx, ebx
jne 0x4a224f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4a225c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4a2280
inc ecx
add ebx, ebx
jne 0x4a226c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a2261
jne 0x4a227d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a2261
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a22a0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a2291
jmp 0x4a21ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a22a0
add edi, ecx
jmp 0x4a21ee
pop esi
mov edi, esi
mov ecx, 0xdc2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a22be
cmp byte [edi], 6
jne 0x4a22be
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 eax, ebx
loop 0x4a22c3
lea edi, [esi + 0xa0000]
mov eax, dword [edi]
or eax, eax
je 0x4a2332
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa2218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa227c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a22f0
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa2280]
or eax, eax
je 0x4a232c
mov dword [ebx], eax
add ebx, 4
jmp 0x4a230d
call dword [esi + 0xa2284]
popal
jmp 0x41b0b8
Function at 0x401a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
mov eax, dword [0x42bbe8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
mov ebp, dword [esp + 0x50]
mov al, 0x45
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov al, 0x73
push edi
mov byte [esp + 0x48], al
mov byte [esp + 0x49], al
lea eax, [esp + 0x40]
mov bl, 0x65
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x20], 0x4b
mov byte [esp + 0x22], 0x52
mov byte [esp + 0x23], 0x4e
mov byte [esp + 0x25], 0x4c
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], 0x6c
mov byte [esp + 0x2b], 0x6c
mov byte [esp + 0x2c], 0
mov byte [esp + 0x48], 0x47
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x74
mov byte [esp + 0x4b], 0x50
mov byte [esp + 0x4c], 0x72
mov byte [esp + 0x4d], 0x6f
mov byte [esp + 0x4e], 0x63
mov byte [esp + 0x4f], bl
mov byte [esp + 0x52], 0x48
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], 0x61
mov byte [esp + 0x55], 0x70
mov byte [esp + 0x56], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea edx, [esp + 0x34]
mov dword [esp + 0x10], eax
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x3c], 0x48
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x61
mov byte [esp + 0x3f], 0x70
mov byte [esp + 0x40], 0x52
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x41
mov byte [esp + 0x43], 0x6c
mov byte [esp + 0x44], 0x6c
mov byte [esp + 0x45], 0x6f
mov byte [esp + 0x46], 0x63
mov byte [esp + 0x47], 0
call esi
push eax
call edi
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x30], 0x48
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x61
mov byte [esp + 0x33], 0x70
mov byte [esp + 0x34], 0x41
mov byte [esp + 0x35], 0x6c
mov byte [esp + 0x36], 0x6c
mov byte [esp + 0x37], 0x6f
mov byte [esp + 0x38], 0x63
mov byte [esp + 0x39], 0
call esi
push eax
call edi
test ebp, ebp
mov esi, eax
je 0x401bf7
mov eax, dword [esp + 0x5c]
push eax
push ebp
push 0
call dword [esp + 0x1c]
push eax
call dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0040f82a
add esp, 0x44
ret
mov ecx, dword [esp + 0x5c]
push ecx
push 0
call dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040f82a
add esp, 0x44
ret
Function at 0x401c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x34
mov eax, dword [0x42bbe8]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov al, 0x45
mov byte [esp + 9], al
mov byte [esp + 0xc], al
push ebp
mov al, 0x6c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
lea eax, [esp + 0x20]
mov bl, 0x65
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x18], 0x4b
mov byte [esp + 0x1a], 0x52
mov byte [esp + 0x1b], 0x4e
mov byte [esp + 0x1d], 0x4c
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x21], 0x64
mov byte [esp + 0x24], 0
mov byte [esp + 0x28], 0x48
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x61
mov byte [esp + 0x2b], 0x70
mov byte [esp + 0x2c], 0x46
mov byte [esp + 0x2d], 0x72
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
mov dword [esp + 0xc], eax
mov al, 0x73
lea edx, [esp + 0x2c]
mov byte [esp + 0x34], al
mov byte [esp + 0x35], al
push edx
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x34], 0x47
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x74
mov byte [esp + 0x37], 0x50
mov byte [esp + 0x38], 0x72
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3a], 0x63
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3e], 0x48
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 0x61
mov byte [esp + 0x41], 0x70
mov byte [esp + 0x42], 0
call edi
push eax
call ebp
push esi
push 0
call eax
push eax
call dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040f82a
add esp, 0x34
ret
Function at 0x401d30
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
sub esp, 0x38
mov eax, dword [0x42bbe8]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
cmp word [eax + 6], 0
mov dword [esp + 0x10], ecx
movzx ecx, word [eax + 0x14]
push esi
mov dword [esp + 4], edx
lea esi, [ecx + eax + 0x18]
mov dword [esp + 8], 0
jbe 0x401e94
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
add esi, 0x10
mov bl, 0x6c
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x3c], 0x4b
mov byte [esp + 0x3d], 0x45
mov byte [esp + 0x3e], 0x52
mov byte [esp + 0x3f], 0x4e
mov byte [esp + 0x40], 0x45
mov byte [esp + 0x41], 0x4c
mov byte [esp + 0x42], 0x33
mov byte [esp + 0x43], 0x32
mov byte [esp + 0x44], 0x2e
mov byte [esp + 0x45], 0x64
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], 0
mov byte [esp + 0x2c], 0x56
mov byte [esp + 0x2d], 0x69
mov byte [esp + 0x2e], 0x72
mov byte [esp + 0x2f], 0x74
mov byte [esp + 0x30], 0x75
mov byte [esp + 0x31], 0x61
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], 0x41
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x6f
mov byte [esp + 0x37], 0x63
mov byte [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebp
mov ecx, dword [esi]
test ecx, ecx
jne 0x401e46
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 0x38]
test edi, edi
jle 0x401e71
mov edx, dword [esi - 4]
add edx, dword [esp + 0x10]
push 4
push 0x1000
push edi
push edx
call eax
push edi
push 0
push eax
mov dword [esi - 8], eax
call fcn.00410910
jmp 0x401e6e
push 4
push 0x1000
push ecx
mov ecx, dword [esi - 4]
add ecx, dword [esp + 0x1c]
push ecx
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [esi + 4]
add eax, dword [esp + 0x18]
push edx
push eax
push edi
call fcn.00413c30
mov dword [esi - 8], edi
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
movzx ecx, word [edx + 6]
add eax, 1
add esi, 0x28
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x401d85
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
pop esi
xor ecx, esp
call fcn.0040f82a
add esp, 0x38
ret
Function at 0x401eb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x40
mov eax, dword [0x42bbe8]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov al, 0x45
mov byte [esp + 0x21], al
mov byte [esp + 0x24], al
mov eax, dword [edi]
mov byte [esp + 0x20], 0x4b
mov byte [esp + 0x22], 0x52
mov byte [esp + 0x23], 0x4e
mov byte [esp + 0x25], 0x4c
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], 0x6c
mov byte [esp + 0x2b], 0x6c
mov byte [esp + 0x2c], 0
movzx ecx, word [eax + 0x14]
lea edx, [esp + 0x30]
lea esi, [ecx + eax + 0x18]
push edx
lea eax, [esp + 0x24]
mov bl, 0x74
push eax
mov dword [esp + 0x20], edi
mov byte [esp + 0x38], 0x56
mov byte [esp + 0x39], 0x69
mov byte [esp + 0x3a], 0x72
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], 0x75
mov byte [esp + 0x3d], 0x61
mov byte [esp + 0x3e], 0x6c
mov byte [esp + 0x3f], 0x46
mov byte [esp + 0x40], 0x72
mov byte [esp + 0x41], 0x65
mov byte [esp + 0x42], 0x65
mov byte [esp + 0x43], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [edi]
cmp word [ebp + 6], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
jbe 0x40207b
add esi, 0x24
mov eax, dword [esi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov edi, eax
and ecx, 1
and edx, 1
shr edi, 0x1f
test eax, 0x2000000
je 0x401fb7
mov ecx, dword [esi - 0x14]
mov edx, dword [esi - 0x1c]
push 0x4000
push ecx
push edx
call dword [esp + 0x20]
jmp 0x40205b
test eax, 0x4000000
lea ecx, [edx + ecx*2]
lea edx, [edi + ecx*2]
mov edi, dword [edx*4 + 0x42d008]
je 0x401fd1
or edi, 0x200
mov ecx, dword [esi - 0x14]
test ecx, ecx
jne 0x401fea
test al, 0x40
je 0x401fe1
mov ecx, dword [ebp + 0x20]
jmp 0x401fe8
test al, al
jns 0x40205b
mov ecx, dword [ebp + 0x24]
test ecx, ecx
jbe 0x40205b
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x44], 0x56
mov byte [esp + 0x45], 0x69
mov byte [esp + 0x46], 0x72
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], 0x75
mov byte [esp + 0x49], 0x61
mov byte [esp + 0x4a], 0x6c
mov byte [esp + 0x4b], 0x50
mov byte [esp + 0x4c], 0x72
mov byte [esp + 0x4d], 0x6f
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], 0x65
mov byte [esp + 0x50], 0x63
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi - 0x14]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esi - 0x1c]
push edi
push ecx
push edx
call eax
mov ecx, dword [esp + 0x18]
mov ebp, dword [ecx]
mov eax, dword [esp + 0x10]
movzx edx, word [ebp + 6]
add eax, 1
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x401f83
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040f82a
add esp, 0x40
ret
Function at 0x402830
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
movzx eax, byte [esp + 8]
push edi
cdq
mov edi, 0x5ab
idiv edi
add dl, 0x3d
test esi, esi
jbe 0x402858
mov al, byte [ecx]
xor al, dl
add al, dl
mov byte [ecx], al
add ecx, 1
sub esi, 1
jne 0x402848
pop edi
pop esi
ret

Function at 0x402860
Capabilities:
Get file size
Read file on windows
Terminate process

Disassembly:
sub esp, 0x10
mov eax, dword [0x42bbe8]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 4
push 0x1000
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x400
mov eax, edi
mov ecx, ebx
call fcn.00402830
add esp, 4
call fcn.004022e0
push 0x8000
push 0
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
test ebp, ebp
je 0x402956
mov dl, byte [0x425c00]
mov ecx, dword [0x425bfc]
lea eax, [esp + 0x14]
mov byte [esp + 0x18], dl
mov dword [esp + 0x14], ecx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402910
sub eax, edx
push 0x18
lea ecx, [esp + 0x18]
call fcn.00402830
lea eax, [esp + 0x18]
push eax
mov eax, ebp
call fcn.00402580
add esp, 8
test eax, eax
je 0x40294f
sub esp, 0x2a8
mov edi, esp
mov ecx, 0xaa
mov esi, str.VYQWU___om
rep movsd dword es:[edi], dword [esi]
call eax
mov edi, ebp
call fcn.00402620
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4033b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4033c9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403404
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403400
lea ebx, [ebx]
cmp esi, eax
jae 0x403404
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4033f0
cmp esi, eax
jb 0x40340a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x408c12
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x408c4b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00403670
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00403220
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x40a7c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40a80b
call fcn.0040afb9
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40a80b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40a826
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040a37f
test ebx, ebx
mov esi, eax
je 0x40a824
test edi, edi
je 0x40a824
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40f82a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42bbe8]
jne 0x40f834
repz ret
jmp fcn.0041303a