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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x55e614
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x55e613
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
mov ebx, eax
mov eax, edi
xor ecx, ecx
mov edx, ebx
call fcn.004064dc
xor ebx, ebx
cmp esi, dword [esp]
jge 0x55e778
inc ebx
mov eax, edi
call fcn.00406270
movzx edx, byte [ebp + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x55e731
inc ebx
mov eax, edi
call fcn.00406270
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [ebp + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x55e700
inc ebx
mov eax, edi
call fcn.00406270
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [ebp + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406270
movzx edx, byte [ebp + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
jmp 0x55e76c
inc ebx
mov eax, edi
call fcn.00406270
movzx edx, byte [ebp + esi + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406270
mov byte [eax + ebx - 1], 0x3d
jmp 0x55e76c
inc ebx
mov eax, edi
call fcn.00406270
movzx edx, byte [ebp + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00406270
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00406270
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x55e648
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x55f9b4
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x694fa0
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x55f9d3
mov esi, 1
mov edx, 0x6950a8
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx ebp, byte [esp + eax + 0xe]
add ebp, ebp
add ebp, ebp
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x55fa4c
dec ebx
je 0x55fa6e
dec ebx
je 0x55fa90
dec ebx
je 0x55fab1
jmp 0x55facb
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x55facb
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x55facb
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x55facb
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x55fa3c
inc esi
add edx, 0x40
cmp esi, 9
jne 0x55f9ef
mov esi, 0x20
mov eax, 0x694fd0
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x55faf0
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x55fb2c
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x695057]
test bl, bl
jbe 0x55fb5d
lea eax, [esi + 0x3e0]
call fcn.0055fb08
lea eax, [esi + 0x3fc]
call fcn.0055fb08
dec bl
jne 0x55fb43
mov cl, 0x30
mov edi, 0x695028
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x55fb7e
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x55fb8b
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x55fb67
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x55fb98
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.0055f94c
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x55fbb4
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.0055f94c
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.0055f94c
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x55fbd0
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.0055fb2c
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x55fbfa
mov bl, 1
mov eax, 0x694f20
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x55fc33
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x55fc40
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x55fc1f
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x55fc6a
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.0055f9b4
jmp 0x55fc91
movzx eax, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.0055f9b4
mov bl, 0x20
lea eax, [ebp - 0xa1]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x55fc99
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x55fc52
mov bl, 0x40
mov esi, 0x694f60
lea eax, [ebp - 0x3e1]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x55fcff
movzx edx, dl
movzx edx, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x55fd0c
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x55fce8
mov bl, 1
lea esi, [ebp - 0x3e1]
movzx ecx, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.0055f974
inc ebx
inc esi
cmp bl, 0x41
jne 0x55fd1a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x560878
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
movzx eax, byte [esi + 4]
add eax, eax
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov ebp, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x560929
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec ebp
jne 0x560924
mov eax, edi
xor ecx, ecx
mov edx, 8
call fcn.004064dc
push 1
mov eax, edi
call fcn.00406270
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.0055fb98
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5676f8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
mov byte [esp], 0
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, 1
jmp 0x567719
inc edi
mov eax, esi
call fcn.00405ed0
cmp edi, eax
jg 0x56772b
cmp byte [esi + edi - 1], 0x20
je 0x567718
mov eax, esi
test eax, eax
je 0x567736
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x5677f8
cmp byte [esi + edi - 1], 0x2e
je 0x56781c
jmp 0x5677f8
cmp byte [esi + edi - 1], 0x2e
jne 0x5677a0
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x56781c
cmp dword [esp + 8], 0xff
jg 0x56781c
xor eax, eax
mov dword [esp + 8], eax
mov ebp, esi
test ebp, ebp
je 0x567784
sub ebp, 4
mov ebp, dword [ebp]
cmp ebp, edi
jg 0x56778c
mov bl, 1
jmp 0x56779a
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x56781c
jmp 0x5677f7
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x5677c5
mov eax, dword [esp + 8]
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + edi - 1]
add eax, edx
sub eax, 0x30
mov dword [esp + 8], eax
jmp 0x5677f7
inc edi
mov eax, esi
call fcn.00405ed0
cmp edi, eax
jg 0x5677d7
cmp byte [esi + edi - 1], 0x20
je 0x5677c4
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x5677ef
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp edi, dword [esp + 0xc]
jle 0x56781c
jmp 0x567807
inc edi
mov eax, esi
call fcn.00405ed0
cmp edi, eax
jle 0x56774e
cmp dword [esp + 4], 3
jne 0x56781c
cmp dword [esp + 8], 0xff
jg 0x56781c
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x59875c
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
add eax, eax
add eax, eax
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, 4
mov ecx, esi
xor eax, eax
call fcn.00406574
cmp byte [ebp - 1], 0
jne 0x5987bc
mov eax, esi
call fcn.00406270
movzx edx, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x5987d6
sub al, 2
jb 0x5987dd
jmp 0x5987e2
mov ebx, 2
jmp 0x5987e2
mov ebx, 1
mov eax, esi
call fcn.00406270
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x5988c6
test edi, edi
jle 0x59883e
mov eax, esi
call fcn.00406270
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00406270
mov byte [eax + ebx - 1], 0
jmp 0x5988ba
test edi, edi
jge 0x598884
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00406270
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x5988ba
mov eax, esi
call fcn.00406270
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
movzx ecx, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00406270
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x5987fa
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x5988d7
sub al, 2
jb 0x598911
jmp 0x598959
cmp edi, 2
jne 0x5988dd
dec ebx
mov eax, ebx
sub eax, 2
jl 0x598959
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00406270
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x695470]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x5988ed
jmp 0x598959
cmp edi, 2
jne 0x598917
dec ebx
test ebx, ebx
jle 0x598954
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00406270
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x695474]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x598923
jmp 0x598954
inc ebx
mov eax, esi
call fcn.00406270
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x598947
mov eax, esi
xor ecx, ecx
mov edx, ebx
call fcn.004064dc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x59b5cc
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x59b64c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
mov ecx, 0x59b664
mov edx, 0x59
call fcn.00478774
push dword [ebp - 4]
push 0x59b678
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
mov ecx, 0x59b688
mov edx, 0x5a
call fcn.00478774
push dword [ebp - 8]
mov eax, ebx
mov edx, 3
call fcn.0040705c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59b653
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ba0
ret

Function at 0x59d3c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff99c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b90
xor eax, eax
push ebp
push 0x59d4f9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40e]
mov ecx, 0x1ff
mov edx, dword [ebp - 4]
call fcn.00472690
lea edx, [ebp - 8]
xor eax, eax
call fcn.004075c8
lea eax, [ebp - 0x60e]
mov ecx, 0xfe
mov edx, dword [ebp - 8]
call fcn.00472690
lea eax, [ebp - 0x654]
xor ecx, ecx
mov edx, 0x44
call fcn.00403bd8
mov dword [ebp - 0x654], 0x44
mov dword [ebp - 0x628], 1
mov word [ebp - 0x624], bx
xor eax, eax
mov dword [ebp - 0x664], eax
xor eax, eax
mov dword [ebp - 0x660], eax
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x654]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x40e]
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x59d48f
mov dword [ebp - 0xc], 0xffffffff
jmp 0x59d4de
test esi, esi
je 0x59d4a8
imul eax, esi, 0x3e8
push eax
mov eax, dword [ebp - 0x664]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x59d4b6
push 0xffffffffffffffff
mov eax, dword [ebp - 0x664]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x664]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x664]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x660]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59d500
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ba0
ret

