joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66cb38
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x66cd3e
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x820
mov dword [esp + 8], edx
mov edi, dword [ecx + 0x44]
mov eax, dword [ecx + 0x54]
mov ebx, eax
shl eax, 0xa
mov dword [esp + 0x14], eax
add eax, edi
add eax, 0xfffffc00
lea edx, [esp + 0x18]
push 0x400
push eax
push edx
mov esi, ecx
call fcn.00786d70
add esp, 0xc
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x30]
mov dword [esp + 4], eax
cmp eax, 2
jb 0x66cc97
mov edx, ebx
shl edx, 0xb
mov esi, dword [esp + 4]
imul esi, ebx
shl esi, 0xa
add esi, edi
lea eax, [esp + 0x18]
cmp eax, esi
lea esi, [edi + edx - 0x400]
setb cl
lea eax, [esp + 0x418]
cmp esi, eax
setb ch
and ch, cl
shr ebx, 0x15
and ebx, 1
or bl, ch
mov dword [esp + 0x10], ebx
lea ecx, [edi + edx]
add ecx, 0xfffffc30
add edx, edi
add edx, 0xfffffc08
mov edi, 1
jmp 0x66cbf3
inc edi
mov eax, dword [esp + 0x14]
add ecx, eax
add edx, eax
cmp edi, dword [esp + 4]
je 0x66cc97
cmp byte [esp + 0x10], 0
je 0x66cc30
xor esi, esi
nop dword [eax]
mov eax, dword [edx + esi*8 - 8]
mov ebx, dword [edx + esi*8 - 4]
xor dword [esp + esi*8 + 0x18], eax
xor dword [esp + esi*8 + 0x1c], ebx
mov eax, dword [edx + esi*8]
mov ebx, dword [edx + esi*8 + 4]
xor dword [esp + esi*8 + 0x24], ebx
xor dword [esp + esi*8 + 0x20], eax
add esi, 2
cmp esi, 0x80
jne 0x66cc00
jmp 0x66cbe0
xor esi, esi
nop word cs:[eax + eax]
movups xmm0, xmmword [ecx + esi*8 - 0x30]
movups xmm1, xmmword [ecx + esi*8 - 0x20]
movups xmm2, xmmword [esp + esi*8 + 0x18]
xorps xmm2, xmm0
movups xmm0, xmmword [esp + esi*8 + 0x28]
xorps xmm0, xmm1
movups xmmword [esp + esi*8 + 0x18], xmm2
movups xmmword [esp + esi*8 + 0x28], xmm0
movups xmm0, xmmword [ecx + esi*8 - 0x10]
movups xmm1, xmmword [ecx + esi*8]
movups xmm2, xmmword [esp + esi*8 + 0x38]
xorps xmm2, xmm0
movups xmm0, xmmword [esp + esi*8 + 0x48]
xorps xmm0, xmm1
movups xmmword [esp + esi*8 + 0x38], xmm2
movups xmmword [esp + esi*8 + 0x48], xmm0
add esi, 8
cmp esi, 0x80
jne 0x66cc40
jmp 0x66cbe0
xor eax, eax
nop dword [eax]
mov ecx, dword [esp + eax*8 + 0x18]
mov edx, dword [esp + eax*8 + 0x1c]
mov dword [esp + eax*8 + 0x420], edx
mov dword [esp + eax*8 + 0x41c], ecx
inc eax
cmp eax, 0x80
jne 0x66cca0
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 0x5c]
lea esi, [esp + 0x41c]
mov edx, dword [esp + 8]
push 0x400
push esi
push dword [edi + 4]
call fcn.0066cd40
add esp, 0xc
push 0x400
lea eax, [esp + 0x1c]
push eax
call fcn.005e8480
add esp, 8
push 0x400
push esi
call fcn.005e8480
add esp, 8
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x4c]
shl ecx, 0xa
cmp dword [edi + 0x40], 0
je 0x66cd23
push 0x310
push 0x9c0958
push ecx
push eax
call fcn.005dc920
jmp 0x66cd34
push 0x313
push 0x9c0958
push ecx
push eax
call fcn.005db780
add esp, 0x10
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x6a20a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6a20e1
mov esi, dword [esp + 0x1c]
movzx ebx, byte [esi]
mov edi, ebx
and edi, 0xffffff80
test edx, edx
je 0x6a20c1
mov dword [edx], edi
mov dword [esp], edi
cmp eax, 1
jne 0x6a2118
mov eax, 1
test ecx, ecx
je 0x6a2110
movzx edx, byte [esi]
cmp byte [esp], 0
je 0x6a20dd
neg dl
mov byte [ecx], dl
jmp 0x6a2110
call fcn.005b5b10
push 0x9ccaa2
push 0xa0
push 0x9cca52
call fcn.005b5c10
add esp, 0xc
push 0
push 0xde
push 0xd
call fcn.005b5d00
add esp, 0xc
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
movzx edx, byte [esi]
test edx, edx
je 0x6a21bf
cmp edx, 0xff
jne 0x6a21fa
cmp eax, 9
jae 0x6a213d
xor edi, edi
mov edx, 1
jmp 0x6a21b0
lea ebp, [eax - 1]
mov dword [esp + 4], ebp
and ebp, 0xfffffff8
lea edx, [ebp + 1]
pxor xmm1, xmm1
xor edi, edi
pxor xmm2, xmm2
pxor xmm0, xmm0
nop dword [eax + eax]
movd xmm3, dword [esi + edi + 1]
movd xmm4, dword [esi + edi + 5]
punpcklbw xmm3, xmm1
punpcklwd xmm3, xmm1
por xmm2, xmm3
punpcklbw xmm4, xmm1
punpcklwd xmm4, xmm1
por xmm0, xmm4
add edi, 8
cmp ebp, edi
jne 0x6a2160
por xmm0, xmm2
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd edi, xmm0
cmp dword [esp + 4], ebp
je 0x6a21bb
nop dword [eax + eax]
movzx ebp, byte [esi + edx]
or edi, ebp
inc edx
cmp eax, edx
jne 0x6a21b0
test edi, edi
je 0x6a21fa
mov edi, eax
movzx edx, byte [esi + 1]
and dl, 0x80
cmp byte [esp], dl
mov eax, 0xffffffff
jne 0x6a21fe
call fcn.005b5b10
push 0x9ccaa2
push 0xc1
push 0x9cca52
call fcn.005b5c10
add esp, 0xc
push 0
push 0xdd
jmp 0x6a2104
mov edi, eax
xor eax, eax
add eax, edi
test ecx, ecx
je 0x6a2110
test eax, eax
je 0x6a210e
mov dh, bl
sar dh, 7
add esi, edi
add ecx, eax
shr ebx, 7
test al, 1
mov byte [esp], dh
jne 0x6a2230
mov edi, eax
cmp eax, 1
je 0x6a2110
jmp 0x6a224e
lea edi, [eax - 1]
mov dl, byte [esi - 1]
xor dl, dh
dec esi
movzx edx, dl
add ebx, edx
mov byte [ecx - 1], bl
dec ecx
shr ebx, 8
cmp eax, 1
je 0x6a2110
mov dword [esp + 4], eax
neg edi
xor ebp, ebp
movzx eax, byte [esp]
nop word [eax + eax]
movzx edx, byte [esi + ebp - 1]
xor dl, al
movzx edx, dl
add edx, ebx
mov byte [ecx + ebp - 1], dl
shr edx, 8
mov ah, byte [esi + ebp - 2]
xor ah, al
movzx ebx, ah
add ebx, edx
mov byte [ecx + ebp - 2], bl
shr ebx, 8
add ebp, 0xfffffffe
cmp edi, ebp
jne 0x6a2260
mov eax, dword [esp + 4]
jmp 0x6a2110
Function at 0x701230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa0
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [ecx]
xor eax, eax
cmp ecx, 1
sbb eax, eax
mov dword [esp], eax
mov eax, 1
test ebx, ebx
je 0x7013ae
mov edx, dword [ebx]
test edx, edx
je 0x7013ae
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x3c]
mov dword [esp + 8], eax
or dword [esp], ecx
nop word [eax + eax]
xorps xmm0, xmm0
movsd qword [esp + 0x70], xmm0
xorps xmm1, xmm1
movups xmmword [esp + 0x60], xmm1
movups xmmword [esp + 0x50], xmm1
movups xmmword [esp + 0x40], xmm1
movups xmmword [esp + 0x30], xmm1
movups xmmword [esp + 0x20], xmm1
movups xmmword [esp + 0x10], xmm1
lea eax, [esp + 0x88]
movsd qword [eax + 0x10], xmm0
movups xmmword [eax], xmm1
mov eax, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp]
mov dword [esp + 0x84], eax
mov dword [esp + 0x94], edx
lea ecx, [esp + 0x78]
mov edx, 0x9e25e0
push 0x56
call fcn.007015d0
add esp, 4
mov esi, eax
mov edi, fcn.007009b0
test eax, eax
je 0x701317
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x24]
test edi, edi
mov ecx, fcn.007009b0
cmove edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x10]
push eax
push esi
push 7
call edi
add esp, 0xc
mov ebp, eax
test eax, eax
jle 0x70135f
cmp dword [esp + 0x14], 0
je 0x70135f
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0xc]
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.005d0f80
add esp, 0x18
mov ebp, eax
test ebp, ebp
jle 0x701378
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x10]
push eax
push esi
push 8
call edi
add esp, 0xc
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x701393
push 0x2c9
push 0x9e246c
push eax
call fcn.005db5b0
add esp, 0xc
test ebp, ebp
jle 0x7013ac
mov edx, dword [ebx + 0x14]
add ebx, 0x14
test edx, edx
jne 0x701280
mov eax, 1
jmp 0x7013ae
xor eax, eax
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x70a440
Capabilities:
Encode data using base64

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov esi, dword [edx]
test esi, esi
je 0x70a51f
mov ebx, dword [esp + 0x28]
test byte [edx + 0x5c], 2
mov eax, 0x9e6eea
mov edi, esi
mov esi, 0x9e6ea9
cmove esi, eax
test edi, edi
jle 0x70a526
mov dword [esp + 4], esi
lea ebp, [edx + 9]
mov dword [esp], 4
mov esi, edi
nop dword [eax + eax]
movzx eax, byte [ebp - 1]
mov edi, eax
shl edi, 0x10
cmp esi, 2
mov dword [esp + 8], esi
jbe 0x70a535
movzx ebx, byte [ebp]
shl ebx, 8
movzx ecx, byte [ebp + 1]
mov dword [esp + 0xc], ecx
lea edx, [ebx + ecx]
or ebx, edi
shr eax, 2
mov esi, dword [esp + 4]
movzx eax, byte [esi + eax]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp]
mov byte [edi + ecx - 4], al
shr ebx, 0xc
and ebx, 0x3f
movzx eax, byte [esi + ebx]
mov byte [edi + ecx - 3], al
shr edx, 6
and edx, 0x3f
movzx eax, byte [esi + edx]
mov byte [edi + ecx - 2], al
mov eax, dword [esp + 0xc]
and eax, 0x3f
movzx eax, byte [esi + eax]
mov esi, dword [esp + 8]
mov byte [edi + ecx - 1], al
add ecx, 4
mov dword [esp], ecx
add ebp, 3
add esi, 0xfffffffd
jne 0x70a490
mov ebx, dword [esp + 0x28]
mov esi, dword [esp]
lea eax, [esi + ebx]
add eax, 0xfffffffc
add esi, 0xfffffffc
jmp 0x70a587
xor esi, esi
jmp 0x70a5a7
xor esi, esi
mov eax, ebx
mov byte [eax], 0
test byte [edx + 0x5c], 1
je 0x70a598
jmp 0x70a59d
jne 0x70a540
movzx eax, byte [ebp]
shl eax, 8
or edi, eax
mov eax, edi
shr eax, 0x12
mov edx, dword [esp + 4]
movzx eax, byte [edx + eax]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp]
mov byte [ebx + esi - 4], al
mov eax, edi
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [edx + eax]
mov byte [ebx + esi - 3], al
mov cl, 0x3d
cmp dword [esp + 8], 1
je 0x70a57b
shr edi, 6
and edi, 0x3f
movzx ecx, byte [edx + edi]
lea eax, [ebx + esi]
mov byte [ebx + esi - 2], cl
mov byte [ebx + esi - 1], 0x3d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov byte [eax], 0
test byte [edx + 0x5c], 1
jne 0x70a59d
mov byte [ebx + esi], 0xa
inc esi
mov byte [ebx + esi], 0
mov dword [edx], 0
mov dword [ecx], esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x739de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebx, dword [esp + 0x18]
xor esi, esi
test ebx, ebx
jle 0x739e00
nop
movzx eax, byte [ecx + esi]
cmp al, byte [edx + esi]
jne 0x739e00
inc esi
cmp ebx, esi
jne 0x739df0
mov esi, ebx
mov ebp, ebx
sar ebp, 0x1f
and ebp, ebx
lea eax, [ebp - 1]
mov dword [esp], eax
lea edi, [ebx - 1]
mov eax, ebx
lea ebx, [edi + 1]
test ebx, ebx
jle 0x739e2d
cmp byte [ecx + edi], 0
jne 0x739e3d
cmp byte [edx + edi], 0xff
lea edi, [edi - 1]
lea ebx, [eax - 1]
je 0x739e10
jmp 0x739e32
mov eax, ebp
mov ebx, dword [esp]
mov ebp, 0xffffffff
cmp esi, ebx
jge 0x739e4a
jmp 0x739eb5
mov eax, ebx
mov ebx, edi
mov ebp, 0xffffffff
cmp esi, ebx
jl 0x739eb5
cmp esi, eax
jge 0x739e78
movzx ecx, byte [ecx + esi]
movzx edx, byte [edx + esi]
mov ch, dl
xor ch, cl
movzx eax, ch
lea ebx, [eax - 1]
cmp ebx, 0x1e
ja 0x739e7f
mov edi, 7
jmp dword [ebx*4 + 0x9efd68]
shl esi, 3
mov ebp, esi
jmp 0x739eb5
cmp eax, 0x3f
je 0x739ea5
cmp eax, 0x7f
jne 0x739eb5
mov edi, 1
jmp 0x739eaa
mov edi, 2
not dl
or cl, dl
test ch, cl
jne 0x739eb5
lea ebp, [edi + esi*8]
mov eax, ebp
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x787c10
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x787c35
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x787c40
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x787c35
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x787c88
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x787c7e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x787c8a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x787c70
xor eax, eax
pop ebx
pop esi
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x215f049a
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x10730968
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437008]
jne 0x40100a
repz ret
jmp fcn.004017f7

