joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10061aef
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10058849
xor ebx, ebx
cmp dword [0x100a2d18], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10061bc5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10061ca5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10076830
push edi
call esi
cmp eax, ebx
je 0x10061ca5
push eax
call fcn.100587db
mov dword [esp], 0x10076820
push edi
mov dword [0x100a2d18], eax
call esi
push eax
call fcn.100587db
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100a2d1c], eax
call esi
push eax
call fcn.100587db
mov dword [0x100a2d20], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1005a8f4
test eax, eax
pop ecx
pop ecx
je 0x10061b93
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1004fe23
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x10061bc5
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.100587db
cmp eax, ebx
pop ecx
mov dword [0x100a2d28], eax
je 0x10061bc5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100587db
pop ecx
mov dword [0x100a2d24], eax
mov eax, dword [0x100a2d24]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x10061c4a
cmp dword [0x100a2d28], ecx
je 0x10061c4a
push eax
call fcn.10058852
push dword [0x100a2d28]
mov esi, eax
call fcn.10058852
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x10061c4a
cmp edi, ebx
je 0x10061c4a
call esi
cmp eax, ebx
je 0x10061c17
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10061c17
test byte [ebp - 0x18], 1
jne 0x10061c4a
lea eax, [ebp - 0x10]
push eax
call fcn.1005a92b
test eax, eax
pop ecx
je 0x10061c32
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1004fe23
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x10061c41
or dword [ebp + 0x10], 0x200000
jmp 0x10061c85
or dword [ebp + 0x10], 0x40000
jmp 0x10061c85
mov eax, dword [0x100a2d1c]
cmp eax, dword [ebp - 8]
je 0x10061c85
push eax
call fcn.10058852
cmp eax, ebx
pop ecx
je 0x10061c85
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10061c85
mov eax, dword [0x100a2d20]
cmp eax, dword [ebp - 8]
je 0x10061c85
push eax
call fcn.10058852
cmp eax, ebx
pop ecx
je 0x10061c85
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100a2d18]
call fcn.10058852
cmp eax, ebx
pop ecx
je 0x10061ca5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10061ca7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404f30
Capabilities:
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4474f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa14
push ebx
push ebp
push esi
push edi
mov esi, ecx
or edi, 0xffffffff
mov dword [esp + 0x14], esi
mov dword [esi + 4], edi
xor ebx, ebx
mov dword [esi], 0x44aff4
mov dword [esp + 0xa2c], ebx
mov dword [esi + 0x20], edi
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
lea ecx, [esi + 0x28]
mov byte [esp + 0xa44], 1
call fcn.0044243b
mov dword [esi + 0x60], edi
push ebx
push ebx
push 1
push ebx
mov byte [esi + 0x40], bl
mov byte [esi + 0x41], bl
mov byte [esi + 0x25], bl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x866], bl
mov dword [esi + 0xc], ebx
mov byte [esi + 0x864], bl
mov byte [esi + 0x865], bl
mov byte [esi + 0x24], bl
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push str.patch.shdiverge.com_shaiya
mov dword [esi + 0x20], eax
push 0x462bb8
mov byte [esi + 0x874], bl
call fcn.00420685
add esp, 8
push str..CONFIG.ini
xor eax, eax
push 0x104
mov ecx, 0x82
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push 0x449ff0
push str.TEST_IP
push str.LOGIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4050da
lea ecx, [esp + 0x18]
push 0x44af50
push ecx
call fcn.00427c5a
add esp, 8
test eax, eax
jne 0x4050da
push 0x44af4c
push str.UpdaterURL.txt
call fcn.004215f3
mov ebp, eax
add esp, 8
cmp ebp, ebx
jne 0x40506f
push ebx
push str.Error
push str.Cant_Find_UpdaterURL.txt
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call fcn.0042129b
lea edx, [esp + 0x220]
push edx
xor eax, eax
push 0x44a054
mov ecx, 0x200
lea edi, [esp + 0x228]
push ebp
rep stosd dword es:[edi], eax
call fcn.0042154d
lea eax, [esp + 0x22c]
push eax
call fcn.004206a1
add esp, 0x10
cmp eax, 1
jae 0x4050bf
push ebx
push str.Error
push str.Cant_Read_UpdaterURL.txt
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
call fcn.0042129b
lea ecx, [esp + 0x220]
push ecx
push 0x462bb8
call fcn.00420685
push ebp
call fcn.004213ff
add esp, 0xc
mov ecx, dword [esp + 0xa24]
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4011a4
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
add ebx, eax
mov dword [ebp - 0x20], eax
mov eax, 0x10
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0x2c], esi
je 0x40136d
cmp eax, 0x10
jne 0x40135b
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x1c]
mov ecx, 4
lea edx, [ebp - 0x1c]
lea esi, [eax + 0xf0]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
call fcn.00401028
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x1c]
mov ecx, eax
mov edx, ecx
xor esi, esi
movzx edi, byte [edx]
inc esi
add edx, 4
mov bl, byte [edi + str.cw]
mov byte [edx - 4], bl
mov ebx, esi
cmp bl, 4
jne 0x401204
inc ecx
lea esi, [ebp - 0x18]
cmp esi, ecx
jne 0x401200
mov dl, byte [ebp - 0x17]
mov cl, byte [ebp - 0x1b]
cmp dword [ebp - 0x28], 0xe
mov byte [ebp - 0x1b], dl
mov dl, byte [ebp - 0x13]
mov byte [ebp - 0x17], dl
mov dl, byte [ebp - 0xf]
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 0x1a]
mov byte [ebp - 0x13], dl
mov dl, byte [ebp - 0x12]
mov byte [ebp - 0x12], cl
mov cl, byte [ebp - 0x16]
mov byte [ebp - 0x1a], dl
mov dl, byte [ebp - 0xe]
mov byte [ebp - 0xe], cl
mov cl, byte [ebp - 0x19]
mov byte [ebp - 0x16], dl
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0x19], dl
mov dl, byte [ebp - 0x11]
mov byte [ebp - 0xd], dl
mov dl, byte [ebp - 0x15]
mov byte [ebp - 0x15], cl
mov byte [ebp - 0x11], dl
je 0x40131b
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
mov bl, byte [eax]
mov cl, byte [eax + 1]
add eax, 4
mov dl, byte [eax - 2]
xor dl, byte [eax - 1]
xor ecx, ebx
mov byte [ebp - 0x21], bl
mov ebx, ecx
mov esi, ecx
add ecx, ecx
sar bl, 7
xor esi, edx
mov edi, ebx
and edi, 0x1b
xor ecx, edi
movzx edi, byte [ebp - 0x21]
xor edi, esi
xor ecx, edi
mov byte [eax - 4], cl
mov cl, byte [eax - 3]
xor cl, byte [eax - 2]
mov ebx, ecx
add ecx, ecx
sar bl, 7
mov edi, ebx
and edi, 0x1b
xor ecx, edi
movzx edi, byte [eax - 3]
xor edi, esi
xor ecx, edi
mov byte [eax - 3], cl
mov ecx, edx
add edx, edx
sar cl, 7
and ecx, 0x1b
xor edx, ecx
mov ecx, esi
xor cl, byte [eax - 2]
xor edx, ecx
mov cl, byte [ebp - 0x21]
xor cl, byte [eax - 1]
mov byte [eax - 2], dl
mov edx, ecx
add ecx, ecx
sar dl, 7
and edx, 0x1b
xor edx, ecx
mov ecx, esi
xor cl, byte [eax - 1]
xor edx, ecx
mov byte [eax - 1], dl
cmp dword [ebp - 0x30], eax
jne 0x40127b
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x1c]
call fcn.00401028
inc dword [ebp - 0x28]
jmp 0x4011fb
mov ecx, dword [ebp + 8]
mov eax, 0xe
lea edx, [ebp - 0x1c]
call fcn.00401028
mov eax, 0xf
mov esi, dword [ebp + 8]
mov dl, byte [esi + eax + 0xf0]
cmp dl, 0xff
jne 0x40134e
mov byte [esi + eax + 0xf0], 0
sub eax, 1
jae 0x401330
jmp 0x401359
mov esi, dword [ebp + 8]
inc edx
mov byte [esi + eax + 0xf0], dl
xor eax, eax
mov ebx, dword [ebp - 0x20]
mov dl, byte [ebp + eax - 0x1c]
inc eax
inc dword [ebp - 0x20]
xor byte [ebx], dl
jmp 0x4011c0
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40b000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov dword [esp + 4], ebx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
mov dword [esp], eax
call fcn.00411c30
mov dword [esp + 4], ebx
lea esi, [ebx + eax]
mov eax, dword [esi + 0x20]
mov dword [esp], eax
call fcn.00411c30
mov dword [esp + 4], ebx
add eax, ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x24]
mov dword [esp], eax
call fcn.00411c30
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], edi
je 0x40b0c3
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], ebx
mov eax, dword [eax + edi*4]
mov dword [esp], eax
call fcn.00411c30
lea ecx, [ebx + eax]
mov dword [esp], ecx
mov dword [ebp - 0x28], ecx
call fcn.0040b5d0
mov ecx, dword [ebp - 0x28]
cmp eax, 0xa6caa1c5
jne 0x40b0aa
mov dword [esp + 4], ebx
mov eax, dword [esi + 0x1c]
mov dword [esp], eax
call fcn.00411c30
mov ecx, dword [ebp - 0x20]
mov dword [esp + 4], ebx
add eax, ebx
add ecx, ebx
movzx edx, word [ecx + edi*2]
mov eax, dword [eax + edx*4]
mov dword [esp], eax
call fcn.00411c30
jmp 0x40b0c5
mov dword [esp], ecx
call fcn.0040b5d0
mov ecx, eax
lea eax, [edi + 1]
cmp ecx, 0xffe885ef
je 0x40b07f
mov edi, eax
jmp 0x40b050
xor eax, eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40b118
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov eax, dword [0x417334]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 0x48e]
test eax, eax
je 0x40b1d0
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x444]
test edx, edx
jne 0x40b1d0
mov ecx, dword [eax + 0x3c]
mov esi, dword [eax + ecx + 0x78]
add esi, eax
mov edi, dword [esi + 0x24]
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
add edi, eax
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov dword [ebp - 0x20], edi
mov edi, dword [esi + 0x20]
add ebx, eax
mov dword [ebp - 0x10], ecx
add edi, eax
mov dword [ebp - 0x18], ebx
xor ebx, ebx
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 0x1c], edi
je 0x40b1c7
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov esi, dword [edi + ecx*4]
cmp word [eax + esi], 0x775a
jne 0x40b1c2
mov edi, dword [ebp - 0x20]
test ebx, ebx
movzx esi, word [edi + ecx*2]
jne 0x40b1a6
mov edi, dword [ebp - 0x18]
mov ebx, dword [edi + esi*4]
add ebx, eax
jmp 0x40b1c2
mov ecx, dword [ebp - 0x18]
mov edi, dword [ecx + esi*4]
add edi, eax
mov esi, edi
sub esi, ebx
cmp edi, ebx
jae 0x40b1ba
mov esi, ebx
sub esi, edi
lea edi, [edx - 1]
cmp edi, esi
cmovae edx, esi
inc dword [ebp - 0x10]
jmp 0x40b178
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x444], edx
add esp, 0x18
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40b57c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40b5c8
mov ecx, ebx
mov eax, 0x1505
mov dl, byte [ecx]
test esi, esi
jne 0x40b5a1
test dl, dl
jne 0x40b5af
jmp 0x40b5c8
mov edi, ecx
sub edi, ebx
cmp edi, esi
jae 0x40b5c8
cmp dl, 1
adc ecx, 0
cmp dl, 0x60
jbe 0x40b5bd
cmp dword [ebp + 0x10], 0
je 0x40b5bd
sub edx, 0x20
imul eax, eax, 0x21
movzx edx, dl
inc ecx
add eax, edx
jmp 0x40b595
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40b5d0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov eax, 0x1505
mov ebp, esp
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
inc ecx
test dl, dl
je 0x40b5ea
imul eax, eax, 0x21
add eax, edx
jmp 0x40b5db
pop ebp
ret

