joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018537
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10018576
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10018571
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
or dword [ebx + 0xe281d1], ecx
lock add byte [eax], al
or dword [ebx + 0xe281d1], ecx
lock add byte [eax], al
cmp edx, 0x3000
jne 0x1001855b
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10018563
cmp edx, ebx
jne 0x100186b1
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10018532
add eax, dword [eax + 4]
jmp 0x1001851f
mov dword [ebp + 0xc], ebx
jmp 0x10018581
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10018599
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100185b7
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10018615
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100185fc
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10018605
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1001860f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100185f1
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1001857b
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10018662
dec eax
je 0x10018659
sub eax, 3
je 0x10018650
mov dword [ebp - 4], 0x40
jmp 0x1001867f
mov dword [ebp - 4], 4
jmp 0x10018665
mov dword [ebp - 4], 0x20
jmp 0x10018665
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x100186b1
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10018631
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
js fcn.100186c2
push 0x8000
push ebx
push esi
Function at 0x1001874e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebp, 0x55fffffc
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.10017ed2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10017e87
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10017ed2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10017e87
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
inc dword [eax - 0x3db7a3a]
invalid
dec dword [edx - 0x3da7a3a]
invalid
inc dword [edx - 0x3d97a3a]
invalid
dec dword [ebx - 0x3d87a3a]
invalid
jmp [edi - 0x3d77a3a]
invalid
invalid
out dx, al
lea eax, [ebp - 0x3ec]
push eax
call fcn.10017ed2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10017e87
add esp, 0xc
mov dword [ebp - 0x340], eax
cld
invalid
invalid
call fcn.10017ec2
insb byte es:[edi], dx
push cs
pop edx
and byte ss:[ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.10017ed2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10017e87
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.10017ec2
scasd eax, dword es:[edi]
pop edi
ljmp 0xfff9
Function at 0x10018a06
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dh, al
test dword [ecx + edi*8 - 0x39460001], esp
test dword [ebp - 0x6b000007], esp
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.10017ed2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10017e87
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.10017ed2
pop ecx

Function at 0x10018abb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10017e87
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.10017ec2
shl dword [ebp + 0x39], 0x2e
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.10017ed2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10017e87
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.10017ec2
aaa
hlt

Function at 0x10018b83
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
invalid
invalid
invalid

Function at 0x10018d86
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [edx + 0x40], ch
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10017ea0
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
Function at 0x10018e07
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
test dword [ebx + 0x55fffffc], ebp

Function at 0x1001bab2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10011225
and dword [ebp - 4], 0
cmp dword [0x10026680], 0
mov ebx, eax
jne 0x1001bb63
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001bc14
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10020064
push edi
call esi
test eax, eax
je 0x1001bc14
push eax
call fcn.100111b3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10026680], eax
call esi
push eax
call fcn.100111b3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10026684], eax
call esi
push eax
call fcn.100111b3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10026688], eax
call esi
push eax
call fcn.100111b3
pop ecx
mov dword [0x10026690], eax
test eax, eax
je 0x1001bb63
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100111b3
pop ecx
mov dword [0x1002668c], eax
mov eax, dword [0x1002668c]
cmp eax, ebx
je 0x1001bbbb
cmp dword [0x10026690], ebx
je 0x1001bbbb
push eax
call fcn.1001122e
push dword [0x10026690]
mov esi, eax
call fcn.1001122e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001bbbb
test edi, edi
je 0x1001bbbb
call esi
test eax, eax
je 0x1001bbb2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001bbb2
test byte [ebp - 0xc], 1
jne 0x1001bbbb
or dword [ebp + 0x10], 0x200000
jmp 0x1001bbf4
mov eax, dword [0x10026684]
cmp eax, ebx
je 0x1001bbf4
push eax
call fcn.1001122e
pop ecx
test eax, eax
je 0x1001bbf4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001bbf4
mov eax, dword [0x10026688]
cmp eax, ebx
je 0x1001bbf4
push eax
call fcn.1001122e
pop ecx
test eax, eax
je 0x1001bbf4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10026680]
call fcn.1001122e
pop ecx
test eax, eax
je 0x1001bc14
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001bc16
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10180d36
Capabilities:
Encode data using xor

