joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bb92
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.May_15_2015
push 0x432c6c
push str.Mongoose_version__s__c__Sergey_Lyubka__built_on__s_n
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x10
push str.Usage:_n
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
push str.__mongoose__A__htpasswd_file___realm___user___passwd__n
mov edx, dword [sym.imp.MSVCRT.dll__iob]
add edx, 0x40
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
push str.__mongoose__config_file__n
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
push str.__mongoose___option_value_...__n
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
push str._nOPTIONS:_n
mov edx, dword [sym.imp.MSVCRT.dll__iob]
add edx, 0x40
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
push str.___start_browser__yesno__n
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
call fcn.0041943d
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x41bc61
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp dword [eax + edx*4], 0
je 0x41bcb8
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
cmp dword [edx + ecx*4 + 4], 0
jne 0x41bc83
mov dword [ebp - 0xc], str._empty_
jmp 0x41bc90
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4]
push eax
push str.____s__s_n
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x40
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x10
jmp 0x41bc58
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov esp, ebp
pop ebp
ret
Function at 0x41d498
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041d3a0
add esp, 8
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x41d5b4
mov edx, dword [ebp - 0x210]
push edx
call fcn.0041d5b8
add esp, 4
test eax, eax
jne 0x41d5b4
push 0x5c
push 0x43377c
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41d523
lea eax, [ebp - 0x418]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x418]
push edx
call fcn.0041ad9f
add esp, 0xc
jmp 0x41d54b
push 0x43377c
mov eax, dword [ebp - 4]
sub eax, 0x43377c
push eax
push str._.s
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0x103
push 0x433560
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.MSVCRT.dll_strncat]
add esp, 0xc
push 0x103
mov eax, dword [ebp - 0x210]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCRT.dll_strncat]
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVCRT.dll__fullpath]
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041cdea
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x41d650
Capabilities:
Create service
Delete service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0x433920
mov dword [ebp - 0x240], 1
mov eax, dword [ebp + 8]
sub eax, 0x67
neg eax
sbb eax, eax
and eax, 0x40000000
add eax, 0x40000000
push eax
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x41d6c3
mov dword [ebp - 0x240], 0
call fcn.0041d7f7
jmp 0x41d7d3
cmp dword [ebp + 8], 0x67
jne 0x41d760
push 0x118
lea ecx, [ebp - 0x230]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x118
push 0x433564
lea edx, [ebp - 0x230]
push edx
call dword [sym.imp.MSVCRT.dll_wcsncat]
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x230]
push eax
push 1
push 2
push 0x10
push 0xf01ff
mov ecx, dword [str.Mongoose]
push ecx
mov edx, dword [str.Mongoose]
push edx
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x41d759
lea ecx, [ebp - 0x234]
push ecx
push 1
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
jmp 0x41d75e
call fcn.0041d7f7
jmp 0x41d7d3
cmp dword [ebp + 8], 0x68
jne 0x41d7a5
push 0x10000
mov eax, dword [str.Mongoose]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x41d79e
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x41d7a3
call fcn.0041d7f7
jmp 0x41d7d3
push 4
mov eax, dword [str.Mongoose]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x41d7d3
mov dword [ebp - 0x240], 0
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x240]
mov esp, ebp
pop ebp
ret

Function at 0x47daca
Capabilities:
Check for software breakpoints

Disassembly:
call 0x47dacf
pop eax
mov ebx, 0x400000
mov esi, dword [ebx + 0xc0]
lea eax, [ebx + esi]
dec eax
mov cl, byte [eax]
cmp cl, 0xcc
je 0x47dade
sub eax, 3
mov edx, dword [eax]
mov esi, dword [ebx + 0x16c]
add esi, ebx
lea edi, [ebx + 0x1000]
push edi
mov ecx, edx
sub ecx, esi
push ecx
push esi
call fcn.0047d971
lea edx, [eax - 4]
sub edx, dword [edx]
mov esi, dword [edx + 0x80]
push edx
add esi, ebx
mov eax, dword [esi + 0xc]
or eax, eax
je 0x47db5d
add eax, ebx
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebp, eax
mov ecx, dword [esi]
add ecx, ebx
mov edi, dword [esi + 0x10]
add edi, ebx
mov eax, dword [ecx]
or eax, eax
je 0x47db58
pushal
test eax, 0x80000000
je 0x47db42
and eax, 0x7fffffff
jmp 0x47db46
lea eax, [ebx + eax + 2]
push eax
push ebp
call sub.kernel32.dll_GetProcAddress
mov dword [edi], eax
popal
add edi, 4
add ecx, 4
jmp 0x47db2d
add esi, 0x14
jmp 0x47db13
pop edx
add ebx, dword [edx + 0x28]
jmp ebx
Function at 0x10090250
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
cmpsb byte [esi], byte es:[edi]
adc byte [esi + 0x4812], cl
cmc
xchg edx, eax
or al, 0x93
mov byte [edx + 1], 0xe5
aad 0xf0
leave
or al, 0xb5
sub al, 0x40
add byte [eax + edi], bh
xchg edi, eax
test dword [eax], eax
push edi
xor byte [ebx], dh
or al, 0x3c
mov eax, 0x10b88594
inc dword [esi]
add dword [eax], edi
xchg edi, eax
test dword [eax], eax
add byte [edi + 0x50], dl
mov eax, 0x106ff10
cmp byte [edi + 0x50570085], dl
add byte [edi + 0x50], dl
add byte [edi + 0x50], dl
mov ss, word [ebx - 0x47ffff2a]
xchg esp, eax
test dword [eax + 0x4106ff10], edi
mov eax, 0xf84b810
pop eax
pushfd
inc edi
jo 0x10090222
adc bh, bh
add eax, 0x3320be01
or al, 0x58
or al, 0x57
ror byte [esi + 0x97dd], 0xb8
add dword [eax + 0x126ff8c], edi
cmp al, 0x55
inc ebp
aad 0xb8
aam 0x80
xor eax, 0x157b865
jne 0x10090248
xlatb
sbb eax, 0x8e35e3c1
imul edi, dword [esi], 0xffffffff
jmp dword [ebp - 1]