Function at 0x40ce78
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
push edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov cl, byte [edx + esi*4]
mov byte [eax + esi*4], cl
mov cl, byte [edx + esi*4 + 1]
mov byte [eax + esi*4 + 1], cl
mov cl, byte [edx + esi*4 + 2]
mov byte [eax + esi*4 + 2], cl
mov cl, byte [edx + esi*4 + 3]
mov byte [eax + esi*4 + 3], cl
inc esi
cmp esi, 8
jne 0x40ce87
mov dl, byte [eax + 0x1e]
mov edi, esi
movzx ebx, byte [eax + 0x1c]
movzx ecx, byte [eax + 0x1d]
mov byte [ebp - 0xd], dl
mov dl, byte [eax + 0x1f]
mov byte [ebp - 0xe], dl
and edi, 7
jne 0x40cefe
movzx edx, byte [ebp - 0xd]
movzx edi, byte [ecx + str.cw]
mov bl, byte [ebx + str.cw]
mov cl, byte [edx + str.cw]
movzx edx, byte [ebp - 0xe]
mov byte [ebp - 0xe], bl
mov ebx, esi
mov dl, byte [edx + str.cw]
shr ebx, 3
mov byte [ebp - 0xd], dl
mov edx, edi
xor dl, byte [ebx + 0x418298]
mov ebx, edx
jmp 0x40cf29
cmp edi, 4
jne 0x40cf29
movzx edx, byte [ebp - 0xd]
movzx edi, byte [ebp - 0xe]
mov bl, byte [ebx + str.cw]
mov cl, byte [ecx + str.cw]
mov dl, byte [edx + str.cw]
mov byte [ebp - 0xd], dl
mov dl, byte [edi + str.cw]
mov byte [ebp - 0xe], dl
mov dl, byte [ebp - 0xd]
xor dl, byte [eax + 2]
inc esi
add eax, 4
xor bl, byte [eax - 4]
xor cl, byte [eax - 3]
mov byte [eax + 0x1e], dl
mov dl, byte [ebp - 0xe]
xor dl, byte [eax - 1]
mov byte [eax + 0x1c], bl
mov byte [eax + 0x1d], cl
mov byte [eax + 0x1f], dl
cmp esi, 0x3c
jne 0x40ceab
pop eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40d368
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
test ebx, ebx
je 0x40d389
cmp dword [ebp + 0xc], 0
jne 0x40d390
xor eax, eax
jmp 0x40d46a
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, ebx
mov edx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
add edx, ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], esi
je 0x40d389
lea eax, [ebx + ecx]
mov dword [ebp - 0x3c], ecx
xor ecx, ecx
mov edi, dword [eax + esi*4]
mov dword [ebp - 0x40], edx
mov dword [esp + 4], ecx
add edi, ebx
mov dword [esp + 8], 1
mov dword [esp], edi
call fcn.0040b57c
cmp eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
jne 0x40d464
mov eax, dword [ebp - 0x34]
add esi, esi
add esi, ebx
movzx eax, word [esi + eax]
mov esi, dword [ebp - 0x30]
lea eax, [ebx + eax*4]
mov ecx, dword [eax + esi]
add ecx, ebx
mov dword [ebp - 0x24], ecx
cmp ecx, edx
jae 0x40d40d
mov eax, dword [ebp - 0x24]
jmp 0x40d46a
mov eax, dword [ebp - 0x2c]
add eax, ebx
add eax, edx
cmp ecx, eax
jae 0x40d408
mov dword [esp], edi
call fcn.00412700
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x20], ax
inc eax
mov word [ebp - 0x1e], ax
mov eax, dword [0x417334]
mov eax, dword [eax + 0xe0]
test eax, eax
je 0x40d389
lea edx, [ebp - 0x24]
mov dword [esp], ebx
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
lea edx, [ebp - 0x20]
mov dword [esp + 4], edx
call eax
sub esp, 0x10
test eax, eax
jns 0x40d408
jmp 0x40d389
inc esi
jmp 0x40d3b7
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x411c30
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
add ecx, dword [ecx + 0x3c]
movzx eax, word [ecx + 0x14]
lea eax, [ecx + eax + 0x18]
cmp edx, dword [eax + 0x14]
jb 0x411c76
movzx ecx, word [ecx + 6]
imul ecx, ecx, 0x28
add ecx, eax
cmp eax, ecx
je 0x411c74
mov ebx, dword [eax + 0xc]
cmp edx, ebx
jb 0x411c6f
mov esi, dword [eax + 0x10]
add esi, ebx
cmp edx, esi
jae 0x411c6f
add edx, dword [eax + 0x14]
sub edx, ebx
jmp 0x411c76
add eax, 0x28
jmp 0x411c54
xor edx, edx
pop ebx
mov eax, edx
pop esi
pop ebp
ret

