joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429239
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x430460
call fcn.0041c370
xor esi, esi
cmp dword [0x43999c], esi
jne 0x42927d
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x429268
mov dword [0x43999c], edi
jmp 0x42927d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x42927d
mov dword [0x43999c], 2
mov eax, dword [0x43999c]
cmp eax, 2
je 0x42935e
cmp eax, esi
je 0x42935e
cmp eax, 1
jne 0x4292c2
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x4292ab
mov eax, dword [0x4398fc]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x4292c9
xor eax, eax
jmp 0x429370
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.0041c570
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x4292ff
cmp edi, esi
jne 0x42931a
lea eax, [ebx + ebx]
push eax
call fcn.0041c902
pop ecx
mov edi, eax
cmp edi, esi
je 0x4292c2
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42934d
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x429337
push esi
push esi
jmp 0x42933d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x429359
push edi
call fcn.0041c254
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x429370
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0041c3ab
ret
Function at 0x4293f8
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0041c570
mov eax, dword [0x4377f4]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00423d75
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x42952d
push 2
push esi
push dword [ebp + 8]
call fcn.00423d75
add esp, 0xc
cmp eax, ebx
je 0x42952d
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x4294cd
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0041c310
push 0x8000
push dword [ebp + 8]
call fcn.00429da1
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x429483
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.00423523
add esp, 0xc
cmp eax, 0xffffffff
je 0x4294a3
sub edi, eax
test edi, edi
jg 0x42947b
jmp 0x4294bb
call fcn.004238fb
cmp dword [eax], 5
jne 0x4294b8
call fcn.004238f2
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.00429da1
pop ecx
pop ecx
jmp 0x429515
jge 0x429515
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00423d75
push dword [ebp + 8]
call fcn.00427e40
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x429515
call fcn.004238f2
mov dword [eax], 0xd
call fcn.004238fb
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.00423d75
add esp, 0xc
mov eax, esi
pop edi
jmp 0x42952f
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c2f6
leave
ret
Function at 0x42a261
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x42a27a
or eax, 0xffffffff
jmp 0x42a2db
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x42a2d7
push 0x3d
push esi
call fcn.0042a462
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x42a2d7
cmp esi, eax
je 0x42a2d7
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x4394c4]
sete cl
cmp eax, dword [0x4394c8]
mov dword [ebp - 4], ecx
jne 0x42a2bd
mov edi, eax
call fcn.0042a200
mov dword [0x4394c4], eax
cmp eax, ebx
jne 0x42a316
cmp dword [ebp + 0xc], ebx
je 0x42a2df
cmp dword [0x4394cc], ebx
je 0x42a2df
call fcn.004299e9
test eax, eax
je 0x42a316
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x42a2e8
xor eax, eax
jmp 0x42a2da
push 4
call fcn.0041c902
cmp eax, ebx
pop ecx
mov dword [0x4394c4], eax
je 0x42a2d7
mov dword [eax], ebx
cmp dword [0x4394cc], ebx
jne 0x42a316
push 4
call fcn.0041c902
cmp eax, ebx
pop ecx
mov dword [0x4394cc], eax
je 0x42a2d7
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x4394c4]
sub edi, esi
push esi
call fcn.0042a1b3
mov edi, eax
test edi, edi
pop ecx
jl 0x42a37d
cmp dword [ebx], 0
je 0x42a37d
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.0041c254
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x42a35d
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x42a3be
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x42a354
mov eax, edi
shl eax, 2
push eax
push dword [0x4394c4]
call fcn.0041c5b7
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x42a3be
jmp 0x42a3b9
cmp dword [ebp - 4], 0
jne 0x42a425
test edi, edi
jge 0x42a38d
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4394c4]
call fcn.0041c5b7
test eax, eax
pop ecx
pop ecx
je 0x42a2d7
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x4394c4], eax
cmp dword [ebp + 0xc], 0
je 0x42a410
push esi
call fcn.0041cac0
inc eax
inc eax
push eax
call fcn.0041c902
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x42a410
push esi
push edi
call fcn.0041dc60
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x42a409
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.0041c254
pop ecx
cmp dword [ebp - 4], 0
je 0x42a41d
push esi
call fcn.0041c254
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x42a2da
push esi
call fcn.0041c254
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x42a2e4
Function at 0x66603f
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 4]
jbe 0x665826
ja 0x6659b4
Function at 0x6db1d8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x6db21d
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, reloc.WSOCK32.dll_WSACleanup
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x6db223
add eax, 4
pop esi
dec esi
push esi
jne 0x6db205
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x6de325
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.006de4d5
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x6de423
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x6de3c6
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x6de409
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x6de3dd
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x6de3f8
test al, 0x40
je 0x6de3ef
mov ecx, dword [edi + 0x20]
jmp 0x6de3f6
test al, 0x80
je 0x6de409
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x6de409
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x6de395
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x7106e8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xe479c8]
xor edx, edx
cmp eax, edx
jne 0x71070e
xor eax, eax
mov byte [eax + 0xe478c8], al
inc eax
cmp eax, 0x100
jl 0x7106f6
mov dword [0xe479c8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xe478c8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x71079f
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x710772
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x710740
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x7107a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x7107fb
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x7107e2
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x725b08
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x78b930
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x725b41
inc eax
mov dword [esi + 0x10], eax
jmp 0x725c54
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x725b55
mov eax, 0xffffffc7
jmp 0x725c56
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x725b66
cmp dword [esi + 8], eax
jne 0x725b55
cmp dword [esi + 8], eax
jne 0x725b7f
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x725b7f
mov eax, 0xffffffc7
jmp 0x725c56
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x725b93
push eax
mov ecx, ebx
call fcn.00725338
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.006f2fa8
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x725bc4
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.006f2fc8
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00724aa8
test eax, eax
mov dword [esp + 0x38], eax
je 0x725bf7
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], reloc.WSOCK32.dll_WSACleanup
mov dword [esp + 0x10], 0xe11d90
call fcn.006f31a8
mov eax, dword [esp + 0x38]
jmp 0x725c56
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00725968
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x725c3b
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00725988
mov esi, eax
test esi, esi
jne 0x725c6b
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00725968
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x725c0d
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], reloc.WSOCK32.dll_WSACleanup
mov dword [esp + 0x10], 0xe11d90
call fcn.006f31a8
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], reloc.WSOCK32.dll_WSACleanup
mov dword [esp + 0x10], 0xe11d90
call fcn.006f31a8
mov eax, esi
jmp 0x725c56
Function at 0x737be8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x78c218
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [esp + 0x6c]
push edi
mov eax, dword [esi + 0x5c]
mov eax, dword [eax - 8]
test eax, eax
je 0x737d7e
cmp ebx, 0xfffffffe
jne 0x737d7e
lea edi, [esi + 0x60]
push 0xf
mov ecx, edi
mov edx, dword [ecx]
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x4c]
mov ecx, dword [ecx + 0xc]
lea eax, [eax + edx*2]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
call fcn.00ea5115
or ecx, dword [ebx - reloc.WSOCK32.dll_WSACleanup]
dec esp
and al, 0x2c
push eax
push ecx
mov ecx, ebx
call fcn.00786dfd
mov ebp, dword [edi + 8]
mov eax, dword [edi]
mov edx, dword [esi + 0x4c]
push 0x10
sub ebp, eax
mov dword [esp + 0x70], edx
call fcn.00ea5115
mov cl, 0x8b
push esi
push eax
mov eax, dword [esp + 0x70]
push 1
lea ecx, [eax*4]
sub ebp, ecx
mov ecx, dword [edi]
push ebp
push edx
lea edx, [ecx + eax*2]
mov ecx, ebx
push edx
call fcn.00786e27
mov ebp, dword [edi + 8]
mov eax, dword [edi]
sub ebp, eax
mov eax, dword [esi + 0x4c]
push 0x14
mov dword [esp + 0x70], eax
call fcn.00ea5115
mov edx, dword [bp + 0x64]
push eax
mov eax, dword [esp + 0x70]
push 1
lea ecx, [eax*4]
sub ebp, ecx
mov ecx, dword [edi]
inc edx
push ebp
push edx
lea edx, [ecx + eax*2]
push edx
mov ecx, ebx
call fcn.00786e27
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push 0xffffffffffffffff
push eax
call fcn.00ea74f8
lodsd eax, dword [esi]
mov eax, dword [esi + 0x54]
mov edi, lstrcmpiA
cmp eax, edi
jne 0x737d01
cmp dword [esi + 0x50], edi
je 0x737d01
push 0x16
call fcn.00ea5115
add ecx, dword [ebp + reloc.WSOCK32.dll_WSACleanup]
push ecx
jmp 0x737d0f
push 0xf
call fcn.00ea5115
jmp 0x2c97d19a
mov ecx, ebx
call fcn.00786dfd
cmp dword [esi + 0x50], edi
jne 0x737d2a
mov ecx, dword [ebx + 4]
push 0xf
lea eax, [esp + 0x30]
push 4
push eax
push ecx
jmp 0x737d3c
cmp dword [esi + 0x54], edi
jne 0x737d42
mov eax, dword [ebx + 4]
push 0xf
lea edx, [esp + 0x30]
push 2
push edx
push eax
call fcn.00ebe537
fisttp word [ebx - 0x6f7972ed]
add byte [eax], al
add byte [eax - 0x75], dl
retf
mov edx, dword [ebx]
lea eax, [esi + 0x90]
push eax
mov ecx, ebx
call dword [edx + 0x28]
push 1
mov ecx, ebx
mov edi, eax
call fcn.007844df
mov esi, dword [esi + 0x5c]
mov edx, dword [ebx]
lea eax, [esp + 0x2c]
push 0x25
mov ecx, dword [esi - 8]
push eax
push ecx
push esi
mov ecx, ebx
invalid
push edx
Function at 0x7385d8
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x73860b
push esi
call fcn.00746948
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x738604
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x738691
mov eax, dword [esi + reloc.WSOCK32.dll_WSACleanup]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x73867a
mov eax, dword [esi + 8]
test eax, eax
je 0x73862f
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + reloc.WSOCK32.dll_WSACleanup]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x738676
cmp eax, 2
je 0x73867a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x738622
cmp eax, 3
je 0x738655
cmp eax, 1
jne 0x738622
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x738622
mov edx, dword [esi + reloc.WSOCK32.dll_WSACleanup]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x738622
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.007386b8
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x7386a0
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.007386b8
add esp, 4
pop esi
ret