Disassembly:
call 0x1017fa20
jmp 0x10180d66
pushal
lea esp, [esp + 0xf]
pop edi
bswap edi
pop dword [esp + 4]
mov dword [esp], ebp
jmp 0x10180d52
mov ebx, dword [esp + 0x28]
jmp 0x10180d20
cmp dword [esp + 4], 0
jmp 0x10180d83
bswap edi
xchg dword [esp + 4], edi
lea esp, [esp + 1]
mov edi, dword [esp + 0x35]
lea esp, [esp + 0x3c]
jmp 0x10180d3c
pop eax
sub eax, 0xdfc4acdd
jmp 0x10180da5
jne fcn.10180c52
pushal
jmp 0x1017fa1b
call 0x10180db7
dec ebx
inc ebp
push edx
dec esi
inc ebp
dec esp
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add bl, ch
salc
jnp 0x10180da5
js 0x10180ddc
ljmp 0xbfac:0x5d228b54
adc byte [0x559a40d6], al

Function at 0x10182072
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10181feb
mov ah, byte [esp]
mov al, dh
mov eax, dword [esp]
lea esp, [esp + 4]
jmp 0x10182009
sub eax, 0x2d83a89a
jmp 0x10182062
call 0x10182072
push ebp
push ebx
inc ebp
push edx
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add bh, bh
nop
in eax, dx
mov dword [ecx - reloc.MSVCRT.dll_strncpy], eax
invalid

Function at 0x1019aa81
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.1019ab0e
stc
jnp 0x1019a626
invalid
jmp 0x1019aad3
lea esp, [esp + 3]
lea esp, [esp + 0x1c]
pop ecx
jmp 0x1019aa79
mov eax, ebx
lea esp, [esp + 4]
lea ecx, reloc.MSVCRT.dll_strncpy
call fcn.1019a990
lea esp, [esp + 4]
call fcn.10182e7d
sub esp, 0x1f
xchg dword [esp + 4], ecx
xchg dword [esp + 0xe], ecx
lea ecx, [eax + esi]
jmp 0x1019a992
mov dword [ebp + esi*4 - reloc.MSVCRT.dll_strncpy], eax
jmp 0x1019a9af
pop ecx
test esi, esi
call fcn.1019aa2c
lea esp, [esp + 4]
lea edi, reloc.MSVCRT.dll_strncpy
mov ch, cl
jmp 0x1019ac08
cmp eax, reloc.MSVCRT.dll_strncpy
jmp 0x1019ab26
bswap eax
mov ax, 0x959e
btr eax, esp
mov eax, dword [ebp + ebx*4 - reloc.MSVCRT.dll_strncpy]
jmp 0x1019aabd
mov esi, edx
mov ebx, 0x1e5aafd1
mov dword [esp + 0x10], ebp
popal
jmp 0x1019ab03
mov eax, dword [ebp]
pop ebp
push ebx
pushal
jmp 0x1019aae5
lea ebx, [ebx - 8]
mov dword [ebx], eax
pop ebx
jmp 0x1019a61d
jne 0x1019a633
push ebp
mov ebp, esi
jmp 0x1019aafb
lea esi, reloc.MSVCRT.dll_strncpy
pushfd
mov dword [ebp - 0x10], eax
lea esp, [esp + 4]
jmp 0x1019a68d
lea ecx, reloc.MSVCRT.dll_strncpy
sub eax, ecx
pushfd
lea esp, [esp + 4]
jmp 0x1019ab82
mov cx, word [esp]
add esi, ebx
rcr cl, 4
btr ecx, eax
jmp 0x1019abd0

Function at 0x101e7c49
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 4]
jmp 0x101e7c85
call dword [fcn.101750f0]
mov dword [0x10175044], eax
jmp 0x1016bfa4