Function at 0x13016dc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x13016e6
pushal
call 0x13016ec
pop ebp
sub ebp, 0x10
sub ebp, 0xf016dc
jmp 0x1301702
mov eax, 0xf016dc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d1
mov edx, 0x238c9bf6
xor byte [eax], dl
inc eax
dec ecx
jne 0x1301719
jmp 0x130172c
jge 0x1301769
jge 0x13017af
retf 0xf6f6
mov al, byte [0xf31e3e3c]
div dh
neg byte [edi]
fdivrp st(6)
div dh
mov dword [0x737d1a7d], eax
invalid
neg edx
shl byte [edi - 0x9090ce2], cl
neg byte [edi]
scasd eax, dword es:[edi]
hlt
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push 0
push 0x401050
push 0
push 0x6b
push eax
mov dword [0x4087b4], eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov eax, dword [0x4088c0]
test eax, eax
je 0x40103c
push 1
push 0
push 0
push 0x4087b8
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
ret 0x10

Function at 0x4013f0
Capabilities:
Delete file

Disassembly:
mov edx, dword [0x4087b4]
sub esp, 0x20c
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push edx
call fcn.004014b0
add esp, 0xc
test eax, eax
jne 0x40142f
push 0x10
push str.visTeam
push 0x408040
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
add esp, 0x20c
ret
lea eax, [esp + 0x108]
push eax
call fcn.00401730
add esp, 4
test eax, eax
jne 0x40144a
add esp, 0x20c
ret
push esi
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x11c]
push 0
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.004052a0
mov esi, eax
mov eax, dword [esp + 0x20]
add esp, 0x1c
test eax, eax
je 0x40147f
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test esi, esi
je 0x401492
call fcn.00401a60
mov eax, esi
pop esi
add esp, 0x20c
ret
push 0x10
push str.visTeam
push 0x408040
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, esi
pop esi
add esp, 0x20c
ret
Function at 0x401960
Capabilities:
Create directory