Function at 0x758fb8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x75900b
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x758ff2
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x75f9c8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x78c616
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.007602e8
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xe15e9c
call fcn.0077de65
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x75fa5b
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0077de65
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x75fa54
push 0
mov ecx, eax
call fcn.00756ac8
mov dword [esi + 0xc], eax
jmp 0x75fa5d
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x75fa5d
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0xed944f
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
lea esi, [edi + ebp]
xchg al, bh
popal
call fcn.00ed9369
pushal
rdtsc
jmp 0xed93e4

Function at 0xf45896
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.00f45025
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0xf45842
pop word [esp]
push dword [esp + 1]
lea esp, [esp + 1]
mov dword [esp + 0x20], edi
lea esp, [esp + 0x20]
jmp 0xf457f9
push eax
jmp 0xf45020
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0xf4582c
jmp 0xf45816

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x9b218b
Capabilities:
Execute anti-debugging instructions

Disassembly:
and eax, ebx
mov ax, word [esp + 0xf]
mov byte [esp + 9], cl
not dx
bsr edx, edx
setb ah
jmp 0x9b215f
xchg dx, si
std
not al
mov eax, dword [esp + 0x10]
mov dh, byte [esp + 0xb]
lea edx, [eax*4]
jmp 0x9b2116
mov esi, 0x3ca6fc95
mov byte [esp + 9], bl
mov byte [esp + 9], bl
jmp 0x9b2173
mov dword [esp + 2], edx
lea esp, [esp + 7]
setg al
bswap esi
neg ax
mov al, 0xa
jmp 0x9b2149
mov word [esp + 7], bx
mov dx, 0xe749
mov ah, al
add esp, 4
jmp 0x9b221d
sub esp, 0xe
xchg dword [esp + 7], edx
jmp 0x9b2132
mov eax, 0x17b52c67
lea edx, [ebp*4]
mov al, 0x3d
xchg esi, edx
jmp 0x9b21ea
xchg word [esp + 6], dx
bswap esi
mov dx, word [esp + 2]
jmp 0x9b2194
lea edx, [eax + ecx]
rdtsc
push esi
rdtsc
pop word [esp + 8]
pop dword [esp + 4]
jmp 0x9b21aa
push di
ror esi, 0x1c
push dx
xchg dword [esp], esi
xchg byte [esp + 1], dl
jmp 0x9b21fb
stc
xchg esi, eax
mov eax, 0x1d9b041b
add esp, 8
lea esp, [esp]
mov esi, ecx
jmp 0x9b21d4
pop word [esp]
mov al, byte [esp + 2]
mov ah, 0xe0
lea edx, [ecx + 0x34]
xchg ah, dl
not esi
jmp 0x9b2257
lea edx, [esi - 0x86]
mov al, dl
xchg dword [esp], esi
cmp ax, 0x831e
pushfd
rdtsc
jmp 0x9b21c1
mov si, 0x1eb6
mov edx, dword [esp + 0x12]
pop word [esp + 2]
mov dl, byte [esp + 3]
pushfd
call fcn.009b227b
jl 0x9b224d
xchg ebx, eax
test byte [0x5ac442e1], 0x3d
loope 0x9b2291
les ebx, [edx + 0x3d]
int3
lea esi, [ebp - 0x31]
neg ah
cld
std
neg eax
sub esp, 0x16
jmp 0x9b2231
sub edi, dword [ebx - reloc.KERNEL32.dll_GetStartupInfoA]
pop ecx

Function at 0x9b2715
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x9b2765
or dl, 0x73
rdtsc
rdtsc
pop edx
mov ah, 0x80
mov edx, dword [esp]
jmp 0x9b274f
mov ah, byte [esp]
mov dx, 0xa7cc
sub esp, 0xd
xchg word [esp + 1], si
jmp 0x9b27bc
rdtsc
bsr si, bx
mov dl, byte [esp + 6]
not esi
pop edx
xchg byte [esp], dh
jmp 0x9b2717
bsf ax, cx
add esp, 6
bsr edx, esi
not ax
lea esp, [esp + 3]
xchg word [esp + 1], si
jmp 0x9b2792

Function at 0x9b29e2
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], ebp
rdtsc
xchg dx, ax
mov ax, si
jmp 0x9b2a19
xchg byte [esp], dl
mov edx, 0x87885457
pop word [esp + 1]
mov eax, 0xe2f44707
std
jmp 0x9b2a03

Function at 0x9b2bba
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ah, byte [esp + 0xd]
not si
bsr eax, esi
pop esi
add esp, 6
pop dword [esp + 2]
xchg dword [esp + 7], eax
jmp 0x9b2b99