joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f70
Capabilities:
Authenticate hmac
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
bswap edi
imul edx
sbb esi, 0xe9
and edx, 1
not edx
not edx
sub edi, 0xe
bswap esi
inc esi
sub ebx, 0x65
mov edi, 0x74
imul edx
rol edi, 0x44
rol eax, 0xc9
and edx, 0x71
neg edi
rcl eax, 5
rol eax, 0x88
and edi, 0xfd
dec esi
dec ebx
rcl eax, 0x7d
or esi, 0xef
rcr esi, 0x6c
rcl ebx, 0x6a
imul esi
ror esi, 0x64
dec edx
imul ebx
rcl ebx, 0xe1
not esi
sub edi, 0xbd
bswap esi
not eax
or edi, 0xb5
inc edi
mov edx, 0x32
rcl edx, 0x67
neg eax
mov eax, 0x1b
sub ebx, 0x62
dec esi
imul eax
sub eax, 0x37
or eax, 0x29
inc eax
sub edi, 0x80
ror esi, 0xba
ror ebx, 0x7d
mov edx, 0xb3
xor ecx, ecx
xor edi, edi
or edx, 0xa8
dec edi
bswap eax
bswap ebx
rcl eax, 0x5a
inc edx
imul edx
inc eax
sub esi, 0x2d
ror edi, 0xfc
dec esi
and ebx, 0xd5
rcl edx, 0xae
bswap eax
dec ebx
or esi, 0xcd
add edx, 0xc0
rcl edi, 0x55
not ebx
inc edi
or edx, 0x6d
inc eax
rol edx, 0xf7
neg edi
not esi
bswap edx
bswap edx
ror eax, 0x10
sub esi, 0x67
neg eax
ror eax, 0x66
sbb edi, 0xb5
inc edx
inc eax
imul edi
not edx
not eax
sub esi, 0x27
ror ebx, 0xf
not edx
ror esi, 0x9c
rcl esi, 0xc2
dec ebx
not edx
add ebx, 0x67
imul edx
sbb eax, 0x30
dec edi
inc edi
or edi, 0x4f
mov ecx, dword [ebp + 0xc]
sbb edi, 0x1b
dec edi
add eax, 7
bswap edx
or ebx, 0x1d
imul edi
not edx
and ebx, 0xc6
neg edx
inc edx
add eax, 0x62
add ebx, 0xcf
rol eax, 0x36
rcr esi, 0x7c
rcr ebx, 0x5c
dec edi
neg edx
and edx, 0x60
neg edx
neg esi
neg edx
rol esi, 0x52
sbb esi, 0xd8
ror edi, 0x49
bswap ebx
not edx
add esi, 0x3d
dec edx
rcr edi, 0x41
not esi
inc edx
rcr edx, 0x88
or edi, 0x19
neg esi
neg ebx
rcl eax, 0x2f
rol eax, 0xe7
not edx
ror edx, 0xff
sbb edi, 0x18
imul ebx
ror edi, 0x8c
not edx
inc edx
bswap edx
inc eax
inc edi
rcl edi, 0x55
inc esi
or edx, 0xe9
mov edi, dword [ebp + 8]
mov esi, esi
xor esi, ebx
xor ebx, eax
mov eax, esi
mov eax, eax
mov ebx, eax
xor eax, esi
xor eax, eax
xor esi, ebx
xor ebx, esi
mov eax, esi
mov ebx, eax
not byte [edi]
mov eax, esi
xor ebx, esi
xor esi, esi
mov eax, eax
xor esi, ebx
mov eax, ebx
mov eax, ebx
xor esi, ebx
xor ebx, eax
sub byte [edi], 0x36
xor ebx, esi
xor ebx, eax
mov eax, esi
xor esi, ebx
xor eax, ebx
mov eax, ebx
xor ebx, eax
mov ebx, ebx
mov eax, ebx
add byte [edi], 0x87
mov eax, ebx
mov ebx, ebx
mov eax, esi
xor ebx, ebx
xor esi, esi
mov ebx, eax
xor eax, esi
mov esi, esi
xor ebx, eax
imul byte [edi]
inc edi
loop 0x40311c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40ed97
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40edd6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40edd6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40edd6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40edd6
cmp dword [ecx + 0x74], 0xe
jbe 0x40edd6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41043b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x41045c
jl 0x410453
test edi, edi
jne 0x41045c
xor eax, eax
xor edx, edx
jmp 0x41051d
cmp dword [ebx + 0x38], 0
je 0x410471
push eax
push edi
push dword [ebp + 8]
call fcn.00410523
jmp 0x41051d
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4104b8
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4104b8
cmp eax, edi
jb 0x410492
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00411490
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x4104be
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x410512
mov ecx, ebx
call fcn.0040fc4f
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4104fd
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0041a522
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x410512
jmp 0x4104d0
test edx, edx
je 0x410512
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0041a522
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x41d93f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x432bd0
push 0x432bc8
push str.FlsAlloc
push 0x1e
call fcn.0041d7ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d973
push dword [ebp + 8]
mov ecx, esi
call dword [0x42e160]
call esi
jmp 0x41d979
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41d9bd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x432be0
push 0x432bd8
push str.FlsGetValue
push 0x20
call fcn.0041d7ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d9f4
push dword [ebp + 8]
mov ecx, esi
call dword [0x42e160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4250b0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00424f21

Function at 0x4254aa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042cb90
mov eax, dword [0x4550d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041f611
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4254ec
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x425648
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042c9c0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x456838]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004264a1
mov ecx, dword [esi*4 + 0x456838]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x425641
cmp eax, dword [edi + ecx + 0x24]
jne 0x425641
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425641
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004264a1
add esp, 0x14
test edx, edx
jl 0x425641
jg 0x4255b7
test eax, eax
jb 0x425641
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x425641
jl 0x4255d1
cmp dword [ebp - 0x1008], eax
ja 0x425641
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4255ef
test ebx, ebx
je 0x425628
cmp ecx, edi
jae 0x425628
mov al, byte [ecx]
cmp al, 0xd
jne 0x425609
lea eax, [edi - 1]
cmp ecx, eax
jae 0x425615
cmp byte [ecx + 1], 0xa
jne 0x425615
inc ecx
jmp 0x425615
movzx eax, al
movsx eax, byte [eax + 0x455878]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4255ef
cmp edx, ebx
jne 0x4255ef
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x425646
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040f1d6
leave
ret
Function at 0x42593f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x456838]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42597f
cmp byte [ebx], 0xa
jne 0x42597f
or byte [eax + edi + 0x28], 4
jmp 0x425984
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x425a82
mov al, byte [edx]
cmp al, 0x1a
je 0x425a64
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4259b3
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4259d8
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4259e2
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x425995
jmp 0x425a82
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425a5f
cmp dword [ebp - 0xc], 0
je 0x425a5f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x456838]
test byte [eax + edi + 0x28], 0x48
je 0x425a39
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x425a24
mov byte [esi], dl
jmp 0x425a35
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x456838]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x425a82
cmp byte [ebp - 1], 0xa
jne 0x425a48
cmp esi, ebx
jne 0x425a48
mov byte [esi], 0xa
jmp 0x425a81
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004264bf
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x425a82
mov byte [esi], 0xd
jmp 0x425a81
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x456838]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425a7e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425a82
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x425a8b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x456838]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x425ace
cmp word [esi], dx
jne 0x425ace
or byte [edi + eax + 0x28], 4
jmp 0x425ad3
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x425c26
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x425c06
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x425b15
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x425b4b
cmp eax, edx
jae 0x425b57
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x425aed
jmp 0x425c26
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425c02
cmp dword [ebp - 0x14], 0
je 0x425c02
mov eax, dword [ebx*4 + 0x456838]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x425bda
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x425ba3
mov word [esi], cx
jmp 0x425bd6
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x456838]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x456838]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x456838]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x425c26
pop ebx
cmp word [ebp - 4], bx
jne 0x425beb
cmp esi, dword [ebp + 0xc]
jne 0x425beb
mov word [esi], bx
jmp 0x425c23
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004264bf
add esp, 0x10
cmp word [ebp - 4], bx
je 0x425c26
push 0xd
jmp 0x425c1f
mov ecx, dword [ebx*4 + 0x456838]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425c1d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425c26
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42c8e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42c90d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42c90d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4017f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
jmp 0x401fdc
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0
call fcn.00402060
add esp, 4
push eax
call dword [sym.imp.MSVCR90.dll_srand]
add esp, 4
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 0
jmp 0x40201c
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jg 0x40203c
call dword [sym.imp.MSVCR90.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov byte [eax], dl
jmp 0x402013
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x419c70
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x419c98
xor eax, eax
jmp 0x419d5a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0x4550
je 0x419cb6
xor eax, eax
jmp 0x419d5a
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 0
jmp 0x419cda
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + 0x14]
jae 0x419d58
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp - 0x14]
lea eax, [ecx + edx*4]
add eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
add eax, dword [edx]
push eax
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jne 0x419d53
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x14]
lea ecx, [edx + eax*2]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
movzx eax, word [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
lea eax, [edx + eax*4]
add eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
add edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov eax, 1
jmp 0x419d5a
jmp 0x419cd1
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41ae00
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x41ae2d
xor eax, eax
jmp 0x41aee4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
je 0x41ae4b
xor eax, eax
jmp 0x41aee4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0
jmp 0x41ae6f
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x14]
jae 0x41aee2
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
mov eax, dword [ebp - 0x18]
lea ecx, [edx + eax*4]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
push ecx
call sub.MSVCR90.dll_strcmp
add esp, 8
test eax, eax
jne 0x41aee0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
mov ecx, dword [ebp - 0x18]
lea edx, [eax + ecx*2]
add edx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
lea ecx, [eax + ecx*4]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
add eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, 1
jmp 0x41aee4
jmp 0x41ae66
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4255b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x42a3f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0x44
push 0x40
push 0
lea eax, [ebp - 0x6c]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x78
mov byte [ebp - 0x12], 0x70
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x6f
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x78
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x70]
push edx
push 0
push 0
push 0x8000044
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
call dword [0x42a5a0]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x24]
mov dword [0x42ac68], edx
push 0x42a7b8
call fcn.004214f0
mov eax, dword [0x42a838]
sub eax, dword [0x42a834]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x14], 0x6d
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x76
mov byte [ebp - 0x11], 0x63
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0x2e
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
push 0x40
push 0x1000
mov ecx, dword [ebp - 0x28]
push ecx
push 0
mov edx, dword [0x42ac68]
push edx
call dword [0x42ace8]
mov dword [0x42ac80], eax
push 0x40
push 0x1000
push 0x42a6b0
call sub.MSVCR90.dll_strlen
add esp, 4
add eax, 1
push eax
push 0
mov eax, dword [0x42ac68]
push eax
call dword [0x42ace8]
mov dword [0x42ac78], eax
push 0x40
push 0x1000
lea ecx, [ebp - 0x14]
push ecx
call sub.MSVCR90.dll_strlen
add esp, 4
add eax, 1
push eax
push 0
mov edx, dword [0x42ac68]
push edx
call dword [0x42ace8]
mov dword [0x42ac7c], eax
call fcn.00426150
call fcn.00424360
push 0
push 0x42a6b0
call sub.MSVCR90.dll_strlen
add esp, 4
add eax, 1
push eax
push 0x42a6b0
mov eax, dword [0x42ac78]
push eax
mov ecx, dword [0x42ac68]
push ecx
call dword [0x42ace0]
push 0
lea edx, [ebp - 0x14]
push edx
call sub.MSVCR90.dll_strlen
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [0x42ac7c]
push ecx
mov edx, dword [0x42ac68]
push edx
call dword [0x42ace0]
push 0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [0x42a834]
push ecx
mov edx, dword [0x42ac80]
push edx
mov eax, dword [0x42ac68]
push eax
call dword [0x42ace0]
push 0
push 0
push 0
mov ecx, dword [0x42ac80]
push ecx
push 0
push 0
mov edx, dword [0x42ac68]
push edx
call dword [0x42acec]
mov eax, dword [0x42ac68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004272aa
mov esp, ebp
pop ebp
ret

Function at 0x4272aa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a3f4]
jne 0x4272b4
repz ret
jmp fcn.004275ed
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x377a12d4
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, str.tdh
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x64f92f74
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x1001c7d
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001118
call fcn.01001e34
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1001cb8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001cb8
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1001cd0
cmp eax, 0x20b
je 0x1001cbd
mov dword [ebp - 0x1c], edi
jmp 0x1001ce4
cmp dword [ecx + 0x84], 0xe
jbe 0x1001cb8
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1001cde
cmp dword [ecx + 0x74], 0xe
jbe 0x1001cb8
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1005440], 0xffffffff
or dword [0x1005444], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x10039ec]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x10039e8]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1005448], eax
call fcn.01001e2a
cmp dword [0x10030a0], edi
jne 0x1001d3f
push fcn.01001e2a
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01001e13
push 0x1003010
push 0x100300c
call sub.msvcrt.dll__initterm
mov eax, dword [0x10039e4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x10039e0]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1003008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01001a56
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1001db6
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1001deb
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001e6f
ret