Function at 0x4060fe
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004036e0
and dword [ebp - 4], 0
cmp dword [0x438dd0], 0
mov ebx, eax
jne 0x4061af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406260
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406260
push eax
call fcn.0040366e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x438dd0], eax
call esi
push eax
call fcn.0040366e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x438dd4], eax
call esi
push eax
call fcn.0040366e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x438dd8], eax
call esi
push eax
call fcn.0040366e
pop ecx
mov dword [0x438de0], eax
test eax, eax
je 0x4061af
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040366e
pop ecx
mov dword [0x438ddc], eax
mov eax, dword [0x438ddc]
cmp eax, ebx
je 0x406207
cmp dword [0x438de0], ebx
je 0x406207
push eax
call fcn.004036e9
push dword [0x438de0]
mov esi, eax
call fcn.004036e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406207
test edi, edi
je 0x406207
call esi
test eax, eax
je 0x4061fe
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061fe
test byte [ebp - 0xc], 1
jne 0x406207
or dword [ebp + 0x10], 0x200000
jmp 0x406240
mov eax, dword [0x438dd4]
cmp eax, ebx
je 0x406240
push eax
call fcn.004036e9
pop ecx
test eax, eax
je 0x406240
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406240
mov eax, dword [0x438dd8]
cmp eax, ebx
je 0x406240
push eax
call fcn.004036e9
pop ecx
test eax, eax
je 0x406240
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x438dd0]
call fcn.004036e9
pop ecx
test eax, eax
je 0x406260
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406262
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432d10
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x404
mov eax, dword [0x437008]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [0x2a739bc], 0x114e
mov eax, dword [esp + 0x408]
mov dword [0x2a73800], eax
jne 0x432d51
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00401000
add esp, 0x404
ret
Function at 0x432d80
Capabilities:
Get hostname