Function at 0x5c82ec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x5c8346
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.005c82e0
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.005c57ac
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.005c5310
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c834d
lea eax, [ebp - 4]
call fcn.00406b98
ret
Function at 0x5db580
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b90
xor eax, eax
push ebp
push 0x5db740
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x58fb6c]
call fcn.0059009c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5db711
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6e283c], 0
je 0x5db62b
mov eax, dword [ebp - 0xc]
add eax, 0x90
mov edx, dword [0x6e283c]
call fcn.00406ba8
lea edx, [ebp - 0x50]
mov eax, dword [0x6e2840]
call fcn.004712c8
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0xc]
add eax, 0x94
call fcn.00406ba8
mov eax, dword [ebp - 0xc]
add eax, 0xa8
mov edx, dword [0x6e2844]
call fcn.00406ba8
mov eax, dword [ebp - 0xc]
add eax, 0xac
mov edx, dword [0x6e2848]
call fcn.00406ba8
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x40
call fcn.00403bd8
push 0x20
lea eax, [ebp - 0x4c]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 8]
lea edx, [ebp - 0x4c]
mov ecx, 0x20
call fcn.00406db8
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x40
call fcn.00403bd8
push 0x20
lea eax, [ebp - 0x4c]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
push dword [ebp - 8]
push 0x5db758
lea eax, [ebp - 0x54]
lea edx, [ebp - 0x4c]
mov ecx, 0x20
call fcn.00406db8
push dword [ebp - 0x54]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040705c
mov eax, dword [ebp - 0xc]
add eax, 0x118
mov edx, dword [ebp - 8]
call fcn.00406ba8
xor ecx, ecx
mov dl, 1
mov eax, dword [0x564a48]
call fcn.00576e80
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00598f78
mov eax, dword [ebp - 0xc]
call fcn.00598f6c
call fcn.0057b270
mov eax, dword [ebp - 0xc]
add eax, 0xec
mov edx, dword [ebp - 4]
call fcn.00406ba8
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x188], ebx
mov eax, dword [ebp - 0xc]
call fcn.00598608
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5db718
mov eax, dword [ebp - 0xc]
call fcn.00404490
ret
Function at 0x5dfba0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x5dfc7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 4]
mov eax, ebx
call fcn.005dfd24
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5dfc5c
xor eax, eax
push ebp
push 0x5dfc55
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5dfc3f
inc esi
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 4]
lea eax, [ebp - 4]
call fcn.00406f8c
lea ecx, [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005dff54
mov eax, dword [ebp - 8]
call fcn.00406c34
push eax
mov eax, dword [ebp - 4]
call fcn.00406c34
push eax
call sub.kernel32.dll_MoveFileW
inc dword [ebp - 0x10]
dec esi
jne 0x5dfbf9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dfc5c
mov eax, dword [ebp - 0xc]
call fcn.00404490
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dfc86
lea eax, [ebp - 0x14]
call fcn.00406b98
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ba0
ret

Function at 0x5e2c8c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
test dl, dl
je 0x5e2cab
add esp, 0xfffffff0
call fcn.00404974
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5e2d4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, esi
call fcn.005e2e04
mov dword [esi + 0x18], 0xf003f
mov byte [esi + 0xc], 1
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x110], 5
jne 0x5e2d01
call fcn.00517240
test al, al
jne 0x5e2d2f
cmp dword [ebp - 0x110], 5
ja 0x5e2d2f
lea edx, [ebp - 0x118]
xor eax, eax
call fcn.00514888
mov eax, dword [ebp - 0x118]
mov edx, 0x5e2d80
call fcn.00470778
test al, al
jne 0x5e2d2f
xor eax, eax
jmp 0x5e2d31
mov al, 1
mov byte [0x6e286c], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e2d56
lea eax, [ebp - 0x118]
call fcn.00406b98
ret