joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410a37
Capabilities:
Parse pe header

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

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

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x14d08f39
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, eax
test esi, esi
jne 0x14d08f74
cmp word [edi], 0x5a4d
jne 0x14d08f9e
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x14d08f9e
lea esi, [eax + 0x80]
push 8
push esi
call dword [0x14d12228]
test eax, eax
jne 0x14d08f9e
cmp dword [esi + 4], eax
je 0x14d08f9e
mov esi, dword [esi]
test esi, esi
je 0x14d08f9e
add esi, edi
push ebx
push 0x14
push esi
xor bl, bl
call dword [0x14d12228]
test eax, eax
jne 0x14d08fcc
mov eax, dword [esi + 0xc]
test eax, eax
je 0x14d08fc8
push 2
add eax, edi
push eax
call dword [0x14d12228]
test eax, eax
je 0x14d08fa2
mov bl, 1
jmp 0x14d08fb8
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0xc]
push dword [esp + 0xc]
add eax, edi
push eax
xor bl, bl
call dword [0x14d12130]
test eax, eax
je 0x14d08fcc
push 0x14
add esi, 0x14
push esi
call dword [0x14d12228]
test eax, eax
je 0x14d08f84
test bl, bl
jne 0x14d08fe2
push 0x14
push esi
call dword [0x14d12228]
test eax, eax
jne 0x14d08fe2
cmp dword [esi + 0xc], eax
je 0x14d08fe2
mov eax, esi
jmp 0x14d08fe4
xor eax, eax
pop ebx
pop esi
ret
Function at 0x14d096c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
inc ecx
movzx eax, byte [ecx]
test eax, eax
push edi
jne 0x14d096da
mov byte [esi], 1
jmp 0x14d09832
cmp eax, 0x30
jl 0x14d09832
cmp eax, 0x7a
jg 0x14d09832
lea edx, [eax - 0x30]
movsx edi, word [edx*2 + 0x14d03288]
test edi, edi
je 0x14d09702
mov eax, edi
jmp 0x14d09832
cmp eax, 0x58
jg 0x14d097b4
je 0x14d09735
cmp eax, 0x30
je 0x14d0978c
jle 0x14d09832
cmp eax, 0x39
jle 0x14d0973d
cmp eax, 0x4c
je 0x14d09735
cmp eax, 0x4e
je 0x14d09735
cmp eax, 0x50
je 0x14d09735
cmp eax, 0x55
jne 0x14d09832
mov byte [esi], 0x25
jmp 0x14d09832
cmp byte [esp + 0x14], 0
jne 0x14d09772
push ebx
mov esi, ecx
jmp 0x14d09755
mov ecx, eax
lea eax, [edx + edx*4]
movzx edx, byte [ecx]
lea edx, [edx + eax*2 - 0x30]
lea eax, [ecx + 1]
movzx ebx, byte [eax]
test byte [ebx + 0x14d03320], 4
jne 0x14d09749
cmp edx, 0xa
pop ebx
jl 0x14d09782
cmp edx, dword [esp + 0x10]
jle 0x14d09782
mov ecx, esi
movzx eax, byte [ecx]
cmp eax, 0x38
jl 0x14d0978c
dec ecx
xor eax, eax
jmp 0x14d09832
push 0xffffffffffffffef
pop eax
sub eax, edx
jmp 0x14d09832
sub eax, 0x30
lea esi, [ecx + 1]
mov dl, byte [esi]
inc edi
cmp dl, 0x30
jb 0x14d097ad
cmp dl, 0x37
ja 0x14d097ad
cmp edi, 2
mov ecx, esi
movzx edx, byte [ecx]
lea eax, [edx + eax*8 - 0x30]
jl 0x14d0978f
and eax, 0xff
jmp 0x14d09832
cmp eax, 0x63
je 0x14d09815
cmp eax, 0x6c
je 0x14d09735
cmp eax, 0x70
je 0x14d09735
cmp eax, 0x75
je 0x14d09735
cmp eax, 0x78
jne 0x14d09832
xor eax, eax
lea edx, [ecx + 1]
movzx esi, byte [edx]
inc edi
test byte [esi + 0x14d03320], 8
je 0x14d09832
mov ecx, edx
movzx esi, byte [ecx]
cmp esi, 0x61
jl 0x14d097f8
sub esi, 0x20
xor edx, edx
cmp esi, 0x41
setge dl
shl eax, 4
dec edx
and edx, 0xfffffff9
add edx, 0x37
sub eax, edx
add eax, esi
cmp edi, 2
jl 0x14d097db
jmp 0x14d09832
inc ecx
movzx eax, byte [ecx]
test eax, eax
jne 0x14d09822
mov byte [esi], 2
jmp 0x14d09838
cmp eax, 0x61
jl 0x14d0982f
cmp eax, 0x7a
jg 0x14d0982f
sub eax, 0x20
xor eax, 0x40
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
pop edi
pop esi
ret