Disassembly:
sub esp, 0x818
mov eax, dword [0x437008]
xor eax, esp
mov dword [esp + 0x814], eax
mov eax, dword [esp + 0x81c]
push edi
xor edi, edi
cmp dword [esp + 0x824], edi
mov dword [esp + 0xc], eax
jle 0x432e70
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push esi
lea esp, [esp]
lea esi, [esp + 0x1c]
mov dword [esp + 0x14], 5
mov dword [esp + 0x1c], 0
call fcn.00432d70
mov eax, dword [esp + 0x1c]
add eax, 0x46
mov dword [esp + 0x14], eax
nop
sub dword [esp + 0x14], 0x46
mov ecx, dword [esp + 0x18]
movsx edx, byte [ecx + edi]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
xor dword [esp + 0x10], eax
mov esi, dword [esp + 0x830]
mov al, byte [esp + 0x10]
mov byte [ecx + edi], al
cmp esi, 0xf
jne 0x432e64
push 0
push 0
call ebp
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push str.razigo
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push 0
lea eax, [esp + 0x428]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push ebx
push str.gecucufemesixihor
push 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
inc edi
cmp edi, esi
jl 0x432dc0
pop esi
pop ebp
pop ebx
cmp dword [esp + 0x824], 0x2d
pop edi
jne 0x432e8f
mov dword [0x2a73af0], 0xa62e7790
mov dword [0x2a73af4], 0xffffffff
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.00401000
add esp, 0x818
ret

