joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a2f9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0x14
pop ecx
lea eax, [esi + 1]
mul ecx
push edx
push eax
call fcn.01005077
test eax, eax
jl 0x100cd3d
mov eax, dword fs:[0x18]
mov ecx, dword [0x1038030]
mov eax, dword [eax + 0x30]
push edi
push dword [ebp - 4]
add ecx, 0x200000
push ecx
push dword [eax + 0x18]
call dword [fcn.01001370]
mov edi, eax
test edi, edi
je 0x100cd47
push ebx
push 1
lea eax, [ebp - 0xc]
push eax
push 0
push 1
lea eax, [ebp - 8]
push eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.0100a225
mov ebx, eax
test ebx, ebx
jl 0x100cd51
mov eax, dword [ebp - 8]
push dword [esi]
imul eax, eax, 0x14
add eax, edi
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
add eax, edi
mov dword [esi + 0x18], eax
mov eax, dword fs:[0x18]
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.01001378]
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov dword [esi], edi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 8
mov eax, 0xc0000095
jmp 0x100a3ac
mov eax, 0xc0000017
jmp 0x100a3ab
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [fcn.01001378]
jmp 0x100a3a8

Function at 0x100af82
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp byte [ebp + 0x1c], 0
push esi
je 0x100b646
mov eax, 0xc0030001
pop esi
pop ebp
ret 0x18
mov ecx, dword [0x1038030]
push dword [ebp + 0x18]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
add ecx, 0x240000
push ecx
push dword [eax + 0x18]
call dword [fcn.01001370]
mov esi, eax
test esi, esi
je 0x100ccdc
push edi
push dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
push edi
push esi
call dword [fcn.010012a4]
add esp, 0xc
cmp dword [ebp + 0x18], 0x64
jne 0x100b698
cmp dword [0x10383cc], edi
jne 0x100b698
mov dword [0x10383cc], esi
mov eax, dword [ebp + 8]
push esi
push dword [ebp + 0xc]
add eax, 0x1c
push dword [ebp + 0x10]
push eax
call fcn.0100b6be
pop edi
test eax, eax
jne 0x100af92
jmp 0x100cce6
mov eax, 0xc0000017
jmp 0x100af97
push esi
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [fcn.01001378]
and dword [0x10383cc], 0
jmp 0x100ccdc
Function at 0x100b05e
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x34]
push eax
push dword [esi + 0x50]
xor edi, edi
push dword [esi + 0x4c]
mov dword [ebp - 0x10], edi
call fcn.01001a65
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x1010b7a
mov eax, dword [esi + 0x2c]
push ebx
mov ebx, dword [ebp + 0xc]
cmp eax, dword [esi + 0x28]
jae 0x1010c36
mov edi, 0x100b179
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xf]
push eax
push 0
lea eax, [ebp + 0xb]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x34]
push 0x64
push esi
push edi
push ebx
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push dword [esi]
call fcn.0100b0ed
mov dword [ebp - 8], eax
test eax, eax
jge 0x1010b9b
cmp dword [ebp - 8], 0xc0030001
jne 0x1010c26
mov eax, dword [ebp - 8]
pop ebx
xchg ebp, eax
invalid
test bh, dh
xor bh, bh
invalid
push dword [esi + 0x38]
mov eax, dword fs:[0x18]
mov dword [esi + 0x2c], edi
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
cmp word [esi + 0x3c], 0xffff
jne 0x1010bab
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x4c]
mov dword [esi + 0x3c], eax
cmp byte [ebp + 0xb], 0
je 0x1010c05
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push esi
call fcn.01016e93
mov dword [ebp - 8], eax
cmp eax, 0xc0030002
je 0x1010c43
cmp eax, 0xc0030001
je 0x100b0de
test eax, eax
jge 0x1010c19
cmp eax, 0xc0030003
jne 0x1010c26
cmp byte [ebp + 0x10], 0
mov dword [ebp - 8], 0xc0030001
jne 0x100b0de
push 0
push 0x64
push esi
push edi
push ebx
push dword [esi]
call fcn.0100af82
cmp ax, cx
jbe 0x1010b4e
inc ebp
invalid
lea ecx, [eax + 0x26]
cmp cx, 2
jbe 0x1010b4e
lea ecx, [eax + 0x20]
cmp cx, 6
jbe 0x1010b61
lea ecx, [eax - 0x4e00]
mov edx, 0x51a5
cmp cx, dx
jbe 0x1010b61
mov dl, 0xff
invalid
dec dword [ebp + 0x70088]
add byte [edx + 0x12d], bh
lea ecx, [eax + 0x700]
mov edx, 0x12d
cmp cx, dx
cmp ecx, edx
jbe 0x1010b61
mov ecx, 0x25a1
cmp ax, cx
je 0x1010b61
xor eax, eax
push eax
push eax
push eax
push eax
push 1
lea ecx, [ebp + 8]
push ecx
push 0x40
push eax
call dword [0x100147c]
dec eax
dec eax
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4
Function at 0x1015fe7
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
lea edi, [esi + 0x22c]
mov dword [ebp - 0x1c], edi

