joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027710
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
push str._Copy
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.CDAOContext.0
mov dword [esp + 0x10], esi
call fcn.10009750
mov eax, dword [esi + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.1004edd0
test eax, eax
je 0x10027764
movzx eax, ax
or eax, 0x800a0000
lea ecx, [esp + 8]
mov dword [esp + 0x10], eax
mov esi, eax
call fcn.100097c0
mov eax, esi
pop esi
add esp, 0x10
ret 8
call fcn.10020d20
test eax, eax
jl 0x10027793
mov edx, dword [0x1007eed0]
push 0x12c
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.10069dc0
test eax, eax
jne 0x100277f6
push 0x100202e0
call fcn.1005ad10
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push ecx
push 0x10070468
push 0
push eax
call fcn.10005db0
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
jge 0x10027823
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100277ff
mov eax, dword [eax + 8]
test eax, eax
je 0x100277ff
push 2
push esi
push eax
call fcn.10019ba0
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x14], eax
call fcn.100573a0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 8]
call fcn.10007380
mov eax, esi
pop esi
add esp, 0x10
ret 8
mov ecx, eax
call fcn.100058b0
jmp 0x10027795
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x14], esi
call fcn.100573a0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 8]
call fcn.100097c0
mov eax, esi
pop esi
add esp, 0x10
ret 8
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
lea ecx, [esp + 8]
call fcn.100097c0
mov eax, esi
pop esi
add esp, 0x10
ret 8

Function at 0x10027880
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.10020d20
test eax, eax
jl 0x100278b1
mov eax, dword [0x1007eed0]
push 0x12c
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.10069dc0
test eax, eax
jne 0x100278d5
push 0x100202e0
call fcn.1005ad10
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [edx + 0x28]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push 0
push eax
call fcn.10005db0
pop esi
ret 0xc
mov ecx, eax
call fcn.100058b0
jmp 0x100278b3

Function at 0x10027f50
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.10020d20
test eax, eax
jl 0x10027f81
mov eax, dword [0x1007eed0]
push 0xe4
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.10069dc0
test eax, eax
jne 0x10027fa5
push 0x100202e0
call fcn.1005ad10
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [edx + 0x28]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push 0
push eax
call fcn.10005db0
pop esi
ret 0xc
mov ecx, eax
call fcn.10005360
jmp 0x10027f83
Function at 0x1002b380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
mov ebp, ecx
push edi
mov edi, dword [ebx + 4]
lea ecx, [esp + 0x18]
call fcn.100139b0
mov ecx, dword [ebx + 0x18]
cmp ecx, 0xf
jne 0x1002b408
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
push ecx
push 4
push edx
push ebx
mov ecx, ebp
call fcn.1002abb0
mov esi, eax
test esi, esi
jl 0x1002b485
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
mov edx, dword [eax + 0x1a4]
push ecx
mov ecx, ebp
call edx
mov esi, eax
test esi, esi
jl 0x1002b4ad
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1002b3f3
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x10]
mov dword [eax], ecx
lea ecx, [esp + 0x18]
call fcn.10014290
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 0x10
test byte [edi + 0x78], 4
mov eax, dword [edi + 0xb8]
je 0x1002b42c
lea ecx, [esp + 0x18]
call fcn.10014290
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0x28
ret 0x10
cmp ecx, 0xe
jne 0x1002b49a
mov edx, dword [eax]
mov edx, dword [edx + 0x94]
lea ecx, [esp + 0x28]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jl 0x1002b4ad
mov ecx, dword [edi + 8]
movzx eax, word [ecx + 0xc6]
cmp ax, 0xc
je 0x1002b45d
cmp ax, 0xb
jne 0x1002b46c
mov dword [ebp + 0x15c], 1
or word [edi + 0x78], 4
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x14]
push edx
push eax
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.1002ac30
mov esi, eax
lea ecx, [esp + 0x18]
call fcn.10014290
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jge 0x1002b447
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x20]
lea edx, [esp + 0x10]
push edx
push edi
call eax
mov ebx, eax
test ebx, ebx
jge 0x1002b4d9
lea ecx, [esp + 0x18]
call fcn.10014290
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x28
ret 0x10
mov ecx, dword [edi]
mov eax, dword [ecx + 0x24]
lea edx, [esp + 0x40]
push edx
push edi
call eax
mov edi, eax
test edi, edi
jge 0x1002b501
lea ecx, [esp + 0x18]
call fcn.10014290
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10
cmp word [esp + 0x40], 0
jne 0x1002b515
cmp word [esp + 0x10], 0
je 0x1002b485
lea ecx, [esp + 0x18]
call fcn.10014290
pop edi
pop esi
pop ebp
mov eax, 0x41001
pop ebx
add esp, 0x28
ret 0x10
Function at 0x10037820
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.10020d20
test eax, eax
jl 0x10037851
mov eax, dword [0x1007eed0]
push 0x1c0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.10069dc0
test eax, eax
jne 0x10037875
push 0x100202e0
call fcn.1005ad10
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [edx + 0x28]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push 0
push eax
call fcn.10005db0
pop esi
ret 0xc
mov ecx, eax
call fcn.10007380
jmp 0x10037853