Function at 0x14d0990b
Capabilities:
Parse credit card information

Disassembly:
mov cl, byte [eax]
cmp cl, 3
jb 0x14d09947
push esi
push edi
cmp cl, 4
jbe 0x14d09932
cmp cl, 0xf
je 0x14d09959
cmp cl, 0x3f
jbe 0x14d09945
cmp cl, 0x42
jbe 0x14d09948
cmp cl, 0x46
je 0x14d09932
cmp cl, 0x49
jne 0x14d09945
movzx ecx, byte [eax]
movzx ecx, byte [ecx + 0x14d03228]
add eax, ecx
mov cl, byte [eax]
cmp cl, 3
jae 0x14d09914
pop edi
pop esi
ret
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
add eax, ecx
cmp byte [eax], 0x3b
je 0x14d09948
jmp 0x14d09932
cmp dword [esp + 0xc], 0
jle 0x14d09976
movzx ecx, byte [eax + 1]
mov esi, dword [edx]
and esi, dword [esp + 0xc]
mov edi, ecx
and edi, dword [esp + 0xc]
cmp edi, esi
je 0x14d09976
mov dword [edx], ecx
inc eax
inc eax
jmp 0x14d0993e
Function at 0x14d0afdb
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ebp + 8]
push 2
add eax, 3
mov edx, ebx
call fcn.14d0990b
mov edi, eax
movzx esi, byte [edi]
cmp esi, 0x4a
pop ecx
jle 0x14d0b038
sub esi, 0x4a
cmp esi, 0x96
jle 0x14d0b013
xor eax, eax
mov ah, byte [edi + 4]
mov al, byte [edi + 5]
mov esi, eax
xor eax, eax
inc eax
cmp esi, 0x20
jge 0x14d0b01f
mov ecx, esi
shl eax, cl
push dword [ebp + 0x14]
or eax, dword [ebp + 0x10]
push eax
push ebx
push edi
call fcn.14d0afdb
add esp, 0x10
test al, al
jne 0x14d0b08e
xor al, al
jmp 0x14d0b0a9
je 0x14d0b049
cmp esi, 0x3f
je 0x14d0b049
cmp esi, 0x44
je 0x14d0b049
cmp esi, 0x45
jne 0x14d0b05d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push edi
call fcn.14d0afdb
add esp, 0x10
test al, al
je 0x14d0b034
cmp esi, 0x26
je 0x14d0b067
cmp esi, 0x27
jne 0x14d0b07a
test byte [ebx], 4
je 0x14d0b07a
cmp byte [edi + 1], 0xb
jne 0x14d0b034
mov eax, dword [ebp + 0x14]
test dword [ebp + 0x10], eax
jmp 0x14d0b08c
cmp esi, 1
je 0x14d0b08e
cmp esi, 2
je 0x14d0b08e
test byte [ebx], 2
jne 0x14d0b034
cmp esi, 0x10
jne 0x14d0b034
mov eax, dword [ebp + 8]
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
add eax, ecx
cmp byte [eax], 0x3b
mov dword [ebp + 8], eax
je 0x14d0afe4
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x14d0b0ae
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
lea eax, [ebx + 3]
xor edx, edx
call fcn.14d0990b
mov edi, eax
movzx esi, byte [edi]
cmp esi, 0x4a
pop ecx
jle 0x14d0b10a
sub esi, 0x4a
cmp esi, 0x96
jle 0x14d0b0e3
xor eax, eax
mov ah, byte [edi + 4]
mov al, byte [edi + 5]
mov esi, eax
xor eax, eax
inc eax
cmp esi, 0x20
jge 0x14d0b0ef
mov ecx, esi
shl eax, cl
push dword [ebp + 0x10]
or eax, dword [ebp + 0xc]
push eax
push edi
call fcn.14d0b0ae
add esp, 0xc
test al, al
jne 0x14d0b14b
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
je 0x14d0b11b
cmp esi, 0x3f
je 0x14d0b11b
cmp esi, 0x44
je 0x14d0b11b
cmp esi, 0x45
jne 0x14d0b12e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.14d0b0ae
add esp, 0xc
test al, al
je 0x14d0b103
cmp esi, 0x26
je 0x14d0b13d
cmp esi, 0x27
je 0x14d0b13d
cmp esi, 0x10
jmp 0x14d0b149
cmp byte [edi + 1], 0xb
jne 0x14d0b103
mov eax, dword [ebp + 0x10]
test dword [ebp + 0xc], eax
jne 0x14d0b103
xor eax, eax
mov ah, byte [ebx + 1]
mov al, byte [ebx + 2]
add ebx, eax
cmp byte [ebx], 0x3b
je 0x14d0b0b7
mov al, 1
jmp 0x14d0b105
Function at 0x14d0b162
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
or ebx, 0xffffffff
push 1
lea eax, [edi + 3]
mov edx, esi
call fcn.14d0990b
pop ecx
movzx ecx, byte [eax]
cmp ecx, 0x4a
jl 0x14d0b188
push 0x4a
pop ecx
cmp ecx, 0x3f
jg 0x14d0b1dc
je 0x14d0b1eb
cmp ecx, 0x12
je 0x14d0b1a4
cmp ecx, 0x15
jle 0x14d0b208
cmp ecx, 0x17
jle 0x14d0b1a5
cmp ecx, 0x1c
jne 0x14d0b208
inc eax
inc eax
cmp byte [esp + 0x18], 0
je 0x14d0b208
test ebx, ebx
jge 0x14d0b1c1
test byte [esi], 1
movzx ebx, byte [eax + 1]
je 0x14d0b1c9
or ebx, 0x100
jmp 0x14d0b1c9
movzx eax, byte [eax + 1]
cmp ebx, eax
jne 0x14d0b208
xor eax, eax
mov ah, byte [edi + 1]
mov al, byte [edi + 2]
add edi, eax
cmp byte [edi], 0x3b
je 0x14d0b170
mov eax, ebx
jmp 0x14d0b20b
cmp ecx, 0x44
jl 0x14d0b208
cmp ecx, 0x45
jle 0x14d0b1eb
cmp ecx, 0x4a
jne 0x14d0b208
cmp ecx, 0x3f
sete cl
push ecx
push esi
push eax
call fcn.14d0b162
add esp, 0xc
test eax, eax
jl 0x14d0b208
test ebx, ebx
jge 0x14d0b1c5
mov ebx, eax
jmp 0x14d0b1c9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret
Function at 0x14d0bcd8
Capabilities:
Parse credit card information

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0xb4
push esi
mov esi, dword [ebp + 0x70]
mov eax, dword [esi]
cmp eax, 0x989680
lea ecx, [eax + 1]
mov dword [esi], ecx
jb 0x14d0bcfd
push 0xfffffffffffffff9
pop eax
jmp 0x14d0d27a
test byte [ebp + 0x7c], 2
mov eax, dword [ebp + 0x74]
push ebx
mov ebx, dword [ebp + 0x64]
mov dword [ebp + 0x40], eax
je 0x14d0bd1c
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x20], eax
lea eax, [ebp + 0x20]
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x78], eax
push edi
mov edi, dword [ebp + 0x68]
mov al, byte [edi]
mov byte [ebp + 0x47], al
movzx eax, al
mov edx, eax
xor cl, cl
cmp edx, 0x4a
mov byte [ebp + 0x73], cl
jle 0x14d0bd5d
add edx, 0xffffffb6
cmp edx, 0x96
mov dword [ebp + 0x50], edx
jle 0x14d0bd4d
xor edx, edx
mov dh, byte [edi + 4]
mov dl, byte [edi + 5]
mov dword [ebp + 0x50], edx
add edx, edx
cmp edx, dword [esi + 0xc]
jl 0x14d0cae6
push 0x4a
pop edx
cmp edx, edx
ja 0x14d0d275
movzx edx, byte [edx + 0x14d0d32c]
jmp dword [edx*4 + 0x14d0d280]
xor eax, eax
jmp 0x14d0d278
mov eax, dword [esi + 4]
mov ecx, edx
shl ecx, 2
mov dword [ebp + 0x4c], ecx
add ecx, eax
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp + 0x40], ecx
mov ecx, dword [esi + 8]
sub ecx, dword [ebp + 0x50]
mov dword [ebp + 0x48], edx
lea eax, [eax + ecx*4]
mov ecx, dword [eax]
mov dword [ebp + 0x54], ecx
mov ecx, dword [esi + 0x38]
mov dword [ebp + 0x70], ecx
mov ecx, ebx
sub ecx, dword [esi + 0x24]
mov dword [eax], ecx
push 2
push dword [ebp + 0x78]
lea eax, [edi + 3]
push dword [ebp + 0x74]
push esi
push dword [ebp + 0x6c]
push eax
push ebx
call fcn.14d0bcd8
add esp, 0x1c
test eax, eax
jne 0x14d0d278
mov eax, dword [ebp + 0x70]
mov dword [esi + 0x38], eax
xor eax, eax
mov ah, byte [edi + 1]
mov al, byte [edi + 2]
add edi, eax
cmp byte [edi], 0x3b
je 0x14d0cb19
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x48]
mov dword [eax + ecx], edx
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0x40]
mov dword [ecx + eax + 4], edx
mov eax, dword [esi + 8]
sub eax, dword [ebp + 0x50]
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0x54]
mov dword [ecx + eax*4], edx
jmp 0x14d0ca21
push 0xfffffffffffffffc
pop eax
pop edi
pop ebx
pop esi
add ebp, 0x5c
leave
ret
Function at 0x14d0e948
Capabilities:
Persist via run registry key
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push 0x14d01ca0
push 0x80000002
mov byte [ebp - 1], bl
call dword [0x14d12274]
test eax, eax
jne 0x14d0ea4d
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], ebx
call dword [0x14d12134]
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
mov edi, 0x14d03ee0
push edi
push dword [ebp - 8]
call dword [0x14d12270]
mov eax, dword [ebp - 0xc]
lea eax, [eax + esi*2 + 6]
push eax
push 8
push dword [0x14d11ea8]
mov dword [ebp - 0xc], eax
call dword [0x14d1216c]
mov esi, eax
cmp esi, ebx
je 0x14d0ea40
lea eax, [ebp - 0xc]
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 8]
call dword [0x14d12270]
push dword [ebp + 8]
push esi
call dword [0x14d12294]
test eax, eax
jne 0x14d0ea32
push esi
call dword [0x14d12134]
cmp eax, ebx
jbe 0x14d0e9fe
cmp word [esi + eax*2 - 2], 0x2c
je 0x14d0e9fe
push 0x14d03edc
push esi
call dword [0x14d12144]
push dword [ebp + 8]
push esi
call dword [0x14d12144]
push 0x14d03edc
push esi
call dword [0x14d12144]
push esi
call dword [0x14d12134]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push edi
push dword [ebp - 8]
call dword [0x14d1227c]
mov byte [ebp - 1], 1
push esi
push ebx
push dword [0x14d11ea8]
call dword [0x14d12174]
push dword [ebp - 8]
call dword [0x14d12278]
pop edi
pop esi
jmp 0x14d0ea92
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push 0x14d03e80
push 0x80000001
call dword [0x14d12274]
test eax, eax
jne 0x14d0ea92
push dword [ebp + 8]
call dword [0x14d12134]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
push 1
push ebx
push 0x14d03e34
push dword [ebp - 8]
call dword [0x14d1227c]
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x14d0fa20
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
call dword [0x14d12308]
test eax, eax
je 0x14d0fb0e
cmp dword [ebp - 0xc], 0xc8
jne 0x14d0fb0e
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [0x14d12160]
mov esi, eax
cmp esi, 0xffffffff
je 0x14d0fb0e
mov byte [ebp - 1], bl
push ebx
push dword [ebp + 0x10]
call dword [0x14d12158]
test eax, eax
je 0x14d0fab4
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call dword [0x14d122f4]
test eax, eax
jne 0x14d0fab8
mov byte [ebp - 1], 1
cmp dword [ebp - 8], ebx
je 0x14d0fae8
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [0x14d12198]
test eax, eax
je 0x14d0fadf
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
je 0x14d0fae3
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x14d0fa89
push esi
call dword [0x14d121a8]
push esi
call dword [0x14d12148]
cmp byte [ebp - 1], bl
je 0x14d0fb04
push dword [ebp + 0xc]
call fcn.14d0eaae
pop ecx
xor eax, eax
cmp byte [ebp - 1], bl
sete al
jmp 0x14d0fb10
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
push 0x64
push 0x416510
push 0x67
push ebx
call esi
push 0x64
push 0x416448
push 0x6d
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push ebx
mov dword [ebp - 0x44], 0x30
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], 0x401200
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], ebx
call esi
push 0x7f00
push 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6c
push dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x20], 0x6d
mov dword [ebp - 0x1c], 0x416448
call esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov dword [0x416440], ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
push 0
call fcn.00404203
push eax
call fcn.004041f1
add esp, 8
push 0
push ebx
push 0
push 0
push pe_nt_image_headers32
push pe_nt_image_headers32
call fcn.004041d0
cdq
mov ecx, 0x64
movd xmm0, esi
idiv ecx
cvtdq2pd xmm0, xmm0
movd xmm1, edx
divsd xmm0, qword [str.ffffff]
cvtdq2pd xmm1, xmm1
addsd xmm1, xmm0
cvttsd2si eax, xmm1
push eax
call fcn.004041d0
cdq
mov ecx, 0x64
movd xmm0, edi
idiv ecx
cvtdq2pd xmm0, xmm0
movd xmm1, edx
divsd xmm0, qword [str.ffffff]
cvtdq2pd xmm1, xmm1
addsd xmm1, xmm0
cvttsd2si eax, xmm1
push eax
push 0x80000
push 0x416510
push 0x416448
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x40116b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401359
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push ebx
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x60]
push 0
push eax
call esi
test eax, eax
je 0x4011e0
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop word [eax + eax]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4011d0
lea eax, [ebp - 0x60]
push eax
call edi
lea eax, [ebp - 0x60]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x60]
push eax
call esi
test eax, eax
jne 0x4011b0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x58]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00401359
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401b89
Capabilities:
Parse pe header

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