Function at 0x100906c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [edi + 0x50570085], dl
mov gs, word [esi + eax*4]
add byte [eax + 0x10b88594], bh
inc dword [esi]
sar dword [eax + 0x42c4b81c], 0x40
pop eax
pushfd
push edi
push eax
invalid
Function at 0x100c2aed
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
ret
Function at 0x100d0bc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x100d0bd1
xor eax, eax
jmp 0x100d0d68
push 0x44
mov eax, dword [ebp + 8]
push eax
call fcn.101022d0
add esp, 8
mov dword [ebp - 4], eax

Function at 0x100d0be2
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [ebp - 4], 0
jne 0x100d0bef
xor eax, eax
jmp 0x100d0d68
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100d1060
Function at 0x100f3710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jle 0x100f38aa
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 6]
test ecx, ecx
je 0x100f38aa
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100f5e00
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100f3763
mov eax, dword [ebp - 0x10]
jmp 0x100f38ad
imul ecx, dword [ebp + 0xc], 0x30
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
push eax
call fcn.10102450
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100f378a
mov eax, 7
jmp 0x100f38ad
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0xc]
imul edx, ecx, 0x30
push edx
push 0
imul eax, dword [ebp - 0xc], 0x30
add eax, dword [ebp - 8]
push eax
call fcn.100600a0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x60], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
jmp 0x100f37c0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jge 0x100f38aa
imul eax, dword [ebp - 4], 0x30
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx + eax + 0x14], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
cmp dword [ecx], 0
je 0x100f3818
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x4c], 0
jl 0x100f3818
jg 0x100f37ff
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x48], 0
jbe 0x100f3818
imul edx, dword [ebp - 4], 0x30
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x48]
mov dword [eax + edx], esi
mov ecx, dword [ecx + 0x4c]
mov dword [eax + edx + 4], ecx
jmp 0x100f382e
imul edx, dword [ebp - 4], 0x30
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
xor eax, eax
mov esi, dword [ebp - 8]
mov dword [esi + edx], ecx
mov dword [esi + edx + 4], eax
imul ecx, dword [ebp - 4], 0x30
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [edx + ecx + 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.100faea0
add esp, 4
imul edx, dword [ebp - 4], 0x30
mov ecx, dword [ebp - 8]
mov dword [ecx + edx + 0x10], eax
imul edx, dword [ebp - 4], 0x30
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x10], 0
jne 0x100f386b
mov eax, 7
jmp 0x100f38ad
mov ecx, dword [ebp + 8]
push ecx
call fcn.100f7a50
add esp, 4
test eax, eax
je 0x100f3899
imul edx, dword [ebp - 4], 0x30
mov eax, dword [ebp - 8]
lea ecx, [eax + edx + 0x1c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xac]
push eax
call fcn.100f0cb0
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], ecx
jmp 0x100f37b7
mov eax, dword [ebp - 0x10]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100fb1a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x101c4280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x200
mov dword [ebp - 0x124], 0
lea eax, [ebp - 0x10c]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100fb350
add esp, 0x10
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x100fb32f
lea eax, [ebp - 0x10c]
push eax
call fcn.100fbd50
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x100fb31c
call fcn.100fd360
test eax, eax
je 0x100fb299
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x118], ecx
jmp 0x100fb23e
mov edx, dword [ebp - 0x118]
add edx, 2
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x118]
movzx ecx, word [eax]
test ecx, ecx
je 0x100fb268
mov edx, dword [ebp - 0x118]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x100fb266
xor ecx, ecx
mov edx, dword [ebp - 0x118]
mov word [edx], cx
jmp 0x100fb268
jmp 0x100fb22f
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov dword [ebp - 0x124], eax
jmp 0x100fb30d
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x11c], edx
jmp 0x100fb2b6
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
movsx edx, byte [ecx]
test edx, edx
je 0x100fb2de
mov eax, dword [ebp - 0x11c]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x100fb2dc
mov edx, dword [ebp - 0x11c]
mov byte [edx], 0
jmp 0x100fb2de
jmp 0x100fb2a7
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x110]
push edx
call fcn.1005ee27
add esp, 4
cmp dword [ebp - 0x124], 0
jne 0x100fb32f
mov dword [ebp - 0x120], 0x200
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b6af
mov esp, ebp
pop ebp
ret
Function at 0x100fb5f0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.100fbd50
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100fb623
mov eax, 7
jmp 0x100fb6f1
call fcn.100fd360
test eax, eax
je 0x100fb67a
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100fb658
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 5
jne 0x100fb678
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 5
jge 0x100fb678
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
test ecx, ecx
jne 0x100fb62c
jmp 0x100fb6c6
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100fb6a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 5
jne 0x100fb6c6
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 5
jge 0x100fb6c6
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 1
test edx, edx
jne 0x100fb67a
mov eax, dword [ebp - 8]
push eax
call fcn.1005ee27
add esp, 4
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100fb6e7
cmp dword [ebp - 0xc], 2
jne 0x100fb6e7
mov dword [ebp - 0x14], 0
jmp 0x100fb6ee
mov dword [ebp - 0x14], 0xa0a
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x100fbac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x101c4280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
cmp dword [0x101d77cc], 0
je 0x100fbb01
mov eax, dword [0x101d77cc]
push eax
push 0x101ca760
lea ecx, [ebp - 0x10c]
push ecx
push 0xe6
call fcn.10106ec0
add esp, 0x10
jmp 0x100fbbe2
call fcn.100fd360
test eax, eax
je 0x100fbb77
lea edx, [ebp - 0x418]
push edx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x418]
push eax
call fcn.100fd260
add esp, 4
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
je 0x100fbb6b
mov ecx, dword [ebp - 0x428]
push ecx
push 0x101ca75c
lea edx, [ebp - 0x10c]
push edx
push 0xe6
call fcn.10106ec0
add esp, 0x10
mov eax, dword [ebp - 0x428]
push eax
call fcn.1005ee27
add esp, 4
jmp 0x100fbb75
mov eax, 7
jmp 0x100fbd32
jmp 0x100fbbe2
lea ecx, [ebp - 0x210]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x210]
push edx
call fcn.100fd0d0
add esp, 4
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x100fbbd8
mov eax, dword [ebp - 0x424]
push eax
push 0x101ca76c
lea ecx, [ebp - 0x10c]
push ecx
push 0xe6
call fcn.10106ec0
add esp, 0x10
mov edx, dword [ebp - 0x424]
push edx
call fcn.1005ee27
add esp, 4
jmp 0x100fbbe2
mov eax, 7
jmp 0x100fbd32
lea eax, [ebp - 0x10c]
push eax
call fcn.100ff0d0
add esp, 4
mov esi, eax
push str.etilqs_
call fcn.100ff0d0
add esp, 4
lea ecx, [esi + eax + 0x11]
cmp ecx, dword [ebp + 8]
jl 0x100fbc13
mov eax, 1
jmp 0x100fbd32
lea edx, [ebp - 0x10c]
push edx
call fcn.100ff0d0
add esp, 4
mov dword [ebp - 0x41c], eax
jmp 0x100fbc39
mov eax, dword [ebp - 0x41c]
sub eax, 1
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jbe 0x100fbc57
mov ecx, dword [ebp - 0x41c]
movsx edx, byte [ebp + ecx - 0x10d]
cmp edx, 0x5c
jne 0x100fbc57
jmp 0x100fbc2a
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0x105
jae 0x100fbc71
jmp 0x100fbc76
call fcn.1005ddaf
mov ecx, dword [ebp - 0x42c]
mov byte [ebp + ecx - 0x10c], 0
lea edx, [ebp - 0x10c]
push edx
push str._setilqs_
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
sub ecx, 0x11
push ecx
call fcn.10106ec0
add esp, 0x10
mov edx, dword [ebp + 0xc]
push edx
call fcn.100ff0d0
add esp, 4
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x420]
push eax
push 0xf
call fcn.100ffe70
add esp, 8
mov dword [ebp - 0x41c], 0
jmp 0x100fbcf3
mov ecx, dword [ebp - 0x41c]
add ecx, 1
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x420]
add edx, 1
mov dword [ebp - 0x420], edx
cmp dword [ebp - 0x41c], 0xf
jae 0x100fbd24
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x420]
movzx eax, byte [eax]
xor edx, edx
mov ecx, 0x3e
div ecx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x420]
mov cl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [eax], cl
jmp 0x100fbcd5
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x420]
mov byte [edx], 0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b6af
mov esp, ebp
pop ebp
ret
Function at 0x100fccd0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x100fcd15
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100fcd15
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x10], edx
mov eax, 0x70a
jmp 0x100fcd32
xor edx, edx
mov eax, dword [ebp - 0x10]
mov cl, 0x20
call fcn.10108c60
xor ecx, ecx
add eax, dword [ebp - 0xc]
adc edx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x415051
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41507f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41509d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00414fb7
jmp 0x41509d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41509d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00414fb7
test edi, edi
mov eax, edi
jne 0x415087
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx