joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498cf3
Capabilities:
Read file on windows

Disassembly:
pushal
popal
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4e4f30]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
or ecx, ecx
je 0x498d36
cmp word [esi], dx
jne 0x498d36
or byte [edi + eax + 0x28], 4
jmp 0x498d3b
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
push esi
pop eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x498e8e
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x498e6e
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x498d7d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x498db3
cmp eax, edx
jae 0x498dbf
movzx eax, word [eax]
sub ecx, ecx
cmp ax, word [ebp - 0x14]
push eax
pop edx
push 0xa
sete cl
sub eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x498d55
jmp 0x498e8e
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x498e6a
cmp dword [ebp - 0x14], 0
je 0x498e6a
mov eax, dword [ebx*4 + 0x4e4f30]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x498e42
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x498e0b
mov word [esi], cx
jmp 0x498e3e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4e4f30]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4e4f30]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4e4f30]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
push eax
pop esi
jmp 0x498e8e
pop ebx
cmp word [ebp - 4], bx
jne 0x498e53
cmp esi, dword [ebp + 0xc]
jne 0x498e53
mov word [esi], bx
jmp 0x498e8b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040196a
add esp, 0x10
cmp word [ebp - 4], bx
je 0x498e8e
push 0xd
jmp 0x498e87
mov ecx, dword [ebx*4 + 0x4e4f30]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x498e85
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x498e8e
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x49dd31
Capabilities:
Enumerate files on windows

Disassembly:
pushal
popal
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e11d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49dd7c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call 0x49e1f3
test al, al
jne 0x49dd76
sub edx, 2
cmp edx, edi
jne 0x49dd5c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49dd9e
lea eax, [edi + 2]
cmp edx, eax
je 0x49dd9e
push ecx
sub ebx, ebx
push ebx
push ebx
push edi
call fcn.0049d92a
add esp, 0x10
jmp 0x49de98
push esi
lea ecx, [ebp - 0x255]
call 0x49e1f3
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49dde1
push dword [ebp - 0x25c]
jmp 0x49dd8e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x49de1e
cmp word [ebp - 0x226], 0
je 0x49de3f
cmp word [ebp - 0x226], ax
jne 0x49de1e
cmp word [ebp - 0x224], 0
je 0x49de3f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0049d92a
add esp, 0x10
mov dword [ebp - 0x264], eax
or eax, eax
jne 0x49de8b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x49ddf8
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x49de73
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub eax, eax
jmp 0x49de98
push 0x49d312
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004056dc
add esp, 0x10
jmp 0x49de68
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403102
leave
ret
Function at 0x4a3390
Capabilities:
Get geographical location

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
push ecx
mov ecx, dword [ebp + 8]
push esi
push edi
test ecx, ecx
je 0x4a3441
sub eax, eax
cmp word [ecx], ax
je 0x4a3441
mov esi, 0x4c57c4
push ecx
pop edx
mov di, word [edx]
cmp di, word [esi]
jne 0x4a33db
test di, di
je 0x4a33d7
mov di, word [edx + 2]
cmp di, word [esi + 2]
jne 0x4a33db
add edx, 4
add esi, 4
test di, di
jne 0x4a33b5
mov edx, eax
jmp 0x4a33e0
sbb edx, edx
or edx, 1
or edx, edx
je 0x4a3441
mov esi, 0x4c57e0
mov edx, ecx
mov di, word [edx]
cmp di, word [esi]
jne 0x4a340f
test di, di
je 0x4a3414
mov di, word [edx + 2]
cmp di, word [esi + 2]
jne 0x4a340f
add edx, 4
add esi, 4
test di, di
jne 0x4a33eb
jmp 0x4a3414
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4a3438
push 2
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push 0x2000000b
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or eax, eax
je 0x4a345c
mov eax, dword [ebp - 4]
jmp 0x4a346d
push ecx
call fcn.00405b46
pop ecx
jmp 0x4a346d
push 2
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push 0x20001004
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or eax, eax
jne 0x4a3460
sub eax, eax
jmp 0x4a346d
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4a346d
call dword [sym.imp.KERNEL32.dll_GetACP]
pop edi
pop esi
leave
ret

Function at 0x4a34d7
Capabilities:
Get geographical location

Disassembly:
pushal
popal
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040442b
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
push esi
pop ecx
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4a353f
cmp esi, dword [ebp - 4]
je 0x4a353a
cmp dword [ebp + 0xc], 0
je 0x4a353a
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4a351e
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004a2eff
pop ecx
cmp eax, esi
je 0x4a353f
xor eax, eax
inc eax
jmp 0x4a3541
sub eax, eax
pop edi
pop esi
leave
ret

