joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51d6c0
Capabilities:
Encode data using base64
Terminate process

Disassembly:
sub esp, 0x118
mov ecx, 0x3f
mov eax, 0x80808080
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x41
mov cl, al
sub cl, 0x41
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x5a
jle 0x51d6e2
mov eax, 0x61
mov dl, al
sub dl, 0x47
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0x7a
jle 0x51d6f6
mov eax, 0x30
mov cl, al
add cl, 4
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x39
jle 0x51d70a
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x53], 0x3e
mov byte [esp + 0x57], 0x3f
mov byte [esp + 0x65], 0
mov dword [esp + 0x18], ebp
je 0x51d89d
mov ebx, dword [esp + 0x130]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x12c]
xor eax, eax
lea esi, [edx + ecx]
movsx ecx, byte [esi + eax]
mov dl, byte [esp + ecx + 0x28]
test dl, 0x80
jne 0x51d86e
mov byte [esp + eax + 0x20], cl
mov byte [esp + eax + 0x1c], dl
inc eax
cmp eax, 4
jl 0x51d76c
mov esi, dword [esp + 0x138]
mov edx, dword [esp + 0x10]
cmp edx, dword [esi]
jle 0x51d7d6
mov eax, dword [esp + 0x14]
push eax
call fcn.00539157
mov ecx, dword [esi]
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
mov dword [esp + 0x2c], eax
rep movsb byte es:[edi], byte [esi]
call fcn.0053906e
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
add esp, 8
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov dl, ch
mov al, cl
sar dl, 4
shl al, 2
or dl, al
mov eax, dword [esp + 0x14]
mov byte [ebx + ebp], dl
inc ebp
inc eax
mov cl, ch
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x1e]
mov dl, al
inc edi
sar dl, 2
shl cl, 4
or dl, cl
mov ecx, dword [esp + 0x14]
shl al, 6
or al, byte [esp + 0x1f]
mov byte [ebx + ebp], dl
inc ebp
mov edx, edi
inc ecx
inc edx
mov byte [ebx + ebp], al
mov al, byte [esp + 0x22]
inc ebp
inc ecx
inc edx
mov dword [esp + 0x10], edi
cmp al, 0x3d
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
je 0x51d883
mov cl, byte [esp + 0x23]
xor eax, eax
cmp cl, 0x3d
setne al
add eax, 2
cmp eax, 3
jl 0x51d883
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], edx
cmp edx, ecx
jae 0x51d8a4
jmp 0x51d75c
push ecx
push str.Illegal_character__c_in_input._n
call fcn.0053af0d
add esp, 8
push 1
call fcn.0053b386
mov eax, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [eax], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
mov ebx, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [ecx], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
Function at 0x51f170
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x1089acc]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x51f183
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x51f1c4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x1089b74]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x51f1f6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x51f1fa
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x51f1eb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x51f218
mov bl, byte [esp + ecx + 0x4c]
jmp 0x51f21c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x51f20d
xor ecx, ecx
mov eax, 0x1089adc
xor ebx, ebx
mov bl, byte [ecx + 0x1089b84]
cmp byte [esp + ebx + 0x14], 0
je 0x51f247
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x1089b9c]
cmp byte [esp + ebx + 0x14], 0
je 0x51f25e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x51f22e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x51f1b7
lea edx, [esp + 0x84]
push edx
call fcn.0051f2a0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x523690
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x10decbc]
xor edx, edx
cmp eax, edx
jne 0x5236b6
xor eax, eax
mov byte [eax + 0x10debbc], al
inc eax
cmp eax, 0x100
jl 0x52369e
mov dword [0x10decbc], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x10debbc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x523747
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x52371a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x5236e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x523750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5237a3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x52378a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x52a150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55b59e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0052aa70
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1060c1c
call fcn.00549fda
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x52a1e3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00549fda
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x52a1dc
push 0
mov ecx, eax
call fcn.005212c0
mov dword [esi + 0xc], eax
jmp 0x52a1e5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x52a1e5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x54c6a4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x54c6dc
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.0054a6f4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0054a6cc
jmp 0x54c6e8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x54dd95
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 0x54ddd7
call fcn.00553bab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x54ddd7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x54ddce
xor eax, eax
jmp 0x54dddf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0054dde5
pop edi
pop esi
pop ebx
ret 4

Function at 0x5540db
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 0x554109
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x554127
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00554041
jmp 0x554127
mov eax, dword [esi + 0x14]
test eax, eax
je 0x554127
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00554041
test edi, edi
mov eax, edi
jne 0x554111
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..reloc
mov ebx, 0x40c7d0
nop
mov ecx, 0xa2a6d67
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x42f314
nop
mov ecx, 0x7510741a
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100080c7
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100080c7
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100080c7
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100080c7
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100080c7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100080c7
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100080c7
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100080c7
push 0xd008
push edi
call fcn.100080c7
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100080c7
int3

