joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b3cd7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10107e18]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100b3d1a
cmp word [esi], dx
jne 0x100b3d1a
or byte [edi + eax + 0x28], 4
jmp 0x100b3d1f
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x100b3e72
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x100b3e52
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100b3d61
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100b3d97
cmp eax, edx
jae 0x100b3da3
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x100b3d39
jmp 0x100b3e72
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b3e4e
cmp dword [ebp - 0x14], 0
je 0x100b3e4e
mov eax, dword [ebx*4 + 0x10107e18]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100b3e26
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x100b3def
mov word [esi], cx
jmp 0x100b3e22
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10107e18]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10107e18]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10107e18]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x100b3e72
pop ebx
cmp word [ebp - 4], bx
jne 0x100b3e37
cmp esi, dword [ebp + 0xc]
jne 0x100b3e37
mov word [esi], bx
jmp 0x100b3e6f
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100b3b2d
add esp, 0x10
cmp word [ebp - 4], bx
je 0x100b3e72
push 0xd
jmp 0x100b3e6b
mov ecx, dword [ebx*4 + 0x10107e18]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100b3e69
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100b3e72
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100b4862
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b4504

Function at 0x100b486d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b4693
Function at 0x100b9716
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100b97b3
push ebx
push esi
call fcn.100b96df
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100b195a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100b9760
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100b97b2
push edi
push eax
call fcn.100b1890
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100b9780
call fcn.100b1856
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100b97b1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100b195a
add esp, 0x20
test eax, eax
jne 0x100b979f
push edi
call fcn.100b1856
jmp 0x100b97a7
push ebx
call fcn.100b1856
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100b97b6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100b97c7
pop esi
ret
push ebx
push edi
push esi
call fcn.100b96df
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100b1890
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100b97ef
push ebx
push esi
push edi
call fcn.10093ce0
add esp, 0xc
push 0
call fcn.100b1856
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100b9bb3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b9804
Function at 0x100c0601
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100c057d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100c0779
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100c0779
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100c0728
jg 0x100c065a
test eax, eax
je 0x100c071e
push 1
push 0x1000
call fcn.100b1acd
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100c0680
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x100c0715
push 0x8000
push ebx
call fcn.100c04ae
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100c06ac
jg 0x100c06a7
cmp ecx, 0x1000
jb 0x100c06ac
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100b2a85
add esp, 0x10
cmp eax, 0xffffffff
je 0x100c06f1
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100c06a7
jl 0x100c06d8
test ecx, ecx
jne 0x100c0699
push dword [ebp - 0xc]
push ebx
call fcn.100c04ae
push esi
call fcn.100b1856
add esp, 0xc
xor edi, edi
jmp 0x100c078a
cmp byte [edi + 0x24], 0
je 0x100c0708
cmp dword [edi + 0x20], 5
jne 0x100c0708
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100c0713
mov edi, dword [edi + 0x18]
jmp 0x100c0715
xor edi, edi
push esi
call fcn.100b1856
pop ecx
jmp 0x100c078a
test ecx, ecx
jg 0x100c06ea
jl 0x100c0728
test eax, eax
jae 0x100c06ea
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100b3b2d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100c074b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100c06ea
jmp 0x100c0782
push ebx
call fcn.100bc72d
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100c06ea
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x100c078a
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100c0787
mov edi, dword [edi + 0x18]
jmp 0x100c078a
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100b3b2d
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100c11a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100c11cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100c11cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1002aaee
pop dword [ebp - 0x1c]
mov eax, 0x293f1025
sub eax, 0x193c6537
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x5fbdb1b
sub dword [ebp - 0x2c], 0xb7a995d0
mov dword [ebp - 0x28], 0x9c4c751f
add dword [ebp - 0x28], 0x95e6d726
mov dword [ebp - 0x24], 0x3683a09c
add dword [ebp - 0x24], 0x15c8a392
mov dword [ebp - 0x20], 0xa76d2afe
sub dword [ebp - 0x20], 0xa76d2afe
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xfefa7c7a
add dword [ebp - 0x2c], 0x7577ecdc
mov dword [ebp - 0x28], 0xa3a8c87d
add dword [ebp - 0x28], 0x9dc398f8
mov dword [ebp - 0x24], 0xd4ac73f5
sub dword [ebp - 0x24], 0x713d0789
mov dword [ebp - 0x20], 0x7b35ad5e
sub dword [ebp - 0x20], 0x7b35ad5e
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x1d189930
add eax, 0xf2ea26f8
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3823c
push 0
call eax
mov ecx, 0xf5389ab0
sub ecx, 0xf5384c00
mov edi, eax
mov esi, 0x10039600
add esi, dword [ebp - 0x1c]
mov ebx, 0x3cb9376
add ebx, 0xdb87aba8
sub dword [ebp - 8], eax
mov edx, dword [esi]
sub dword [ebp - 0x18], edi
sub edx, ebx
mov dword [ebp - 0xc], 0x8bf1c49c
mov dword [edi], edx
xor dword [ebp - 8], ecx
add edi, 4
add esi, 4
loop 0x1002ac05
add eax, 0x641e35f1
sub eax, 0x641d085e
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x1596ae1b
sub ecx, 0x596ae1b
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x40344c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40345b
pop dword [ebp - 0x34]
mov eax, 0x857c1ec
add eax, 0xf7e8726f
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x1c6109e
add dword [ebp - 0x44], 0x4c8c34ad
mov dword [ebp - 0x40], 0x5bb5987a
sub dword [ebp - 0x40], 0x29824c35
mov dword [ebp - 0x3c], 0x11074e2f
sub dword [ebp - 0x3c], 0xc4bb0a01
mov dword [ebp - 0x38], 0xd79a3a8b
add dword [ebp - 0x38], 0x2865c575
lea eax, [ebp - 0x44]
push eax
mov eax, 0x750c3dc9
sub eax, 0x74cbfd75
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x19028481
sub dword [ebp - 0x44], 0xa4901b2b
mov dword [ebp - 0x40], 0xc4d30b72
sub dword [ebp - 0x40], 0x8366a9fd
mov dword [ebp - 0x3c], 0x17c00ed3
sub dword [ebp - 0x3c], 0xb450a267
mov dword [ebp - 0x38], 0x73f18620
add dword [ebp - 0x38], 0x8c0e79e0
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x39b83
push 0
call eax
mov ecx, 0xa38112e8
add ecx, 0x5c7f4083
xor esi, esi
add esi, eax
mov edx, 0xab78d783
sub edx, 0xab385383
add edx, dword [ebp - 0x34]
mov ebx, 0x953b1224
sub ebx, 0xc6abab30
mov edi, dword [edx]
add dword [ebp - 0x2c], 0x38612f55
sub edi, ebx
xor dword [ebp - 0x10], edx
mov dword [esi], edi
xor dword [ebp - 0x24], 0x65146f3d
add esi, 0x12a71a28
sub esi, 0x12a71a24
add edx, 0x21a75f2b
sub edx, 0x21a75f27
loop 0x40357a
add eax, 0xbb34dbbd
add eax, 0x44cc64c2
xor ebx, ebx
add ebx, eax
add eax, 0xd5aeea62
sub eax, 0xd5aeea5d
mov ecx, 0x60e943f7
sub ecx, 0x60a943f7
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x2580f460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x2580f46f
pop dword [ebp - 0x3c]
mov eax, 0xa621594c
add eax, 0x7f5f9b23
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x1277eac0
sub dword [ebp - 0x4c], 0xc425a575
mov dword [ebp - 0x48], 0xf399bea9
sub dword [ebp - 0x48], 0xc1667264
mov dword [ebp - 0x44], 0xf0fc2a85
add dword [ebp - 0x44], 0x5b5019a9
mov dword [ebp - 0x40], 0xe7352e96
add dword [ebp - 0x40], 0x18cad16a
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x6997a881
add dword [ebp - 0x4c], 0xadac0d5
mov dword [ebp - 0x48], 0x19150f1d
add dword [ebp - 0x48], 0x28575258
mov dword [ebp - 0x44], 0x56cc8334
sub dword [ebp - 0x44], 0xf35d16c8
mov dword [ebp - 0x40], 0xf26b5d38
add dword [ebp - 0x40], 0xd94a2c8
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x37cdd863
sub eax, 0x124c07e3
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3af0c
push 0
call eax
mov ecx, 0x8c2c9d76
add ecx, 0x73d3a2e4
mov esi, eax
mov edi, 0x5d908791
sub edi, 0x380df191
add edi, dword [ebp - 0x3c]
mov ebx, 0xf6b49cba
add ebx, 0xbda51c6a
mov dword [ebp - 0x38], 0x338fc7fa
mov edx, dword [edi]
xor dword [ebp - 4], edi
sub edx, ebx
mov dword [ebp - 0x34], 0xfeb14b2a
mov dword [esi], edx
add dword [ebp - 0x28], ebx
add esi, 0x346db3dc
sub esi, 0x346db3d8
add edi, 0xffbb7e62
sub edi, 0xffbb7e5e
loop 0x2580f58c
add eax, 0xf43b
xor ebx, ebx
add ebx, eax
add eax, 0x81447c41
sub eax, 0x81447c3c
mov ecx, 0xad307f9a
sub ecx, 0x87b07f9a
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x66001dd2
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.66001e36
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x6610d050], eax
je 0x660486b9
push 0x74
push 1
call fcn.66001e61
mov esi, eax
add esp, 8
test esi, esi
je 0x660486b9
mov eax, dword [0x6610d050]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x660486b9
push esi
call fcn.6600205b
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x6600206e
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x6610d1f8]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x660020a1
call edi
mov esi, eax
test esi, esi
je 0x66048afb
mov eax, 1
mov dword [0x6610d1f8], eax
cmp eax, 1
jne 0x66048b3e
test esi, esi
je 0x66048b0d
cmp word [esi], 0
mov eax, esi
je 0x660020cc
add eax, 2
cmp word [eax], 0
jne 0x660020ba
add eax, 2
cmp word [eax], 0
jne 0x660020ba
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x66048b30
push edi
call fcn.6600212c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x66048b30
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x66048b20
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
call ebp
mov ebx, eax
test ebx, ebx
je 0x66048b19
mov eax, 2
jmp 0x6600209c
call edi
mov esi, eax
test esi, esi
jne 0x660020b2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push ebx
call fcn.660026ff
add esp, 4
xor ebx, ebx
jmp 0x6600211e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x66048b19
test ebx, ebx
jne 0x66048b4f
call ebp
mov ebx, eax
test ebx, ebx
je 0x66048b19
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x66048b67
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x66048b57
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x66048b57
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.6600212c
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x66048b89
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x6600385b
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.66002deb
mov eax, dword [0x6610f7cc]
mov ebp, dword [esp + 0x10]
cmp eax, 1
je 0x660482ae
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x6610b020], 1
mov byte [0x6610f7c8], bl
jne 0x660038cf
mov ecx, dword [0x6610d7dc]
test ecx, ecx
je 0x660038bd
mov esi, dword [0x6610d7d8]
sub esi, 4
cmp esi, ecx
jb 0x660038bd
mov eax, dword [esi]
test eax, eax
je 0x660038b6
call eax
mov ecx, dword [0x6610d7dc]
sub esi, 4
cmp esi, ecx
jae 0x660038a8
push 0x6610f7bc
push 0x6610f7b4
call fcn.660029c2
add esp, 8
push 0x6610f7c4
push 0x6610f7c0
call fcn.660029c2
add esp, 8
test ebx, ebx
je 0x660482c1
call fcn.66002e3d
pop esi
pop ebp
pop ebx
ret
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x66003875
push ebp
mov dword [0x6610f7cc], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x6600e144
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x6603b50a
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6603b518
push 1
mov dword [ebp + 8], eax
pop ebx
cmp dword [esi + 0x38], ebx
jge 0x6600e18a
mov ecx, dword [esi + 0x24]
push eax
push edi
call fcn.6600e254
test eax, eax
mov dword [ebp - 4], eax
jl 0x6600e21b
mov dword [esi + 0x38], ebx
push 2
pop ebx
cmp dword [esi + 0x38], ebx
jge 0x6600e1d1
mov eax, dword [edi + 0x3c]
shl eax, 0x1f
sar eax, 0x1f
push eax
push dword [esi + 0x28]
call fcn.6600fe2c
test eax, eax
mov dword [ebp - 4], eax
jl 0x6600e21b
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x38], ebx
test al, 1
jne 0x6603b526
xor ecx, ecx
cmp dword [esi + 0x2c], ebx
sete cl
test cl, cl
jne 0x6603b526
test al, 4
jne 0x6603b526
push 3
pop ebx
cmp dword [esi + 0x38], ebx
jge 0x6600e1fd
mov eax, dword [edi + 0x3c]
test al, 4
jne 0x6603b53c
shl eax, 0x1f
sar eax, 0x1f
push eax
push dword [esi + 0x28]
call fcn.660117bb
test eax, eax
mov dword [ebp - 4], eax
jl 0x6600e21b
mov dword [esi + 0x38], ebx
push dword [ebp + 8]
call fcn.6600360e
test eax, eax
jne 0x6603b552
push dword [ebp + 8]
mov ecx, esi
push edi
call fcn.66011c29
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x6600e245
mov eax, dword [ebp - 4]
mov dword [esi + 0xec], eax
xor eax, eax
cmp dword [esi + 0x2c], 2
sete al
test al, al
jne 0x6603b584
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
cmp dword [esi + 0x20], 0
jne 0x6600e221
mov ecx, esi
call fcn.66016bf9
jmp 0x6600e221
mov eax, dword [esi + 0x24]
mov edi, dword [eax + 0x11c]
jmp 0x6600e15c
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x118]
jmp 0x6600e167
mov eax, dword [esi + 0x28]
push 0
push dword [eax + 0x3a8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x6600e1d1
xor ecx, ecx
cmp dword [esi + 0x2c], 1
sete cl
test cl, cl
je 0x6600e1fd
jmp 0x6600e1e4
lea ecx, [ebp + 0xc]
push ecx
mov ecx, eax
call fcn.66013978
test eax, eax
je 0x6600e20d
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x20], 0
jne 0x6603b578
cmp byte [eax + 0x21], 0
je 0x6600e21b
mov dword [ebp - 4], 0x8000ffff
jmp 0x6600e21b
test byte [edi + 0x3c], 1
jne 0x6600e23b
push dword [esi + 0xf4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x6600e23b
Function at 0x6600e254
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x6610f498
lea ecx, [ebp - 4]
call fcn.6600355f
mov ecx, dword [esi + 0x124]
lea eax, [esi + 0x124]
test ecx, ecx
lea edx, [ecx + 1]
mov dword [eax], edx
jne 0x6600e342
mov edi, dword [ebp + 8]
test byte [edi + 0x3c], 1
jne 0x6603b784
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
je 0x6603b769
test al, al
je 0x6600e2b0
cmp al, 0x20
je 0x6600e2b0
mov al, byte [esi + 1]
inc esi
jmp 0x6600e2a2
mov al, byte [esi]
test al, al
je 0x6600e2bd
cmp al, 0x20
jne 0x6600e2bd
inc esi
jmp 0x6600e2b0
push esi
mov dword [0x6610f7dc], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 4
and al, 0xfc
call fcn.660300d8
mov ebx, esp
test ebx, ebx
je 0x6603b7a4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [edi + 0x3c]
shl eax, 0x1f
sar eax, 0x1f
push eax
push dword [ebp + 0xc]
push esi
call fcn.6600e356
mov esi, eax
test esi, esi
jl 0x6603b78e
mov eax, ebx
shr eax, 0x10
test ax, ax
je 0x6603b79d
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and al, 0xfc
call fcn.660300d8
mov eax, esp
push ebx
push eax
call fcn.660035e5
push eax
call fcn.6600fdfe
test eax, eax
je 0x6603b7a4
lea ecx, [ebp - 4]
call fcn.66003592
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 8
mov al, byte [esi + 1]
inc esi
test al, al
je 0x6603b775
cmp al, 0x22
jne 0x6603b769
cmp byte [esi], 0
je 0x6600e2b0
inc esi
jmp 0x6600e2b0
mov esi, 0x6601a650
jmp 0x6600e2bd
lea ecx, [ebp - 4]
call fcn.66003592
mov eax, esi
jmp 0x6600e34c
mov eax, ebx
jmp 0x6600e334
lea ecx, [ebp - 4]
call fcn.66003592
mov eax, 0x8007000e
jmp 0x6600e34c

Function at 0x6600e986
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
mov dword [0x6610fa1c], eax
call fcn.6600e9db
cmp dword [0x6610f734], 0
mov dword [0x6610fa18], eax
jne 0x6600e9b6
xor ecx, ecx
test eax, eax
sete cl
mov dword [0x6610f734], ecx
lea eax, [ebp - 2]
push 2
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x6603b0cf
mov al, byte [ebp - 2]
mov byte [0x6610fa20], al
leave
ret
mov byte [0x6610fa20], 0x2e
leave
ret