Function at 0x406245
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40f4f4
push 0x40f4ec
push str.FlsAlloc
push 0x1f
call fcn.00406180
mov esi, eax
add esp, 0x10
test esi, esi
je 0x406279
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e15c]
call esi
jmp 0x40627f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4062c3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40f504
push 0x40f4fc
push str.FlsGetValue
push 0x21
call fcn.00406180
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4062fa
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e15c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x406302
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40f50c
push 0x40f504
push str.FlsSetValue
push 0x22
call fcn.00406180
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40633c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e15c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4068bf
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40690a
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00406adc
test al, al
jne 0x406904
sub edx, 2
cmp edx, edi
jne 0x4068ea
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40692c
lea eax, [edi + 2]
cmp edx, eax
je 0x40692c
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040680b
add esp, 0x10
jmp 0x406a26
push esi
lea ecx, [ebp - 0x255]
call fcn.00406adc
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40696f
push dword [ebp - 0x25c]
jmp 0x40691c
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4069ac
cmp word [ebp - 0x226], 0
je 0x4069cd
cmp word [ebp - 0x226], ax
jne 0x4069ac
cmp word [ebp - 0x224], 0
je 0x4069cd
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040680b
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x406a19
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x406986
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x406a01
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x406a26
push 0x40663b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00409320
add esp, 0x10
jmp 0x4069f6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401359
leave
ret
Function at 0x40cfc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40cfed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40cfed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret