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

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x100b40d0
pop edi
pop ebx
ret

Function at 0x100b4100
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, pe_nt_image_headers32
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x100b4110
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100b43b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
movzx eax, word [ebx]
mov ecx, eax
shr ecx, 4
mov edx, dword [esi + ecx*4]
movzx ecx, word [ebx + 2]
mov dword [esp], edx
mov edx, ecx
xor eax, 0x7f0
xor ecx, 0x7f0
shr edx, 4
mov edx, dword [esi + edx*4]
shr eax, 4
mov eax, dword [esi + eax*4]
shr ecx, 4
mov ecx, dword [esi + ecx*4]
add edx, eax
add ecx, eax
push ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
xor edx, edx
push edi
cmp edx, dword [esp + 0x1c]
jae 0x100b4521
mov eax, edx
or eax, 8
xor edi, edi
cmp eax, 1
je 0x100b443a
lea ebx, [ebx]
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 4]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x100b4410
add edi, dword [esp + 8]
mov ecx, dword [esp + 0x20]
mov dword [ecx + edx*4], edi
inc edx
cmp edx, 8
jb 0x100b43f4
cmp edx, 0x10
jae 0x100b44bb
lea eax, [edx - 8]
mov dword [esp + 8], eax
jmp 0x100b4460
cmp edx, dword [esp + 0x1c]
jae 0x100b4521
or eax, 8
xor edi, edi
cmp eax, 1
je 0x100b44a1
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 0x104]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x100b4474
add edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 8], eax
cmp edx, 0x10
jb 0x100b4460
cmp edx, dword [esp + 0x1c]
jae 0x100b4521
lea eax, [edx - 0x10]
mov dword [esp + 0x18], eax
jmp 0x100b44d0
or eax, 0x100
xor edi, edi
cmp eax, 1
je 0x100b4506
lea esp, [esp]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebx + ecx*2 + 0x204]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x100b44e0
add edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 0x18], eax
cmp edx, dword [esp + 0x1c]
jb 0x100b44d0
pop edi
pop ebp
add esp, 0xc
ret 0xc
Function at 0x100b5f50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
lea eax, [edi + 0x325c8]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x100b5f70
xor edx, edx
lea ecx, [edx + 1]
mov dword [esp + 0xc], 4
lea ecx, [ecx]
movzx ebx, word [edi + ecx*2 + 0x32c4c]
mov eax, esi
and eax, 1
mov ebp, eax
neg ebp
sar ebp, 4
shr ebx, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [edi + ebx*4 + 0x30f34]
add ecx, ecx
shr esi, 1
or ecx, eax
dec dword [esp + 0xc]
jne 0x100b5f80
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc esi
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
cmp esi, 0x10
jb 0x100b5f70
pop esi
pop ebp
mov dword [edi + 0x84], 0
pop ebx
add esp, 0xc
ret
Function at 0x100b5fe0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
mov eax, 4
push edi
mov dword [esp + 0x18], eax
movzx ebp, byte [edx + eax + 0x30734]
mov ecx, ebp
mov esi, ebp
and esi, 1
shr ecx, 1
dec ecx
or esi, 2
shl esi, cl
mov edi, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], 0
sub edi, esi
mov ebx, 1
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x100b6071
jmp 0x100b6034
mov ebp, dword [esp + 0x1c]
mov ecx, ebx
sub ecx, ebp
mov eax, edi
and eax, 1
add ecx, esi
movzx ecx, word [edx + ecx*2 + 0x32b66]
mov ebp, eax
neg ebp
sar ebp, 4
shr ecx, 4
and ebp, 0x7f
xor ecx, ebp
mov ecx, dword [edx + ecx*4 + 0x30f34]
add dword [esp + 0x10], ecx
add ebx, ebx
shr edi, 1
or ebx, eax
dec dword [esp + 0x14]
jne 0x100b6030
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x20], ecx
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x80
jb 0x100b5ff3
lea eax, [edx + 0x32968]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
sub eax, edx
lea ebp, [edx + 0x31dd0]
sub eax, 0x31dc8
lea edi, [edx + 0x319c8]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 4
lea ebx, [ebx]
xor ebx, ebx
cmp dword [edx + 0x88], ebx
jbe 0x100b611b
lea ebx, [ebx]
mov eax, ebx
or eax, 0x40
xor esi, esi
cmp eax, 1
je 0x100b610f
lea esp, [esp]
mov ebp, dword [esp + 0x10]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebp + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add esi, dword [edx + ebp*4 + 0x30f34]
mov eax, ecx
cmp eax, 1
jne 0x100b60e0
mov ebp, dword [esp + 0x18]
mov dword [edi + ebx*4], esi
inc ebx
cmp ebx, dword [edx + 0x88]
jb 0x100b60d0
mov eax, 0xe
cmp dword [edx + 0x88], eax
jbe 0x100b613e
mov ecx, eax
shr ecx, 1
sub ecx, 5
shl ecx, 4
add dword [edi + eax*4], ecx
inc eax
cmp eax, dword [edx + 0x88]
jb 0x100b6128
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov ecx, dword [edi + 4]
mov dword [ebp - 4], ecx
mov eax, dword [edi + 8]
mov dword [ebp], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp + 4], ecx
mov eax, 4
lea ecx, [ebp + 8]
lea ecx, [ecx]
movzx esi, byte [edx + eax + 0x30734]
mov esi, dword [edi + esi*4]
mov ebx, dword [esp + 0x14]
add esi, dword [ebx + ecx]
inc eax
mov dword [ecx], esi
add ecx, 4
cmp eax, 0x80
jb 0x100b6160
sub dword [esp + 0x10], 0xffffff80
sub dword [esp + 0x14], 0x200
add ebp, 0x200
add edi, 0x100
dec dword [esp + 0x1c]
mov dword [esp + 0x18], ebp
jne 0x100b60c0
pop edi
pop esi
pop ebp
mov dword [edx + 0x80], 0
pop ebx
add esp, 0x210
ret