Disassembly:
sub esp, 0x244
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x258]
test edi, edi
je 0x401a38
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
cmp edx, 1
jl 0x401a38
inc edx
xor ebp, ebp
test edx, edx
mov dword [esp + 0x10], edx
jle 0x401a38
mov bl, byte [esp + ebp + 0x14]
lea esi, [esp + ebp + 0x14]
cmp bl, 0x5c
je 0x4019d4
cmp bl, 0x2f
je 0x4019d4
test bl, bl
jne 0x401a33
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov byte [esi], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x401a2a
cmp byte [esp + ecx + 0x13], 0x3a
je 0x401a2a
lea ecx, [esp + 0x114]
lea edx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x401a15
test eax, eax
je 0x401a15
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x401a26
lea eax, [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x401a48
mov edx, dword [esp + 0x10]
mov byte [esi], bl
mov al, byte [esi + 1]
test al, al
je 0x401a38
inc ebp
cmp ebp, edx
jl 0x4019be
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x244
ret
mov byte [esi], bl
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x244
ret
Function at 0x401f20
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
push esi
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x10]
dec ecx
push eax
push ecx
push edx
mov dword [esp + 0x1c], ecx
call fcn.00402260
mov esi, eax
add esp, 0xc
test esi, esi
je 0x401f97
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x401f8e
mov ecx, dword [esp + 0xc]
push 0x408054
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x401f8e
mov edx, dword [esp + 0x10]
push edi
push edx
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
push esi
call fcn.00402440
add esp, 0x18
pop edi
pop esi
ret
push esi
call fcn.00402440
add esp, 4
pop edi
pop esi
ret