Function at 0x432eb0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x437008]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0x437ff0]
push esi
mov esi, dword [0x2a739bc]
push edi
mov edi, dword [0x2a73804]
push eax
call fcn.00432d10
add esp, 4
cmp dword [0x2a739bc], 0x2f
jne 0x432eef
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
push edi
call fcn.00432d80
add esp, 8
cmp dword [0x2a739bc], 0x568
pop edi
pop esi
jne 0x432f28
push 0
push 0
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea edx, [esp + 0x404]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401000
add esp, 0x804
ret
Function at 0x402730
Capabilities:
Check http status code
Create http request

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push 0
push 0
push 0
push 0
push str.EpsonOnlineHelp
mov esi, eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x402911
push 0
push 0x84600000
push 0
push 0
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x4028f7
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x20000013
push edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 4
call ebx
cmp eax, 1
jne 0x402888
mov eax, dword [esp + 0x14]
cmp eax, 0x12d
je 0x4027d2
cmp eax, 0x12e
je 0x4027d2
cmp eax, 0x12f
je 0x4027d2
cmp eax, 0x133
jne 0x4028d7
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0x21
push edi
mov dword [esp + 0x24], 0
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x4028d7
lea eax, [eax + eax + 2]
push eax
call fcn.00413018
mov esi, eax
add esp, 4
test esi, esi
je 0x4028d7
mov ecx, dword [esp + 0x10]
lea edx, [ecx + ecx + 2]
push edx
push 0
push esi
call fcn.00413b40
add esp, 0xc
push 0
lea eax, [esp + 0x14]
push eax
push esi
push 0x21
push edi
call ebx
cmp eax, 1
jne 0x40287d
mov eax, esi
call fcn.00402700
lea ecx, [eax + eax + 2]
push ecx
call fcn.00413018
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebp], edx
je 0x40287d
mov eax, esi
call fcn.00402700
lea eax, [eax + eax + 2]
push eax
push 0
push edx
call fcn.00413b40
add esp, 0xc
push esi
mov eax, esi
call fcn.00402700
mov ecx, dword [ebp]
add eax, 1
push eax
push ecx
call fcn.004130db
add esp, 0xc
push esi
call fcn.00412bd4
add esp, 4
jmp 0x4028d7
cmp dword [esp + 0x14], 0xc8
jne 0x4028ed
mov eax, esi
call fcn.00402700
lea edx, [eax + eax + 2]
push edx
call fcn.00413018
mov edx, eax
mov eax, esi
mov dword [ebp], edx
call fcn.00402700
lea eax, [eax + eax + 2]
push eax
push 0
push edx
call fcn.00413b40
add esp, 0x10
push esi
mov eax, esi
call fcn.00402700
mov ecx, dword [ebp]
add eax, 1
push eax
push ecx
call fcn.004130db
add esp, 0xc
cmp dword [ebp], 0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
jne 0x402908
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x4030c0
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 0x4030d9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403114
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403110
lea ebx, [ebx]
cmp esi, eax
jae 0x403114
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403100
cmp esi, eax
jb 0x40311a
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 0x403860
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x14
mov eax, dword [0x434d68]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push 8
lea eax, [esp + 8]
push eax
push 5
push ecx
or esi, 0xffffffff
mov word [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4038e3
cmp word [esp + 4], 0
je 0x4038e3
lea edx, [esp + 4]
push edx
call fcn.0041327d
mov ecx, dword [0x4360b4]
add esp, 4
xor edx, edx
test ecx, ecx
je 0x4038c2
mov edi, edi
cmp ecx, eax
je 0x4038c2
mov ecx, dword [edx*8 + 0x4360bc]
add edx, 1
test ecx, ecx
jne 0x4038b0
cmp dword [edx*8 + 0x4360b4], 0
je 0x4038e3
mov eax, dword [edx*8 + 0x4360b0]
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00412851
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00412851
add esp, 0x14
ret
Function at 0x40675f
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x434d68]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x4067fd
push 0x42b8ac
push 4
push eax
call fcn.004130db
push eax
call fcn.00402ef0
add esp, 0x10
push ebx
push edi
call fcn.00413afa
mov edi, dword [eax]
call fcn.00413afa
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00413aa0
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.00413afa
cmp dword [eax], ebx
je 0x406814
call fcn.00413afa
push dword [eax]
call fcn.0040663c
pop ecx
jmp 0x40681b
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4067ae
jmp 0x40688d
call fcn.00413afa
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x406889
cmp dword [ebp - 0x40], esi
jae 0x406889
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.00413b40
add esp, 0xc
push 0x42b60c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x40687b
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x40687b
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x40687b
push ebx
push ebx
push esi
jmp 0x406881
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x40688b
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.00412851
add ebp, 0x1f4
leave
ret