Function at 0x100bb480
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
ret
Function at 0x100bc3f0
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x18]
and edi, 0x3f
mov eax, edi
mov ebx, edx
and eax, 3
xor ebp, ebp
shr edi, 2
xor edx, edx
cmp eax, ebp
je 0x100bc412
mov edx, dword [esi + edi*4 + 0x20]
lea ecx, [eax*8]
mov eax, SysReAllocStringLen
shr eax, cl
inc edi
or eax, edx
mov dword [esi + edi*4 + 0x1c], eax
cmp edi, 0xe
je 0x100bc44a
lea esp, [esp]
and edi, 0xf
jne 0x100bc440
push esi
lea edx, [esi + 0x20]
mov ecx, esi
call fcn.100bb4b0
mov dword [esi + edi*4 + 0x20], ebp
inc edi
cmp edi, 0xe
jne 0x100bc430
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
mov dword [esi + 0x58], ecx
push esi
lea edx, [esi + 0x20]
mov ecx, esi
mov dword [esi + 0x5c], eax
call fcn.100bb4b0
xor eax, eax
lea ecx, [ecx]
mov ecx, dword [esi + eax*4]
bswap ecx
mov dword [ebx], ecx
inc eax
add ebx, 4
cmp eax, 5
jb 0x100bc470
pop edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
pop ebx
ret

Function at 0x100bc550
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x18]
and edi, 0xf
mov dword [esi + edi*4 + 0x20], SysReAllocStringLen
inc edi
xor ebx, ebx
mov ebp, edx
cmp edi, 0xe
je 0x100bc58a
mov edi, edi
and edi, 0xf
jne 0x100bc580
push esi
lea edx, [esi + 0x20]
mov ecx, esi
call fcn.100bb4b0
mov dword [esi + edi*4 + 0x20], ebx
inc edi
cmp edi, 0xe
jne 0x100bc570
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
shld ecx, eax, 5
shl eax, 5
mov dword [esi + 0x58], ecx
push ebp
lea edx, [esi + 0x20]
mov ecx, esi
mov dword [esi + 0x5c], eax
call fcn.100bb4b0
pop edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
pop ebx
ret