Function at 0x101e7dce
Capabilities:
Execute anti-debugging instructions

Disassembly:
jb 0x1016c001
jae 0x1016bf8a
imul esp, esi, 0x74
adc ebp, esi
sub al, 0x97
dec cl
push 0x3b0cc783
or byte [ebp + ecx*4 + 0x64], dl
and al, 4
add edi, 0xc
cmp ecx, dword [eax]
push esp
lea esp, [esp + 4]
jmp 0x101e7d89
push dword [esp + 3]
lea esp, [esp + 8]
jmp 0x101e7d9f
Function at 0x1028a859
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [eax + 0xc]
jmp 0x1028a840
mov eax, dword fs:[0x30]
jmp 0x1028a7fe
mov dword [esp + 0x3c], esi
pushal
mov word [esp + 0x1c], bp
mov dword [esp + 0x58], edi
lea esp, [esp + 0x58]
jmp 0x1028a814
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x1028a881
push word [esp + 1]
mov byte [esp + 1], ah
mov byte [esp], bh
lea esp, [esp + 2]
jmp 0x1028a82c

Function at 0x45ca00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x435015
lea edi, [esi - 0x34015]
push edi
jmp 0x45ca1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45ca21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45ca10
mov eax, 1
add ebx, ebx
jne 0x45ca33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45ca28
jne 0x45ca44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45ca28
xor ecx, ecx
sub eax, 3
jb 0x45ca58
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45caca
mov ebp, eax
add ebx, ebx
jne 0x45ca63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45ca70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45ca94
inc ecx
add ebx, ebx
jne 0x45ca80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45ca75
jne 0x45ca91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45ca75
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45cab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45caa5
jmp 0x45ca16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45cab4
add edi, ecx
jmp 0x45ca16
pop esi
mov edi, esi
mov ecx, 0x17
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45cad2
cmp byte [edi], 0xe
jne 0x45cad2
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 0x45cad7
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45cb46
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5c244]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5c318]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45cb04
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5c320]
or eax, eax
je 0x45cb40
mov dword [ebx], eax
add ebx, 4
jmp 0x45cb21
call dword [esi + 0x5c31c]
mov ebp, dword [esi + 0x5c324]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x45cb7a
sub esp, 0xffffff80
jmp 0x433fa0
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6a
nop
nop
sub eax, 0x403d10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x404170
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x404181
jmp dword [eax*4 + 0x40592c]
cmp dword [0x408088], 0
je 0x404290
push 0x40808c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4080a4]
test edi, edi
je 0x404285
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4041cb
mov edi, dword [edi + 8]
test edi, edi
je 0x404285
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x4041c0
test esi, esi
je 0x4041c0
mov ecx, dword [edi + 4]
call dword [0x4059fc]
push esi
call ecx
add esp, 4
jmp 0x4041c0
call fcn.00403b10
jmp case.default.0x404181
cmp dword [0x408088], 0
je case.default.0x404181
push 0x40808c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4080a4]
test edi, edi
je 0x404278
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x404237
mov edi, dword [edi + 8]
test edi, edi
je 0x404278
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x404230
test esi, esi
je 0x404230
mov ecx, dword [edi + 4]
call dword [0x4059fc]
push esi
call ecx
add esp, 4
jmp 0x404230
cmp dword [0x408088], 0
jne 0x40426c
push 0x40808c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x408088], 1
jmp case.default.0x404181
push 0x40808c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.default.0x404181
push 0x40808c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x408088]
cmp eax, 1
jne case.default.0x404181
mov eax, dword [0x4080a4]
test eax, eax
je 0x4042c2
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, esi
test esi, esi
jne 0x4042b0
mov dword [0x4080a4], 0
mov dword [0x408088], 0
push 0x40808c
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x404400
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x405004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x404466
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x404466
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x404466
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x404466
mov edx, dword [esp + 0xc]
sub edx, dword [0x405004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x404456
add esi, 0x28
dec ecx
je 0x404466
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x404450
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x404450
mov eax, esi
pop esi
pop edi
ret