Function at 0x100080c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x100080d6
pop dword [ebp - 0x30]
mov eax, 0x14ab0d72
add eax, 0xfb557364
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x36e36
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x95d64168
sub ecx, 0x95d601dd
mov edi, eax
mov ebx, 0x7cec9237
sub ebx, 0x6ceb0c37
add ebx, dword [ebp - 0x30]
mov esi, 0x42e7ae7
sub dword [ebp - 0x2c], 0xde236449
mov edx, dword [ebx]
sub dword [ebp - 0x1c], 0xc5962f25
sub edx, esi
xor dword [ebp - 0xc], edx
mov dword [edi], edx
xor dword [ebp - 0x18], 0xc375eb4a
add edi, 0x68a760
add edi, 0xff9758a4
add ebx, 0x7a5fcaf8
add ebx, 0x85a0350c
loop 0x1000812a
add eax, 0xf12bb799
sub eax, 0xf12ac69a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xbed59c5
sub ecx, 0xfbed59c5
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x401db0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d28d
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x5cbe80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf8], ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x401e05
push 0
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00401fb0
call fcn.00402100
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0xff
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0xf8]
call fcn.0040a0fb
push 0
call fcn.0040c1de
add esp, 4
push 0xc
call fcn.00402a90
mov dword [ebp - 0xf4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xf4], 0
je 0x401e79
push 0xc
mov ecx, dword [ebp - 0xf4]
call fcn.00403730
mov ecx, dword [ebp - 0xf4]
call fcn.00417e33
mov dword [ebp - 0x108], eax
jmp 0x401e83
mov dword [ebp - 0x108], 0
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x10c], eax
push 0x57fa74
call fcn.004171f4
push 0x57dd5c
mov ecx, dword [ebp - 0xf8]
call fcn.0040b107
push 0xd8
lea ecx, [ebp - 0xf0]
call fcn.00403730
push 0
lea ecx, [ebp - 0xf0]
call fcn.00403a60
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xf8]
lea edx, [ebp - 0xf0]
mov dword [ecx + 0x20], edx
lea ecx, [ebp - 0xf0]
call fcn.00408348
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0x10c], 0
je 0x401f45
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x401f3b
push 1
mov ecx, dword [ebp - 0x100]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x100]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x114], eax
jmp 0x401f45
mov dword [ebp - 0x114], 0
call fcn.0040d7e8
mov dword [ebp - 0x118], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00402a60
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054cada
mov esp, ebp
pop ebp
ret
Function at 0x401fb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x5cbe80]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x18], 0x47
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x4d
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x75
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x46
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x4e
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 9], 0x6d
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x41
mov byte [ebp - 6], 0
mov byte [ebp - 0x2c], 0x53
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x46
mov byte [ebp - 0x28], 0x69
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x41
mov byte [ebp - 0x24], 0x74
mov byte [ebp - 0x23], 0x74
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x62
mov byte [ebp - 0x1f], 0x75
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x73
mov byte [ebp - 0x1b], 0x41
mov byte [ebp - 0x1a], 0
push 0x57dd10
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x4020e9
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x138], eax
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x138], 0
je 0x4020dc
cmp dword [ebp - 0x13c], 0
je 0x4020dc
push 0x104
lea ecx, [ebp - 0x130]
push ecx
push 0
call dword [ebp - 0x138]
test eax, eax
je 0x4020dc
push 2
lea edx, [ebp - 0x130]
push edx
call dword [ebp - 0x13c]
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054cada
mov esp, ebp
pop ebp
ret
Function at 0x403680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4036a4
xor eax, eax
jmp 0x403724
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4036bb
xor eax, eax
jmp 0x403724
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x403707
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x403707
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x4036de
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x403713
xor eax, eax
jmp 0x403724
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x403721
xor eax, eax
jmp 0x403724
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x407f1b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x407f63
call fcn.0041b1af
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x407f63
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x407f70
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x407fac
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x407f8f
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x407f98
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x407faa
test di, di
jne 0x407faa
test dx, dx
je 0x407fac
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407fb1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x84], edi
test edi, 0xffff0000
jne 0x407fdc
cmp dword [esi + 0x80], 0
jne 0x407fdc
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.0041b1af
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40800c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40800c
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.00408273
jmp 0x40800e
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x408015
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.0041b1af
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x408055
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x408055
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0040805d
jmp 0x408057
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x408348
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x56d762
call fcn.0054ceb4
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
call fcn.0041b1af
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x4083a7
call fcn.0041b1af
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4083bb
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x4083b7
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x4083c3
or eax, 0xffffffff
jmp 0x408515
mov ecx, edi
call fcn.00408958
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.0041c080
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x40844f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x40844f
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40844f
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.00407e85
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x40844c
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x57d9f0]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x40844c
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.004229db
test eax, eax
je 0x40844c
push 0
mov ecx, esi
call fcn.004222f9
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.0041bd4d
push ebx
call fcn.0041d442
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.004082eb
test eax, eax
jne 0x408498
cmp dword [edi + 0x9c], eax
jne 0x408498
call fcn.0041b1af
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.0041d442
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.004082eb
and dword [edi + 0x9c], 0
jmp 0x4084c3
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x4084d7
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.004222f9
test esi, esi
je 0x4084e4
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x4084fa
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x4084fa
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x57d9f0]
mov ecx, edi
call esi
mov ecx, edi
call fcn.0040890c
mov eax, dword [edi + 0x68]
call fcn.0054ce19
ret