Function at 0x100bc5e0
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
ret
Function at 0x100bd1b0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x28], 0x80
inc edi
xor ebx, ebx
mov ebp, edx
cmp edi, 0x38
je 0x100bd1e5
jmp 0x100bd1d0
and edi, 0x3f
jne 0x100bd1db
push esi
call fcn.100bc620
mov byte [esi + edi + 0x28], bl
inc edi
cmp edi, 0x38
jne 0x100bd1d0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
push esi
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
call fcn.100bc620
xor eax, eax
mov ecx, dword [esi + eax*4 + 4]
mov edx, dword [esi + eax*4]
bswap edx
bswap ecx
mov dword [ebp], edx
mov dword [ebp + 4], ecx
add eax, 2
add ebp, 8
cmp eax, 8
jb 0x100bd207
pop edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret

Function at 0x100bd370
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x100bd398
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100bd3a7
mov eax, 1
ret 4

Function at 0x100bd600
Capabilities:
Hash data using sha256

Disassembly:
mov eax, edx
mov dword [ecx], eax
dec eax
je 0x100bd623
sub eax, 3
je 0x100bd619
sub eax, 6
jne 0x100bd62a
add ecx, 0x10
jmp fcn.100bc5e0
or eax, 0xffffffff
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret
mov dword [ecx + 4], 0xffffffff
ret
Function at 0x100bfba0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
lea ebp, [ebx + 0x1c]
shr ebx, 2
mov eax, ebx
shr eax, 1
push esi
add eax, 3
xor esi, esi
mov dword [esp + 0xc], ebp
mov dword [ecx], eax
test ebx, ebx
je 0x100bfbcf
mov eax, dword [edx]
mov dword [ecx + esi*4 + 0x10], eax
inc esi
add edx, 4
cmp esi, ebx
jb 0x100bfbc1
cmp esi, ebp
jae 0x100bfcc0
mov edx, esi
sub edx, ebx
lea eax, [ecx + edx*4 + 0x10]
mov dword [esp + 0x14], eax
push edi
xor edx, edx
mov eax, esi
div ebx
mov edi, dword [ecx + esi*4 + 0xc]
test edx, edx
jne 0x100bfc4d
movzx eax, byte [eax + 0x100d5f28]
mov edx, edi
and edx, 0xff
movzx edx, byte [edx + str.cw]
mov ebp, edi
shr ebp, 0x18
movzx ebp, byte [ebp + str.cw]
shl edx, 8
or edx, ebp
mov ebp, edi
shr ebp, 0x10
shr edi, 8
and ebp, 0xff
movzx ebp, byte [ebp + str.cw]
and edi, 0xff
movzx edi, byte [edi + str.cw]
shl edx, 8
or edx, ebp
mov ebp, dword [esp + 0x10]
shl edx, 8
xor edi, eax
or edi, edx
jmp 0x100bfca3
cmp ebx, 6
jbe 0x100bfca3
cmp edx, 4
jne 0x100bfca3
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
mov edx, edi
shr edx, 0x18
movzx edx, byte [edx + str.cw]
shl edx, 8
or eax, edx
mov edx, edi
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
shl eax, 8
and edi, 0xff
movzx edi, byte [edi + str.cw]
or eax, edx
shl eax, 8
or edi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
xor edx, edi
mov dword [ecx + esi*4 + 0x10], edx
inc esi
add eax, 4
mov dword [esp + 0x18], eax
cmp esi, ebp
jb 0x100bfbe4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x4c42c2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4ca278
cmp edx, dword [eax]
je 0x4c42e4
add eax, 8
inc ecx
cmp eax, 0x4ca308
jl 0x4c42d5
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4ca278]
jne 0x4c4412
mov eax, dword [0x4ce900]
cmp eax, 1
je 0x4c43ec
test eax, eax
jne 0x4c4315
cmp dword [0x4ca1bc], 1
je 0x4c43ec
cmp edx, 0xfc
je 0x4c4412
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c434c
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c49e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c4c10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c438f
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c4c10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c8600
push edi
call fcn.004c63e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c49e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c49f0
lea eax, [ebp - 0xa0]
push 0x4c85e0
push eax
call fcn.004c49f0
push dword [esi + 0x4ca27c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c49f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c6354
add esp, 0x2c
pop edi
jmp 0x4c4412
lea eax, [ebp + 8]
lea esi, [esi + 0x4ca27c]
push 0
push eax
push dword [esi]
call fcn.004c4c10
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x415048]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x416de0
push 0x67
push esi
call edi
push 0x64
push 0x416d18
push 0x6d
push esi
call edi
mov eax, esi
call fcn.00401150
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call edi
call fcn.00402a30
call fcn.00402060
test eax, eax
je 0x40106c
call fcn.00403280
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00401290
test eax, eax
jne 0x40108b
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.00404918
mov esp, ebp
pop ebp
ret 0x10
call fcn.00401810
mov eax, dword [0x417740]
test eax, eax
je 0x4010bd
cmp word [0x417744], 0
jbe 0x4010bd
push eax
mov esi, 0x415f1c
call fcn.00403a30
mov ax, word [0x417744]
add esp, 4
mov word [0x415f2c], ax
xor eax, eax
nop
movzx ecx, word [eax + 0x413244]
mov word [eax + 0x417c78], cx
add eax, 2
test cx, cx
jne 0x4010c0
call fcn.00403aa0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.00408270
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x417c78
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.00404927
add esp, 0xc
push 0x1f4
call edi
push 1
push 0
push 0x41325c
lea edx, [esp + 0x14]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401290
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
push 0x3e
push eax
lea ecx, [ebp - 0x46]
push ecx
mov word [ebp - 0x48], ax
call fcn.00408270
add esp, 0xc
lea edi, [ebp - 0x48]
call fcn.00403530
xor eax, eax
jmp 0x4012d0
movzx ecx, word [ebp + eax - 0x48]
mov word [eax + 0x416ea8], cx
add eax, 2
test cx, cx
jne 0x4012d0
push 0x416ea8
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x401313
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404918
mov esp, ebp
pop ebp
ret
push 0x416ea8
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
je 0x401301
lea edx, [ebp - 0x1d8]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, 0x417878
call fcn.00401ce0
test eax, eax
jne 0x4013e0
lea esp, [esp]
movzx ecx, word [eax + 0x413260]
mov word [eax + 0x417a20], cx
add eax, 2
test cx, cx
jne 0x401350
push 0x41326c
push 0x40
push 0x41787c
call fcn.0040499c
add esp, 0xc
push 0x41328c
push 0x10
push 0x4178fe
call fcn.0040499c
add esp, 0xc
push 0x413298
push 0x40
push 0x41791e
call fcn.0040499c
mov eax, 0x51
mov ecx, 0x2b8e
add esp, 0xc
mov word [0x4178fc], ax
mov word [0x41799e], cx
xor eax, eax
jmp 0x4013c0
movzx ecx, word [eax + 0x4132b8]
mov word [eax + 0x417a00], cx
add eax, 2
test cx, cx
jne 0x4013c0
mov dword [0x417a40], 5
call fcn.004035d0
push 0x413298
call fcn.00403680
add esp, 4
mov dword [0x417740], eax
call fcn.00401430
push 0
push 0
push 0
push 0x401c00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00404918
mov esp, ebp
pop ebp
ret
Function at 0x401660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
xor ebx, ebx
mov word [ebp - 0x414], ax
call fcn.00408270
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.00408270
add esp, 0x18
push 0x104
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x413310
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
xor edx, edx
push 0x413354
push ecx
mov word [ebp - 0x410], dx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call edi
cmp eax, 0xffffffff
je 0x401708
mov ebx, 1
push 0x413360
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push 0x413354
push ecx
call esi
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call edi
cmp eax, 0xffffffff
je 0x401736
or ebx, 2
push 0x4133a8
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push 0x413354
push ecx
call esi
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call edi
cmp eax, 0xffffffff
je 0x401764
or ebx, 4
push 0x4133f8
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push 0x413354
push ecx
call esi
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call edi
cmp eax, 0xffffffff
je 0x401795
or ebx, 0x100
push 0x413450
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push 0x413354
push ecx
call esi
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call edi
cmp eax, 0xffffffff
je 0x4017c6
or ebx, 0x200
push 0x4134a8
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push 0x413354
push ecx
call esi
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call edi
cmp eax, 0xffffffff
je 0x4017f7
or ebx, 0x400
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
pop esi
xor ecx, ebp
or eax, 0x2000000
pop ebx
call fcn.00404918
mov esp, ebp
pop ebp
ret
Function at 0x401ac0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x4135a0
call fcn.00403c90
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x401be6
push 0x206
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.00408270
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x416]
push eax
mov word [ebp - 0x418], dx
call fcn.00408270
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x416ef0
mov edi, edi
cmp word [esi], 0
je 0x401b76
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.0040499c
add esp, 0xc
push esi
lea ecx, [ebp - 0x418]
push 0x104
push ecx
call fcn.00404927
add esp, 0xc
add esi, 0x118
cmp esi, 0x417468
jl 0x401b40
mov esi, 0x416ef0
lea esp, [esp]
cmp word [esi], 0
je 0x401ba6
push edi
push 0x4135a0
mov ecx, esi
call fcn.00404590
add esp, 8
add esi, 0x118
cmp esi, 0x417468
jl 0x401b90
push 0x417c78
lea edx, [ebp - 0x210]
push 0x104
push edx
call fcn.00404927
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x401be4
mov ebx, 2
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00404918
mov esp, ebp
pop ebp
ret