Function at 0x101942b
Capabilities:
Get process heap force flags

Disassembly:
add byte [ebx - 0x2d7aebab], cl
je 0x1019456
mov al, byte [ebp - 3]
mov edi, edx
test al, al
je 0x101944f
mov esi, dword [ebp - 0x14]
imul esi, esi, 0x14
add esi, dword [ebp - 0x18]
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov byte [edx + 0xe], al
jmp 0x1019456
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push dword [ebp - 0x18]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.01001378]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x101a563
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0xf4]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0xc], edx
test edx, edx
je 0x101a5a8
mov ecx, dword [0x1038258]
mov ax, word [esi]
sub ax, word [ecx + 0xc]
mov di, word [esi + 2]
sub di, word [ecx + 0xe]
sub ax, word [edx + 0x10]
sub di, word [edx + 0x12]
mov word [ebp - 0x50], ax
mov word [ebp - 0x4e], di
jmp 0x101a5ac
mov di, word [ebp - 0x4e]
movzx eax, word [esi]
test ax, ax
je 0x101a5c1
test byte [ebx + 0xf0], 1
je 0x101a5c1
dec eax
mov word [esi], ax
movzx eax, word [esi + 4]
movsx edx, word [ebx + 8]
movsx ecx, ax
inc ecx
cmp ecx, edx
jge 0x101a5df
test byte [ebx + 0xf0], 4
je 0x101a5df
inc eax
mov word [esi + 4], ax
and byte [ebx + 0xf0], 0xfa
cmp word [0x10382f8], 0
mov eax, dword [0x10383dc]
mov dword [0x10383e0], eax
jne 0x101abea
push 1
call 0xfe9d2e
push esi
push ebx
call fcn.0101a012
test eax, eax
je 0x101a61c
push esi
push ebx
call fcn.0101a0ba
jmp 0x101abe1
cmp dword [ebp - 0xc], 0
movzx ecx, word [esi + 2]
je 0x101a643
mov eax, dword [0x1038258]
mov dx, cx
sub dx, word [eax + 0xe]
mov word [ebp - 6], dx
mov dx, word [esi]
sub dx, word [eax + 0xc]
mov word [ebp - 8], dx
jmp 0x101a659
mov ax, cx
sub ax, word [ebx + 0xe]
mov word [ebp - 6], ax
mov ax, word [esi]
sub ax, word [ebx + 0xc]
mov word [ebp - 8], ax
cmp dword [ebp - 0xc], 0
je 0x101a664
movzx eax, di
jmp 0x101a677
movsx eax, word [ebx + 0x44]
movsx edi, word [ebx + 0xa]
movsx edx, cx
add eax, edx
cdq
idiv edi
movzx eax, dx
mov dword [ebp - 0x1c], eax
movzx eax, word [esi + 4]
mov dword [ebp - 0x30], eax
xor eax, eax
cmp cx, word [esi + 6]
mov ecx, dword [0x1038030]
sete al
add ecx, 0x300000
mov dword [ebp - 0x3c], eax
mov eax, dword fs:[0x18]
movsx edx, word [ebx + 8]
mov eax, dword [eax + 0x30]
lea edx, [edx + edx + 2]
push edx
push ecx
push dword [eax + 0x18]
call dword [fcn.01001370]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x101a6e0
mov esi, dword [0x100136c]
push 0x100ece8
push 1
push 0x70
call esi
push 0x100aa2c
push 1
push 0x70
call esi
add esp, 0x18
jmp 0x101ac92
movsx eax, word [esi + 2]
movsx ecx, word [esi + 6]
cmp eax, ecx
mov dword [ebp - 0x28], eax
jg 0x101abc1
test byte [0x10382f8], 2
je 0x101ac17
cmp dword [ebx + 0xf4], 0
jne fcn.0101ac06
cmp dword [0x1038258], ebx
je 0x101ac10
jmp 0x101ac17