Function at 0x432001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x404a50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4d61d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x28], 0x4f0053
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x28]
mov eax, 0x4db11c
mov dword [ebp - 0x24], 0x540046
mov dword [ebp - 0x20], 0x410057
mov edx, 0x12
mov dword [ebp - 0x1c], 0x450052
sub esi, eax
mov dword [ebp - 0x18], 0x4c005c
mov dword [ebp - 0x14], 0x640075
mov dword [ebp - 0x10], 0x730061
mov dword [ebp - 0xc], 0x690068
nop
lea ecx, [edx + 0x7fffffec]
test ecx, ecx
je 0x404ace
movzx ecx, word [esi + eax]
test cx, cx
je 0x404ace
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x404ab0
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x4db11c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret

Function at 0x404af0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4d61d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x28], 0x6f0043
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x28]
mov eax, 0x4db0f8
mov dword [ebp - 0x24], 0x70006d
mov dword [ebp - 0x20], 0x740075
mov edx, 0x12
mov dword [ebp - 0x1c], 0x720065
sub esi, eax
mov dword [ebp - 0x18], 0x5f005a
mov dword [ebp - 0x14], 0x4e0043
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
nop
lea ecx, [edx + 0x7fffffec]
test ecx, ecx
je 0x404b6e
movzx ecx, word [esi + eax]
test cx, cx
je 0x404b6e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x404b50
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x4db0f8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret
Function at 0x404b90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4d61d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x4dafe0
mov dword [ebp - 0xa0], 0x740068
lea esi, [ebp - 0xa0]
mov dword [ebp - 0x9c], 0x700074
push edi
mov dword [ebp - 0x98], 0x3a0073
mov edx, 0x4f
mov dword [ebp - 0x94], 0x2f002f
sub esi, eax
mov dword [ebp - 0x90], 0x73006f
mov dword [ebp - 0x8c], 0x2d0073
mov dword [ebp - 0x88], 0x6e0063
mov dword [ebp - 0x84], 0x71002d
mov dword [ebp - 0x80], 0x6e0069
mov dword [ebp - 0x7c], 0x640067
mov dword [ebp - 0x78], 0x6f0061
mov dword [ebp - 0x74], 0x61002e
mov dword [ebp - 0x70], 0x69006c
mov dword [ebp - 0x6c], 0x750079
mov dword [ebp - 0x68], 0x63006e
mov dword [ebp - 0x64], 0x2e0073
mov dword [ebp - 0x60], 0x6f0063
mov dword [ebp - 0x5c], 0x2f006d
mov dword [ebp - 0x58], 0x64006c
mov dword [ebp - 0x54], 0x2d0073
mov dword [ebp - 0x50], 0x690066
mov dword [ebp - 0x4c], 0x65006c
mov dword [ebp - 0x48], 0x70002f
mov dword [ebp - 0x44], 0x2f0063
mov dword [ebp - 0x40], 0x6e0069
mov dword [ebp - 0x3c], 0x740073
mov dword [ebp - 0x38], 0x6c0061
mov dword [ebp - 0x34], 0x65006c
mov dword [ebp - 0x30], 0x2f0072
mov dword [ebp - 0x2c], 0x650072
mov dword [ebp - 0x28], 0x6f0073
mov dword [ebp - 0x24], 0x720075
mov dword [ebp - 0x20], 0x650063
mov dword [ebp - 0x1c], 0x6c002f
mov dword [ebp - 0x18], 0x640075
mov dword [ebp - 0x14], 0x730061
mov dword [ebp - 0x10], 0x690068
mov dword [ebp - 0xc], 0x37002e
mov dword [ebp - 8], 0x7a
lea ecx, [edx + 0x7fffffaf]
test ecx, ecx
je 0x404cff
movzx ecx, word [esi + eax]
test cx, cx
je 0x404cff
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x404ce1
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x4dafe0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret

