joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101c7b75
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x101c7bba
call fcn.101c2130
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x101c7bba
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x101c7bd6
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.101d0bea
mov ebx, eax
test edi, edi
je 0x101c7bd4
test esi, esi
je 0x101c7bd4
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x101ce4c1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.101cc253
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x101ce4fd
call fcn.101ce6e0
mov dword [esi + 0xc], 1
jmp 0x101ce502
call fcn.101ce6e0
cmp dword [esi], 0
je 0x101ce54b
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x101ce525
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.101c292d
jmp 0x101ce536
push 0xff
mov ecx, esi
call fcn.101c22c6
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.101c2950
jmp 0x101ce56f
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x101ce56f
push dword [esi]
push dword [ebp - 4]
call fcn.101cdd08
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x101ce635
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.101ce6e0
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x101ce67d
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.101c292d
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.101c2950
jmp 0x101ce688
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.101cdd08
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x101d3978
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.101c2130
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x101d39af
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.101d39d0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x102781c8
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x10307f40
call fcn.102e1c3f
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.101c38fc
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x1037ea20
call fcn.101d0e22
cmp eax, 0xffffffff
jne 0x1027827c
push 0
push 0x10385324
lea ecx, [ebp - 0x4d0]
call fcn.101d0e22
cmp eax, 0xffffffff
jne 0x1027827c
push 0
push 0x103803a4
lea ecx, [ebp - 0x4d0]
call fcn.101d0e22
cmp eax, 0xffffffff
jne 0x1027827c
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.101c38fc
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x10278258
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.101c2336
jmp 0x102782ab
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.101c3070
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.101c2336
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x102782a2
mov ebx, dword [ebp - 0x4cc]
jmp 0x102782ab
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.101c2336
mov eax, ebx
call fcn.102e1bee
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040a7e3
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040a7e3
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040a7e3
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040a7e3
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040a7e3
mov dword [0x41203c], eax
call fcn.0040a7e3
test eax, eax
jge 0x402550
push 8
call fcn.0040a7e3
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040a7e3
pop ecx
push 1
call fcn.0040a7e3
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040a7e3
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040a7e3
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040a7e3
jmp 0x402495

Function at 0x40a7e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x40a7f2
pop dword [ebp - 0x1c]
mov eax, 0xd06df527
sub eax, 0xd02d4d35
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x38c3f
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x5b42c6f6
add ecx, 0xa4bd7f44
xor esi, esi
add esi, eax
mov edi, 0x39c2c7f4
sub edi, 0x39818c30
add edi, dword [ebp - 0x1c]
mov edx, 0x9c645bd4
add edx, 0x119fd644
xor dword [ebp - 4], edi
mov ebx, dword [edi]
add dword [ebp - 0x18], ebx
xor ebx, edx
xor dword [ebp - 0xc], 0x73c93d8
mov dword [esi], ebx
sub dword [ebp - 0xc], esi
add esi, 0x5ca94bc9
add esi, 0xa356b43b
add edi, 0xaabd504a
sub edi, 0xaabd5046
loop 0x40a84e
add eax, 0x157545ee
sub eax, 0x15743a33
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x100082ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x100082b6
repz ret
jmp fcn.1000869f
Function at 0x2e013ece
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e03021f
call fcn.2e00153c
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call fcn.2e014c10
test ax, ax
je 0x2e013f76
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e013f76
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e013f6d
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e01e54b
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e013f60
push esi
mov ecx, edi
call fcn.2e010c49
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e01e54b
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e001586
ret