Function at 0x401d90
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
test edi, edi
je 0x401eae
test esi, esi
je 0x401eae
mov eax, esi
lea edx, [eax + 2]
jmp 0x401dc0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401dc0
sub eax, edx
sar eax, 1
je 0x401eae
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00408270
add esp, 0xc
cmp dword [ebp + 8], ebx
jne 0x401e2e
cmp dword [0x415f10], 3
jne 0x401e2e
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4135d8
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.00404927
add esp, 0xc
jmp 0x401e40
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00404927
push 0x4135dc
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x210]
push edx
mov dword [ebp - 0x210], ebx
call fcn.00404c49
mov eax, dword [ebp - 0x210]
add esp, 0x18
test eax, eax
je 0x401eae
push eax
push 1
push 0x200
push edi
call fcn.00404eda
mov eax, dword [ebp - 0x210]
push eax
call fcn.00404f64
add esp, 0x14
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404918
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00404918
mov esp, ebp
pop ebp
ret
Function at 0x401f70
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x504d534d
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax]
not cl
mov byte [esi + eax], cl
inc eax
cmp eax, 0x200
jb 0x401f90
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x212]
push eax
mov word [ebp - 0x214], dx
call fcn.00408270
add esp, 0xc
mov dword [ebp - 0x218], 0
test esi, esi
je 0x402049
lea ecx, [ebp - 0x214]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x4135bc
lea edx, [ebp - 0x214]
push 0x104
push edx
call fcn.00404927
push 0x4135fc
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.00404c49
mov eax, dword [ebp - 0x218]
add esp, 0x18
test eax, eax
je 0x402036
push eax
push 1
push 0x200
push esi
call fcn.0040512f
mov edx, dword [ebp - 0x218]
push edx
call fcn.00404f64
add esp, 0x14
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00404918
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor ecx, ebp
xor eax, eax
call fcn.00404918
mov esp, ebp
pop ebp
ret