Function at 0x101c294
Capabilities:
Get number of processors

Disassembly:
jbe 0x101c2fa
mov eax, dword [0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [0x1038030]
push dword [eax + 0x18]
call dword [fcn.01001370]
mov edi, eax
mov dword [ebp - 0x224], edi
test edi, edi
jne 0x101c2c9
mov dword [ebp - 0x208], 0xc0000017
jmp 0x101cbdb
push ebx
push dword [ebp - 0x220]
mov dword [ebp - 0x240], edi
push edi
call dword [fcn.010012a4]
add esp, 0xc
push dword [0x1038334]
shr ebx, 1
push ebx
push edi
invalid

Function at 0x101c341
Capabilities:
Get number of processors

Disassembly:
cmp eax, dword [ebp - 0x228]
jae 0x101c66c
Function at 0x101c433
Capabilities:
Get number of processors

Disassembly:
je 0x101c58a
test byte [ebp + 0x24], 4
je 0x101c449
cmp ax, 0x20
jb 0x101c519
test byte [esi], 4
je 0x101c45c
test byte [0x10382f8], 1
jne 0x101c45c
mov word [ebx], dx
jmp 0x101c4a1
lea eax, [ebp - 0x244]
push eax
push 1
lea eax, [ebp - 0x248]
push eax
push 1
call dword [0x10013a8]
cmp word [ebp - 0x244], 0x20
jne 0x101c497
push 1
push ebx
push 1

Function at 0x101c483
Capabilities:
Get number of processors

Disassembly:
lea eax, [ebp - 0x248]
push eax
push dword [0x1038334]
call fcn.01003141
jmp 0x101c4a1
Function at 0x101caf9
Capabilities:
Get number of processors

Disassembly:
dec ebp
and al, 0xf
mov edi, 0xe1832055
add al, 0x51

Function at 0x1024e5f
Capabilities:
Get number of processors
Parse credit card information

Disassembly:
cmp dword [edx + 0x39], esi
cmp dword [ecx], 0x39a5398f
push ds
cmp dl, byte [ebp - 0x3bc54ac6]
cmp dl, dl
cmp ch, al
cmp ah, byte [ecx + 0x3b]
fdivr dword [ebx]
in eax, dx
cmp edi, esp
cmp ecx, dword [ebx]
cmp al, 0x19
cmp al, 0x2f
cmp al, 0xb1
cmp al, 0x28
cmp eax, 0x3d573d48
cmp eax, 0x3e7b3d7b
invalid

Function at 0x102643e
Capabilities:
Parse credit card information

Disassembly:
sbb byte [edx], bh
sbb al, 0x3a
and byte [edx], bh
and al, 0x3a
sub byte [edx], bh
sub al, 0x3a
xor byte [edx], bh
xor al, 0x3a
cmp byte [edx], bh
cmp al, 0x3a
inc eax
cmp al, byte [edx + edi + 0x48]
cmp cl, byte [edx + edi + 0x50]
cmp dl, byte [edx + edi + 0x58]
cmp bl, byte [edx + edi + 0x60]
cmp ah, byte [edx + edi + 0x68]
cmp ch, byte [edx + edi + 0x70]
cmp dh, byte [edx + edi + 0x78]
cmp bh, byte [edx + edi - 0x80]
cmp al, byte [edx + edi + 0x3a8c3a88]
nop
cmp dl, byte [edx + edi + 0x3a9c3a98]
mov al, byte [0xa83aa43a]
cmp ch, byte [edx + edi + 0x3ab43ab0]
mov eax, 0xc03abc3a
cmp al, ah
cmp cl, al
cmp cl, ah
cmp dl, al
cmp dl, ah
cmp bl, al
cmp bl, ah
cmp ah, al
cmp ah, ah
cmp ch, al
cmp ch, ah
cmp dh, al
cmp dh, ah
cmp bh, al
cmp bh, ah
cmp al, byte [eax]
cmp eax, dword [ebx + edi]
or byte [ebx], bh
or al, 0x3b
adc byte [ebx], bh
adc al, 0x3b
sbb byte [ebx], bh
sbb al, 0x3b
and byte [ebx], bh
and al, 0x3b
sub byte [ebx], bh
sub al, 0x3b
xor byte [ebx], bh
xor al, 0x3b
cmp byte [ebx], bh
cmp al, 0x3b
inc eax
cmp eax, dword [ebx + edi + 0x48]
cmp ecx, dword [ebx + edi + 0x50]
cmp edx, dword [ebx + edi + 0x58]
cmp ebx, dword [ebx + edi + 0x60]
cmp esp, dword [ebx + edi + 0x68]
cmp ebp, dword [ebx + edi + 0x70]
cmp esi, dword [ebx + edi + 0x78]
cmp edi, dword [ebx + edi - 0x80]
cmp eax, dword [ebx + edi + 0x3b8c3b88]
nop
cmp edx, dword [ebx + edi + 0x3b9c3b98]
mov al, byte [0xa83ba43b]
cmp ebp, dword [ebx + edi + 0x3bb43bb0]
mov eax, 0xc03bbc3b
cmp eax, esp
cmp ecx, eax
cmp ecx, esp
cmp edx, eax
cmp edx, esp
cmp ebx, eax
cmp ebx, esp
cmp esp, eax
cmp esp, esp
cmp ebp, eax
cmp ebp, esp
cmp esi, eax
cmp esi, esp
cmp edi, eax
Function at 0x102652f
Capabilities:
Parse credit card information

Disassembly:
cmp edi, esp
cmp eax, dword [eax]
cmp al, 4
cmp al, 8
cmp al, 0xc
cmp al, 0x10
cmp al, 0x14
cmp al, 0x18
cmp al, 0x1c
cmp al, 0x20
cmp al, 0x24
cmp al, 0x28
cmp al, 0x2c
cmp al, 0x30
cmp al, 0x34
cmp al, 0x38
cmp al, 0x3c
cmp al, 0x40
cmp al, 0x44
cmp al, 0x48
cmp al, 0x4c
cmp al, 0x50
cmp al, 0x54
cmp al, 0x58
cmp al, 0x5c
cmp al, 0x60
cmp al, 0x64
cmp al, 0x68
cmp al, 0x6c
cmp al, 0x70
cmp al, 0x74
cmp al, 0x78
cmp al, 0x7c
cmp al, 0x80
cmp al, 0x84
cmp al, 0x88
cmp al, 0x8c
cmp al, 0x90
cmp al, 0x94
cmp al, 0x98
cmp al, 0x9c
cmp al, 0xa0
cmp al, 0xa4
cmp al, 0xa8
cmp al, 0xac
cmp al, 0xb0
cmp al, 0xb4
mov ah, 0x3c
mov eax, 0xc03cbc3c
cmp al, 0xc4
cmp al, 0xc8
cmp al, 0xcc
cmp al, 0xd0
cmp al, 0xd4
cmp al, 0xd8
cmp al, 0xdc
cmp al, 0xe0
cmp al, 0xe4
cmp al, 0xe8
cmp al, 0xec
cmp al, 0xf0
cmp al, 0xf4
cmp al, 0xf8
cmp al, 0xfc
cmp al, 0
cmp eax, 0x3d083d04
or al, 0x3d
adc byte [0x3d183d14], bh
sbb al, 0x3d
and byte [0x3d283d24], bh
sub al, 0x3d
xor byte [0x3d383d34], bh
cmp al, 0x3d
inc eax
cmp eax, 0x3d483d44
dec esp
cmp eax, 0x3d543d50
pop eax
cmp eax, 0x3d603d5c
cmp eax, 0x3d6c3d68
jo 0x1026629
je 0x102662b
js 0x102662d
jl 0x102662f
cmp byte [0x3d883d84], 0x8c
cmp eax, 0x3d943d90
cwde
cmp eax, 0x3da03d9c
movsb byte es:[edi], byte [esi]
cmp eax, 0x3dac3da8
mov al, 0x3d
mov ah, 0x3d
mov eax, 0xc03dbc3d
cmp eax, 0x3dc83dc4
int3
cmp eax, 0x3df43df0
clc
cmp eax, 0x3df83df4
cld
cmp eax, 0x3e283e24
cmp eax, 0x3dfc3df8
and al, 0x3e
cmp eax, 0x3e243dfc
sub byte [esi], bh
sub al, 0x3e
xor byte [esi], bh
xor al, 0x3e
cmp byte [esi], bh
cmp al, 0x3e
inc eax
push esp
pop eax
pop esp
pushal
push 0x703e6c3e
je 0x1026692
js 0x1026694
jl 0x1026696
cmp byte [esi], 0x84
mov byte ds:[esi], bh
invalid
hlt
clc
cld
cld
add byte ds:[edi], bh
add al, 0x3f
or byte [edi], bh
or al, 0x3f
adc byte [edi], bh
adc al, 0x3f
sbb byte [edi], bh
sbb al, 0x3f
and byte [edi], bh
and al, 0x3f
sub byte [edi], bh
sub al, 0x3f
xor byte [edi], bh
xor al, 0x3f
cmp byte [edi], bh
cmp al, 0x3f
inc esp
aas
insb byte es:[edi], dx
aas
xchg esp, eax
aas
movsb byte es:[edi], byte [esi]
aas
mov esp, 0xe43fcc3f
aas
hlt
Function at 0x102658c
Capabilities:
Parse credit card information

Disassembly:
cmp edi, esp
cmp eax, dword [eax]
cmp al, 4
cmp al, 8
cmp al, 0xc
cmp al, 0x10
cmp al, 0x14
cmp al, 0x18
cmp al, 0x1c
cmp al, 0x20
cmp al, 0x24
cmp al, 0x28
cmp al, 0x2c
cmp al, 0x30
cmp al, 0x34
cmp al, 0x38
cmp al, 0x3c
cmp al, 0x40
cmp al, 0x44
cmp al, 0x48
cmp al, 0x4c
cmp al, 0x50
cmp al, 0x54
cmp al, 0x58
cmp al, 0x5c
cmp al, 0x60
cmp al, 0x64
cmp al, 0x68
cmp al, 0x6c
cmp al, 0x70
cmp al, 0x74
cmp al, 0x78
cmp al, 0x7c
cmp al, 0x80
cmp al, 0x84
cmp al, 0x88
cmp al, 0x8c
cmp al, 0x90
cmp al, 0x94
cmp al, 0x98
cmp al, 0x9c
cmp al, 0xa0
cmp al, 0xa4
cmp al, 0xa8
cmp al, 0xac
cmp al, 0xb0
cmp al, 0xb4
mov ah, 0x3c
mov eax, 0xc03cbc3c
cmp al, 0xc4
cmp al, 0xc8
cmp al, 0xcc
cmp al, 0xd0
cmp al, 0xd4
cmp al, 0xd8
cmp al, 0xdc
cmp al, 0xe0
cmp al, 0xe4
cmp al, 0xe8
cmp al, 0xec
cmp al, 0xf0
cmp al, 0xf4
cmp al, 0xf8
cmp al, 0xfc
cmp al, 0
cmp eax, 0x3d083d04
or al, 0x3d
adc byte [0x3d183d14], bh
sbb al, 0x3d
and byte [0x3d283d24], bh
sub al, 0x3d
xor byte [0x3d383d34], bh
cmp al, 0x3d
inc eax
cmp eax, 0x3d483d44
dec esp
cmp eax, 0x3d543d50
pop eax
cmp eax, 0x3d603d5c
cmp eax, 0x3d6c3d68
jo 0x1026629
je 0x102662b
js 0x102662d
jl 0x102662f
cmp byte [0x3d883d84], 0x8c
cmp eax, 0x3d943d90
cwde
cmp eax, 0x3da03d9c
movsb byte es:[edi], byte [esi]
cmp eax, 0x3dac3da8
mov al, 0x3d
mov ah, 0x3d
mov eax, 0xc03dbc3d
cmp eax, 0x3dc83dc4
int3
cmp eax, 0x3df43df0
clc
cmp eax, 0x3df83df4
cld
cmp eax, 0x3e283e24
cmp eax, 0x3dfc3df8
and al, 0x3e
cmp eax, 0x3e243dfc
sub byte [esi], bh
sub al, 0x3e
xor byte [esi], bh
xor al, 0x3e
cmp byte [esi], bh
cmp al, 0x3e
inc eax
push esp
pop eax
pop esp
pushal
push 0x703e6c3e
je 0x1026692
js 0x1026694
jl 0x1026696
cmp byte [esi], 0x84
mov byte ds:[esi], bh
invalid
hlt
clc
cld
cld
add byte ds:[edi], bh
add al, 0x3f
or byte [edi], bh
or al, 0x3f
adc byte [edi], bh
adc al, 0x3f
sbb byte [edi], bh
sbb al, 0x3f
and byte [edi], bh
and al, 0x3f
sub byte [edi], bh
sub al, 0x3f
xor byte [edi], bh
xor al, 0x3f
cmp byte [edi], bh
cmp al, 0x3f
inc esp
aas
insb byte es:[edi], dx
aas
xchg esp, eax
aas
movsb byte es:[edi], byte [esi]
aas
mov esp, 0xe43fcc3f
aas
hlt
Function at 0x1029685
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4ad240ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x48], edi
cmp eax, edi
jne 0x10296ab
xor eax, eax
jmp 0x10297b5
push ebx
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [0x4ad012f0]
mov ebx, eax
mov dword [ebp - 0x4c], ebx
cmp ebx, 0xffffffff
je 0x10297b0
push esi
lea eax, [ebp - 0x44]
push eax
push ebx
push 0x40
pop esi
call fcn.010293db
test eax, eax
je 0x10296f5
mov eax, 0x5a4d
xor ecx, ecx
cmp ax, word [ebp - 0x44]
sete cl
mov eax, ecx
jmp 0x10296f7
xor eax, eax
cmp eax, edi
je 0x10297a6
push edi
push edi
push dword [ebp - 8]
push ebx
call dword [0x4ad01284]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
cmp eax, edi
je 0x10297a6
lea eax, [ebp - 0x50]
push eax
push ebx
push 4
pop esi
call fcn.010293db
test eax, eax
je 0x102973c
xor eax, eax
cmp dword [ebp - 0x50], 0x4550
sete al
jmp 0x102973e
xor eax, eax
cmp eax, edi
je 0x10297a6
lea eax, [ebp - 0x64]
push eax
push ebx
push 0x14
pop esi
call fcn.010293db
test eax, eax
je 0x10297a6
cmp word [ebp - 0x54], di
jbe 0x10297a6
movzx eax, word [ebp - 0x54]
mov edi, dword [0x4ad01294]
push eax
push 8
call edi
push eax
call dword [0x4ad012a8]
mov ebx, eax
test ebx, ebx
je 0x10297a6
movzx esi, word [ebp - 0x54]
push ebx
push dword [ebp - 0x4c]
call fcn.010293db
test eax, eax
je 0x102979a
mov edx, dword [ebp - 0x64]
mov ecx, ebx
call fcn.010293b9
test eax, eax
je 0x102979a
movzx eax, word [eax]
mov dword [ebp - 0x48], eax
push ebx
push 0
call edi
push eax
call dword [0x4ad01290]
push dword [ebp - 0x4c]
call dword [0x4ad012ac]
pop esi
mov ax, word [ebp - 0x48]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0100d3a9
leave
ret 4
Function at 0x4065b3
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x40f8b0
call fcn.00409e94
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x406613
cmp eax, 0xffffffff
je 0x406613
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40660c
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40660c
cmp edx, 0x10000000
jae 0x40660c
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x406609
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x406aa2
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov edi, edi
push esi
push edi
call fcn.004068ed
mov esi, eax
test esi, esi
je 0x406c1f
push 0x401344
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401350
push esi
mov dword [0x410ea8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40135c
push esi
mov dword [0x410eac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401368
push esi
mov dword [0x410eb0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x410ea8], 0
mov dword [0x410eb4], eax
je 0x406b18
cmp dword [0x410eac], 0
je 0x406b18
cmp dword [0x410eb0], 0
je 0x406b18
test eax, eax
jne 0x406b40
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x410eac], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x410eb0], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x410ea8], 0x406660
mov dword [0x410eb4], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4105c4], eax
cmp eax, 0xffffffff
je 0x406c24
push dword [0x410eac]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x406c24
call fcn.00406e52
push dword [0x410ea8]
call fcn.00406712
push dword [0x410eac]
mov dword [0x410ea8], eax
call fcn.00406712
push dword [0x410eb0]
mov dword [0x410eac], eax
call fcn.00406712
push dword [0x410eb4]
mov dword [0x410eb0], eax
call fcn.00406712
add esp, 0x10
mov dword [0x410eb4], eax
call fcn.0040a055
test eax, eax
je 0x406c1f
push 0x406790
push dword [0x410ea8]
call fcn.0040669d
pop ecx
mov esi, eax
mov ecx, eax
call dword [0x4131e4]
call esi
mov dword [0x4105c0], eax
cmp eax, 0xffffffff
je 0x406c1f
push 0x214
push 1
call fcn.0040a0bc
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x406c1f
push edi
push dword [0x4105c0]
push dword [0x410eb0]
call fcn.0040669d
pop ecx
mov esi, eax
mov ecx, eax
call dword [0x4131e4]
call esi
test eax, eax
jne 0x406c29
push edi
call fcn.00409df5
pop ecx
call fcn.00406c3c
xor eax, eax
pop edi
pop esi
ret
push 0
push edi
call fcn.004069c9
pop ecx
pop ecx
or dword [edi + 4], 0xffffffff
xor eax, eax
inc eax
jmp 0x406c26
Function at 0x49fca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x67000]
push edi
jmp 0x49fcba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49fcc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49fcb0
mov eax, 1
add ebx, ebx
jne 0x49fcd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49fce4
jne 0x49fd03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49fd03
dec eax
add ebx, ebx
jne 0x49fcf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x49fcc8
add ebx, ebx
jne 0x49fcff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x49fd55
xor ecx, ecx
sub eax, 3
jb 0x49fd1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49fd8a
sar eax, 1
mov ebp, eax
jmp 0x49fd26
add ebx, ebx
jne 0x49fd26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49fcf4
inc ecx
add ebx, ebx
jne 0x49fd34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49fcf4
add ebx, ebx
jne 0x49fd41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49fd36
jne 0x49fd52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49fd36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49fd74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49fd66
jmp 0x49fcb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49fd74
add edi, ecx
jmp 0x49fcb6
pop esi
mov edi, esi
mov ecx, 0x2cc0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49fd92
cmp byte [edi], 0x1a
jne 0x49fd92
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 0x49fd97
lea edi, [esi + 0x9c000]
mov eax, dword [edi]
or eax, eax
je 0x49fe0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xac8ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xaca04]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49fdc4
mov ecx, edi
jns 0x49fdf3
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 + 0xaca08]
or eax, eax
je 0x49fe09
mov dword [ebx], eax
add ebx, 4
jmp 0x49fde1
call dword [esi + 0xaca18]
mov ebp, dword [esi + 0xaca0c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x49fe43
sub esp, 0xffffff80
jmp 0x454d3d

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