Function at 0x404d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4d61d4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x650053
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x4db140
mov dword [ebp - 0x18], 0x750074
mov dword [ebp - 0x14], 0x200070
mov edx, 0xc
mov dword [ebp - 0x10], str.EUE
sub esi, eax
mov dword [ebp - 0xc], 0x680074
nop dword [eax]
lea ecx, [edx + 0x7ffffff2]
test ecx, ecx
je 0x404d9e
movzx ecx, word [esi + eax]
test cx, cx
je 0x404d9e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x404d80
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x4db140
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret
Function at 0x404dc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4d61d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x4db158
mov dword [ebp - 0x48], 0x680043
lea esi, [ebp - 0x48]
mov dword [ebp - 0x44], 0x630065
push edi
mov dword [ebp - 0x40], 0x4e006b
mov edx, 0x23
mov dword [ebp - 0x3c], 0x770065
sub esi, eax
mov dword [ebp - 0x38], 0x730055
mov dword [ebp - 0x34], 0x720065
mov dword [ebp - 0x30], 0x20003a
mov dword [ebp - 0x2c], 0x6f006c
mov dword [ebp - 0x28], 0x610063
mov dword [ebp - 0x24], 0x20006c
mov dword [ebp - 0x20], 0x6e0069
mov dword [ebp - 0x1c], 0x740073
mov dword [ebp - 0x18], 0x6c0061
mov dword [ebp - 0x14], 0x20006c
mov dword [ebp - 0x10], 0x610070
mov dword [ebp - 0xc], 0x680074
mov dword [ebp - 8], 0x3d
nop dword [eax]
lea ecx, [edx + 0x7fffffdb]
test ecx, ecx
je 0x404e7e
movzx ecx, word [esi + eax]
test cx, cx
je 0x404e7e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x404e60
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x4db158
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret
Function at 0x406670
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49dc29
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d61d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
xor eax, eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x4a9998
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004077e0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00406780
mov byte [ebp - 4], 2
mov ecx, eax
push 4
push 0x4a9c70
call fcn.00407570
push eax
mov ecx, edi
call fcn.00403590
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00404220
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404220
push edi
call fcn.00431ea0
add esp, 4
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x406742
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40675a
push eax
push 0x4a9998
mov ecx, edi
call fcn.004077e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret 8
Function at 0x406780
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49dcb5
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x4d61d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x840]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x860], esi
push eax
mov dword [ebp - 0x85c], 0
call fcn.00403590
mov dword [ebp - 4], 1
lea eax, [ebp - 0x810]
push 0x800
push 0
push eax
call fcn.004693b0
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.004263e0
add esp, 0x14
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x406837
push eax
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x4a9998
mov word [esi], ax
call fcn.004077e0
mov dword [ebp - 0x85c], 1
jmp 0x4069cb
cmp dword [ebp - 0x830], 0
jne 0x406913
mov byte [ebp - 4], 2
xor eax, eax
mov edx, dword [0x4db0f4]
mov ecx, edx
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
lea edi, [ecx + 2]
mov word [ebp - 0x828], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406884
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call fcn.004077e0
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x85c], 2
call fcn.00407110
movups xmm0, xmmword [ebp - 0x828]
xor eax, eax
mov word [ebp - 0x828], ax
mov eax, 2
movups xmmword [ebp - 0x840], xmm0
movq xmm0, qword [ebp - 0x818]
mov dword [ebp - 0x85c], eax
and eax, 0xfffffffd
movq qword [ebp - 0x830], xmm0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x85c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00404220
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x828]
push eax
call fcn.004301f0
add esp, 8
mov byte [ebp - 4], 3
mov ecx, eax
push 4
push str..dat
call fcn.00407570
push eax
lea ecx, [ebp - 0x858]
call fcn.00403590
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x828]
call fcn.00404220
cmp dword [ebp - 0x844], 8
lea eax, [ebp - 0x858]
cmovae eax, dword [ebp - 0x858]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x810]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406994
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004077e0
mov dword [ebp - 0x85c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x858]
call fcn.00404220
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.00404220
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret 8
Function at 0x406f20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d350
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4d61d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406f65
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406f53
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x406fa2
nop dword [eax]
cmp esi, edx
jae 0x406f53
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x406f90
cmp esi, edx
jae 0x406f53
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4095f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x4d61d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x4db1b8
mov dword [ebp - 0x7c], 0x44004c
lea esi, [ebp - 0x7c]
mov dword [ebp - 0x78], 0x490053
push edi
mov dword [ebp - 0x74], 0x73006e
mov edx, 0x3d
mov dword [ebp - 0x70], 0x610074
sub esi, eax
mov dword [ebp - 0x6c], 0x6c006c
mov dword [ebp - 0x68], 0x720065
mov dword [ebp - 0x64], 0x61004d
mov dword [ebp - 0x60], 0x6e0069
mov dword [ebp - 0x5c], 0x690057
mov dword [ebp - 0x58], 0x64006e
mov dword [ebp - 0x54], 0x77006f
mov dword [ebp - 0x50], 0x45005f
mov dword [ebp - 0x4c], 0x410039
mov dword [ebp - 0x48], 0x350032
mov dword [ebp - 0x44], 0x340035
mov dword [ebp - 0x40], 0x2d0042
mov dword [ebp - 0x3c], 0x450044
mov dword [ebp - 0x38], 0x460043
mov dword [ebp - 0x34], 0x34002d
mov dword [ebp - 0x30], 0x320044
mov dword [ebp - 0x2c], 0x2d0036
mov dword [ebp - 0x28], 0x350039
mov dword [ebp - 0x24], 0x380036
mov dword [ebp - 0x20], 0x39002d
mov dword [ebp - 0x1c], 0x350037
mov dword [ebp - 0x18], 0x430043
mov dword [ebp - 0x14], 0x390036
mov dword [ebp - 0x10], 0x320045
mov dword [ebp - 0xc], 0x350041
mov dword [ebp - 8], 0x42
lea ecx, [edx + 0x7fffffc1]
test ecx, ecx
je 0x409702
movzx ecx, word [esi + eax]
test cx, cx
je 0x409702
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4096e4
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x4db1b8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret
Function at 0x409730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4d61d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x4db238
mov dword [ebp - 0x68], 0x64006c
lea esi, [ebp - 0x68]
mov dword [ebp - 0x64], 0x690073
push edi
mov dword [ebp - 0x60], 0x73006e
mov edx, 0x33
mov dword [ebp - 0x5c], 0x610074
sub esi, eax
mov dword [ebp - 0x58], 0x6c006c
mov dword [ebp - 0x54], 0x720065
mov dword [ebp - 0x50], 0x44003a
mov dword [ebp - 0x4c], 0x390038
mov dword [ebp - 0x48], 0x340036
mov dword [ebp - 0x44], 0x460035
mov dword [ebp - 0x40], 0x2d0043
mov dword [ebp - 0x3c], 0x390043
mov dword [ebp - 0x38], 0x300030
mov dword [ebp - 0x34], 0x34002d
mov dword [ebp - 0x30], 0x440031
mov dword [ebp - 0x2c], 0x2d0041
mov dword [ebp - 0x28], 0x450042
mov dword [ebp - 0x24], 0x410039
mov dword [ebp - 0x20], 0x46002d
mov dword [ebp - 0x1c], 0x320044
mov dword [ebp - 0x18], 0x440033
mov dword [ebp - 0x14], 0x390032
mov dword [ebp - 0x10], 0x330035
mov dword [ebp - 0xc], 0x410041
mov dword [ebp - 8], 0x36
lea ecx, [edx + 0x7fffffcb]
test ecx, ecx
je 0x40981f
movzx ecx, word [esi + eax]
test cx, cx
je 0x40981f
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x409801
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x4db238
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a373
mov esp, ebp
pop ebp
ret
Function at 0x40c680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e5a4
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4d61d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 0x20], eax
mov dword [ebp - 4], 4
mov dword [edi + 0x24], vtable.ILayerWindow.0
mov dword [edi], vtable.CLayerWindowBase_class_MainWindow__class_ATL::CWinTraits__2046689280__0__.0
mov dword [edi + 0x24], vtable.CLayerWindowBase_class_MainWindow__class_ATL::CWinTraits__2046689280__0__.1.0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [ebp - 4], 5
mov dword [edi + 0x34], 0
mov byte [ebp - 4], 6
lea esi, [edi + 0x48]
mov dword [edi + 0x38], 1
mov ecx, esi
mov dword [edi + 0x3c], 0xff
mov dword [edi + 0x40], 1
mov dword [edi + 0x44], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00410120
mov dword [esi], eax
mov byte [ebp - 4], 9
lea esi, [edi + 0x54]
mov dword [edi + 0x50], 0
mov dword [ebp - 0x14], esi
call fcn.00406390
mov ecx, eax
test ecx, ecx
je 0x40c7ec
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xb
push 0xa4
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 1
mov dword [edi + 0x6c], 0
call fcn.00439df9
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x40c7c9
mov ecx, eax
call fcn.0043db50
jmp 0x40c7cb
xor eax, eax
mov byte [ebp - 4], 0xb
mov dword [edi + 0x44], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405790
int3