Function at 0x402460
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
test ecx, ecx
jne 0x402475
or eax, 0xffffffff
pop esi
mov dword [0x4084e8], eax
not eax
ret
mov esi, dword [esp + 0xc]
mov eax, dword [0x4084e8]
test esi, esi
je 0x4024a2
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4080e8]
xor eax, edx
inc ecx
dec esi
jne 0x402483
pop ebx
mov dword [0x4084e8], eax
pop esi
not eax
ret

Function at 0x402680
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, 0x2000
xor eax, eax
lea edi, [esi + 0x3efc0]
push 0x10000
rep stosd dword es:[edi], eax
lea edi, [esi + 0x1efc0]
mov eax, 0x80
xor ebx, ebx
push edi
push esi
mov dword [esi + 0x28], 0x10
mov dword [esi + 0x2c], 8
mov dword [esi + 0x30], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ebx
call fcn.004024b0
add esp, 0xc
cmp eax, 1
mov dword [esi + 0x20], eax
jge 0x4026e2
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], ebx
pop edi
pop esi
pop ebx
ret
cmp eax, 0x106
mov dword [esi + 0x1c], ebx
jae 0x402704
cmp dword [esi + 0x1c], ebx
jne 0x402704
push esi
call fcn.00402730
mov eax, dword [esi + 0x20]
add esp, 4
cmp eax, 0x106
jb 0x4026ec
mov dword [esi + 0xc], ebx
xor eax, eax
mov edx, dword [esi + 0xc]
xor ecx, ecx
mov cl, byte [edi + eax]
and edx, 0x1ff
and ecx, 0x3fff
shl edx, 5
xor ecx, edx
inc eax
cmp eax, 2
mov dword [esi + 0xc], ecx
jb 0x402709
pop edi
pop esi
pop ebx
ret
Function at 0x4059f0
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x20
xor eax, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], eax
push esi
mov dword [esp + 0x18], eax
lea edx, [esp + 0x1e]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x22]
push eax
lea edx, [esp + 0x22]
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
call fcn.00405cf0
add esp, 0x20
test eax, eax
je 0x405b55
mov esi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
call esi
test eax, eax
je 0x405b55
xor edx, edx
lea eax, [esp + 0x20]
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x1e]
mov dword [esp + 0x18], edx
push eax
mov dword [esp + 0x20], edx
push ecx
mov dword [esp + 0x28], edx
lea edx, [esp + 0x24]
lea eax, [esp + 0x22]
push edx
lea ecx, [esp + 0x22]
push eax
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
call fcn.00405cf0
add esp, 0x20
test eax, eax
je 0x405b55
lea edx, [esp + 0x2c]
lea eax, [esp + 0x14]
push edx
push eax
call esi
test eax, eax
je 0x405b55
xor ecx, ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x1e]
mov dword [esp + 0x18], ecx
push edx
mov dword [esp + 0x20], ecx
push eax
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x22]
push ecx
lea eax, [esp + 0x22]
push edx
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
call fcn.00405cf0
add esp, 0x20
test eax, eax
je 0x405b55
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
push ecx
push edx
call esi
test eax, eax
je 0x405b55
mov eax, dword [esp + 0x28]
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x405b55
cmp esi, 0xffffffff
je 0x405b55
lea ecx, [esp + 0x2c]
lea edx, [esp + 4]
push ecx
lea eax, [esp + 0x10]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
push esi
jne 0x405b5c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
add esp, 0x20
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
add esp, 0x20
ret