Function at 0x2e0149fe
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030292
call fcn.2e02e16c
mov esi, dword [ebp + 8]
xor eax, eax
mov bl, al
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x10], eax
jbe 0x2e014b02
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.2e0148ed
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push esi
call fcn.2e010b76
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014ac0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x2e032941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014ab7
mov eax, dword [ebp - 0x2c]
inc eax
push eax
call fcn.2e01e54b
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push esi
push 0
push 0
push 0x2e032941
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014aa9
push esi
mov ecx, edi
call fcn.2e010c49
mov bl, 1
push 1
push esi
mov byte [ebp - 4], 0
call fcn.2e01e54b
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e014b02
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 2
cmp eax, 0x1000
jb 0x2e014af9
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.2e01e54b
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.2e01e54b
pop ecx
pop ecx
mov al, bl
call fcn.2e02e14a
ret 8
Function at 0x2e014b3c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e0302bf
call fcn.2e00153c
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x2e014b76
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014bdc
lea eax, [ebp - 0x14]
mov edi, 0x2e032941
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014bd3
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014bd3
inc eax
push eax
call fcn.2e01e54b
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014bc5
mov ecx, dword [ebp + 0xc]
push esi
call fcn.2e010c49
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e01e54b
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e001586
ret 8
Function at 0x2e01e341
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x2e030586
call fcn.2e02e16c
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
mov edi, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e01e45f
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01e456
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.2e01e54b
mov esi, eax
pop ecx
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x2e01e449
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.2e010c49
push str.IE.HTTP
lea ecx, [ebp - 0x28]
call fcn.2e01e54b
test al, al
jne 0x2e01e3fc
push ebx
push str.AppX
lea ecx, [ebp - 0x28]
call fcn.2e01e54b
push 1
test eax, eax
pop edx
cmove edi, edx
jmp 0x2e01e3ff
xor edx, edx
inc edx
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x2e01e439
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], dl
cmp eax, 0x1000
jb 0x2e01e430
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.2e01e54b
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
push eax
push ecx
call fcn.2e01e54b
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
inc ecx
mov byte [ebp - 0x28], bl
or dword [ebp - 4], 0xffffffff
push ecx
push esi
call fcn.2e01e54b
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, di
call fcn.2e02e14a
ret
Function at 0x2e01e54b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x2e01e55a
pop dword [ebp - 8]
mov eax, 0xbbcbe63f
sub eax, 0x8dca00e5
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x20ae8114
add dword [ebp - 0x18], 0x2da3c437
mov dword [ebp - 0x14], 0xd52d9366
add dword [ebp - 0x14], 0x5d05b8df
mov dword [ebp - 0x10], 0x161ea69b
sub dword [ebp - 0x10], 0xc9d2626d
mov dword [ebp - 0xc], 0xb432d64f
sub dword [ebp - 0xc], 0xb432d64f
lea eax, [ebp - 0x18]
push eax
mov eax, 0x1434d1d6
add eax, 0x19ce4ef2
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x33168bbe
add dword [ebp - 0x18], 0x415bdd98
mov dword [ebp - 0x14], 0xffd7f9c1
sub dword [ebp - 0x14], 0xbe6b984c
mov dword [ebp - 0x10], 0xbdd2648d
sub dword [ebp - 0x10], 0x5a62f821
mov dword [ebp - 0xc], 0x17d2aca4
add dword [ebp - 0xc], 0xe82d535c
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x44f20884
add eax, 0xe9111838
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3ff3f
push 0
call eax
mov ecx, 0xb4fe9fc3
add ecx, 0x4b01a3fe
xor edi, edi
add edi, eax
mov edx, 0x86f74c6a
add edx, 0xa70e2196
add edx, dword [ebp - 8]
mov esi, 0xb26bc378
sub esi, 0xc5e1fe94
sub dword [ebp - 4], 0x99387f0
mov ebx, dword [edx]
mov dword [ebp - 4], 0x50b0790e
xor ebx, esi
mov dword [ebp - 4], 0x5434593c
mov dword [edi], ebx
xor dword [ebp - 4], 0x509649c1
add edi, 0x8f1c9414
sub edi, 0x8f1c9410
add edx, 0xadbee576
add edx, 0x52411a8e
loop 0x2e01e67e
add eax, 0xd6ea4f10
sub eax, 0xd6e94d39
mov ebx, eax
add eax, 5
mov ecx, 0x5b28257d
sub ecx, 0x2d28257d
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x40c3a3
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 0x40c440
push ebx
push esi
call fcn.0040c36c
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.0040c300
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40c3ed
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c43f
push edi
push eax
call fcn.0040cfc0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40c40d
call fcn.0040ae61
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40c43e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040c300
add esp, 0x20
test eax, eax
jne 0x40c42c
push edi
call fcn.0040ae61
jmp 0x40c434
push ebx
call fcn.0040ae61
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 0x40d73d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b9730
push 0x4b9728
push str.FlsAlloc
push 0x1f
call fcn.0040d5fc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d771
push dword [ebp + 8]
mov ecx, esi
call dword [0x42114c]
call esi
jmp 0x40d777
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d7bb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b9740
push 0x4b9738
push str.FlsGetValue
push 0x21
call fcn.0040d5fc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d7f2
push dword [ebp + 8]
mov ecx, esi
call dword [0x42114c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40d7fa
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4b9748
push 0x4b9740
push str.FlsSetValue
push 0x22
call fcn.0040d5fc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d834
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42114c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000fff4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10010003
pop dword [ebp - 0x14]
mov eax, 0x10010003
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x37ff9
push 0
mov eax, 0x250c6352
add eax, 0xeaf4fdee
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x3fb6
mov edi, eax
mov esi, 0x10024400
add esi, dword [ebp - 0x14]
mov ebx, 0xacef78ab
add ebx, 0xd6006015
add dword [ebp - 0x10], edi
mov edx, dword [esi]
xor dword [ebp - 8], edi
sub edx, ebx
mov dword [ebp - 4], 0xfd81d107
mov dword [edi], edx
add dword [ebp - 8], ecx
add edi, 0x299205b9
sub edi, 0x299205b5
add esi, 4
loop 0x10010051
add eax, 0xf1ab
mov ebx, eax
add eax, 0x7b3b1408
add eax, 0x84c4ebfd
mov ecx, 0x36bd6425
add ecx, 0xd9429bdb
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x40e3f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x40e412
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e419
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x40e408
mov eax, 1
add ebx, ebx
jne 0x40e42d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e422
jne 0x40e43e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e422
xor ecx, ecx
sub eax, 3
jb 0x40e452
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e4c6
mov ebp, eax
add ebx, ebx
jne 0x40e45d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e46a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e48e
inc ecx
add ebx, ebx
jne 0x40e47a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e46f
jne 0x40e48b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e46f
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x40e4b0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e4a2
jmp 0x40e40e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e4b0
add edi, ecx
jmp 0x40e40e
pop esi
mov edi, esi
mov ecx, 0x1a3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e4ce
cmp byte [edi], 0
jne 0x40e4ce
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40e4d3
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e542
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe0b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e500
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe118]
or eax, eax
je 0x40e53c
mov dword [ebx], eax
add ebx, 4
jmp 0x40e51d
call dword [esi + 0xe11c]
popal
jmp 0x4042ac
Function at 0xccf890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x439000]
push edi
jmp 0xccf8aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xccf8b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xccf8a0
mov eax, 1
add ebx, ebx
jne 0xccf8c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xccf8d4
jne 0xccf8f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xccf8f3
dec eax
add ebx, ebx
jne 0xccf8e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xccf8b8
add ebx, ebx
jne 0xccf8ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xccf945
xor ecx, ecx
sub eax, 3
jb 0xccf90b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xccf97a
sar eax, 1
mov ebp, eax
jmp 0xccf916
add ebx, ebx
jne 0xccf916
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xccf8e4
inc ecx
add ebx, ebx
jne 0xccf924
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xccf8e4
add ebx, ebx
jne 0xccf931
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xccf926
jne 0xccf942
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xccf926
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xccf964
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xccf956
jmp 0xccf8a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xccf964
add edi, ecx
jmp 0xccf8a6
pop esi
mov edi, esi
mov ecx, 0x5e3c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xccf982
cmp byte [edi], 0x25
jne 0xccf982
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xccf987
lea edi, [esi + 0x8cc000]
mov eax, dword [edi]
or eax, eax
je 0xccf9ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d1398]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8d1500]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xccf9b4
mov ecx, edi
jns 0xccf9e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8d1508]
or eax, eax
je 0xccf9f9
mov dword [ebx], eax
add ebx, 4
jmp 0xccf9d1
call dword [esi + 0x8d1504]
mov ebp, dword [esi + 0x8d150c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xccfa33
sub esp, 0xffffff80
jmp 0x4d79e4