Function at 0x1003a1e0
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.10020d20
test eax, eax
jl 0x1003a211
mov eax, dword [0x1007eed0]
push 0x12c
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.10069dc0
test eax, eax
jne 0x1003a235
push 0x100202e0
call fcn.1005ad10
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [edx + 0x28]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push 0
push eax
call fcn.10005db0
pop esi
ret 0xc
mov ecx, eax
call fcn.10004db0
jmp 0x1003a213
Function at 0x1003b450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
push esi
lea ecx, [esp + 0x44]
call fcn.100139b0
mov esi, vtable.CVarConvW.0
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], esi
call fcn.100139b0
lea ecx, [esp + 4]
mov dword [esp + 0x24], esi
call fcn.100139b0
mov eax, dword [esp + 0x6c]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 8], esi
call fcn.10007380
mov esi, eax
test esi, esi
jl 0x1003b54b
mov ecx, dword [esp + 0x70]
push ecx
lea ecx, [esp + 0x28]
call fcn.100152f0
mov esi, eax
test esi, esi
lea ecx, [esp + 4]
jl 0x1003b54f
mov edx, dword [esp + 0x78]
push edx
call fcn.100152f0
mov esi, eax
test esi, esi
jl 0x1003b54b
mov eax, dword [esp + 0x14]
movzx ecx, ax
and ecx, 0xffffbfff
cmp ecx, 8
jne 0x1003b4e9
test eax, 0x4000
mov edx, dword [esp + 0x1c]
je 0x1003b4eb
mov edx, dword [edx]
jmp 0x1003b4eb
xor edx, edx
mov eax, dword [esp + 0x34]
movzx ecx, ax
and ecx, 0xffffbfff
cmp ecx, 8
jne 0x1003b512
test eax, 0x4000
je 0x1003b50c
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
jmp 0x1003b514
mov ecx, dword [esp + 0x3c]
jmp 0x1003b514
xor ecx, ecx
mov eax, dword [esp + 0x54]
movzx esi, ax
and esi, 0xffffbfff
cmp esi, 8
jne 0x1003b535
test eax, 0x4000
mov eax, dword [esp + 0x5c]
je 0x1003b537
mov eax, dword [eax]
jmp 0x1003b537
xor eax, eax
push edx
mov edx, dword [esp + 0x78]
push edx
push ecx
push eax
mov eax, dword [esp + 0x78]
push eax
call fcn.10018130
mov esi, eax
lea ecx, [esp + 4]
call fcn.10014290
lea ecx, [esp + 0x24]
call fcn.10014290
lea ecx, [esp + 0x44]
call fcn.10014290
mov eax, esi
pop esi
add esp, 0x60
ret 0x14
Function at 0x10054390
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, dword [edi + 0x18]
mov dword [esp + 0x14], 0x21270
call fcn.10057e50
cmp dword [edi + 0x10], 0x25
mov ebx, 1
jge 0x100544da
cmp dword [edi + 0x498], 0
je 0x100543c9
cmp word [edi + 8], bx
je 0x100544da
push esi
mov si, word [esp + 0x38]
cmp si, bx
jb 0x100544c5
mov eax, dword [esp + 0x1c]
and eax, 0x7fff
cmp eax, 8
jne 0x100544c5
cmp si, bx
jbe 0x1005442e
mov ax, word [esp + 0x30]
cmp ax, 0xffff
jne 0x10054400
or dword [esp + 0x18], ebx
jmp 0x10054418
test ax, ax
je 0x10054418
lea ecx, [esp + 0x18]
movzx edx, ax
push ecx
push edx
call fcn.10007380
and dword [esp + 0x18], 0xfffffffd
cmp si, 2
jbe 0x1005442e
cmp word [esp + 0x34], 0xffff
jne 0x1005442e
or dword [esp + 0x18], 0x80
push edi
call fcn.1005e5f0
mov esi, eax
test esi, esi
je 0x1005444e
lea eax, [esp + 0x1c]
push eax
push ebp
call fcn.1004aeb0
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
ret 0x28
mov ecx, dword [esp + 0x20]
push ecx
call fcn.10020570
mov esi, eax
add esi, ebx
lea edx, [esi + esi]
push edx
push edi
push ebp
call fcn.1004af50
mov ebx, eax
test ebx, ebx
je 0x10054481
mov eax, dword [esp + 0x20]
push eax
push ebp
call fcn.1004ae90
pop esi
pop edi
pop ebp
mov eax, ebx
pop ebx
ret 0x28
mov ecx, dword [0x1007eed0]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [eax + 0x38]
mov edx, dword [esp + 0x20]
push esi
push ebx
push edx
call fcn.100205a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0x1002
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
push ebx
push edi
push ecx
push 0xffffffffffffffff
push ebp
call fcn.10053540
pop esi
pop edi
pop ebp
pop ebx
ret 0x28
push ebx
push 0
push edi
push 0xfffffc15
call fcn.1005a550
pop esi
pop edi
pop ebp
pop ebx
ret 0x28
push ebx
push 0
push edi
push 0xffff8abf
call fcn.1005a550
pop edi
pop ebp
pop ebx
ret 0x28
Function at 0x1005ac30
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1007eed0]
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call esi
xor ebp, ebp
test eax, eax
jne 0x1005acdc
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0xc]
push 0x70
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], 8
call fcn.10069dc0
mov ebx, eax
cmp ebx, ebp
jne 0x1005aca3
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x28
ret 8
push edi
push 0x70
push ebp
push ebx
call sub.msvcrt.dll_memset
mov ecx, 0xa
lea esi, [esp + 0x1c]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov dword [ebx + 0x2c], 1
mov dword [ebx + 0x50], ebp
mov dword [ebx + 0x54], ebp
mov dword [ebx + 0x58], ebp
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x64], ebp
mov dword [ebx + 0x68], ebp
mov dword [ebx + 0x6c], ebp
pop edi
jmp 0x1005aceb
mov ecx, dword [0x1007eed0]
push ecx
call esi
mov ebx, eax
add dword [ebx + 0x2c], 1
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x1005acf5
mov dword [eax], ebx
mov eax, dword [ebx + 0x2c]
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x438c8b
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x438a14
sub edi, 0x22460ea0
sub edi, 0x27246874
sub esi, 1
call fcn.00438cdc
add esi, edi
mov edi, 0x7697fccb
xor dword [edx], ebx
mov edi, esi
and edi, esi
add edx, 1
or edi, edi
sub esi, esi
cmp edx, ecx
jne fcn.00438c8b
add esi, 0x86a7a9b9
sub esp, 4
mov dword [esp], 0xca9ecbbe
mov esi, dword [esp]
add esp, 4
or edi, edi
ret
Function at 0x401db5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401df4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401df4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401df4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401df4
cmp dword [ecx + 0x74], 0xe
jbe 0x401df4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x408178
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 0x408215
push ebx
push esi
call fcn.00408141
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.004080d5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4081c2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408214
push edi
push eax
call fcn.00408d95
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4081e2
call fcn.00406cb8
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408213
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004080d5
add esp, 0x20
test eax, eax
jne 0x408201
push edi
call fcn.00406cb8
jmp 0x408209
push ebx
call fcn.00406cb8
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 0x409512
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411220
push 0x411218
push str.FlsAlloc
push 0x1f
call fcn.004093d1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409546
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f148]
call esi
jmp 0x40954c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x409590
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411230
push 0x411228
push str.FlsGetValue
push 0x21
call fcn.004093d1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4095c7
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f148]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4095cf
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411238
push 0x411230
push str.FlsSetValue
push 0x22
call fcn.004093d1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409609
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40f148]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40e9c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e9ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e9ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x1fc46dc6
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x7a7d2a79
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x8f7058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8f71a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8f707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f706a
add dl, dl
jne 0x8f7089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f70dc
xor eax, eax
add dl, dl
jne 0x8f7096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8f717d
add dl, dl
jne 0x8f70a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f70b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f70bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f70c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8f70d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8f7075
mov eax, 1
add dl, dl
jne 0x8f70ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8f70f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f70e1
sub eax, ebx
mov ebx, 1
jne 0x8f7128
mov ecx, 1
add dl, dl
jne 0x8f710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8f7119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f7105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f7075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8f713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8f714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8f7136
cmp eax, 0x7d00
jae 0x8f716d
cmp eax, 0x500
jb 0x8f7168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f7075
cmp eax, 0x7f
ja 0x8f7170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8f7075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8f719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8f7075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219