joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408df0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x408015
lea edi, [esi - 0x7015]
push edi
jmp 0x408e0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408e11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408e00
mov eax, 1
add ebx, ebx
jne 0x408e23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408e18
jne 0x408e34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408e18
xor ecx, ecx
sub eax, 3
jb 0x408e48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408eba
mov ebp, eax
add ebx, ebx
jne 0x408e53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x408e60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x408e84
inc ecx
add ebx, ebx
jne 0x408e70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x408e65
jne 0x408e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408e65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x408ea4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x408e95
jmp 0x408e06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x408ea4
add edi, ecx
jmp 0x408e06
pop esi
mov edi, esi
mov ecx, 0x73
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x408ec2
cmp byte [edi], 1
jne 0x408ec2
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 0x408ec7
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x408f36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8080]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408ef4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8088]
or eax, eax
je 0x408f30
mov dword [ebx], eax
add ebx, 4
jmp 0x408f11
call dword [esi + 0x8084]
mov ebp, dword [esi + 0x808c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x408f6a
sub esp, 0xffffff80
jmp 0x401240

Function at 0x43c0b2
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
sub ebp, 1
jne 0x43c0b3
pop ebp
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov edi, dword [eax + 0x10]
call 0x43c0cd
pop esi
lea edx, [edi + 0x1000]
lea ecx, [edx + 0x1c800]
lea ebx, [esi + 0x273]
lea ebp, [ebx + 0x20]
push edx
push ecx
push ebx
push ebp
call section.sect_4
add esp, 0x10
lea eax, [edi + 0x8430]
jmp eax
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x27e46ca0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..text
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5c9a58dc
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x403793
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4037bc
cmp al, 0x22
je 0x4037b4
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4037a8
cmp byte [esi], 0x22
jne 0x4037c6
inc esi
jmp 0x4037c6
cmp al, 0x20
jle 0x4037c6
inc esi
cmp byte [esi], 0x20
jg 0x4037c0
mov al, byte [esi]
test al, al
je 0x4037d0
cmp al, 0x20
jle 0x4037b9
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0040383e
push 0x405004
push section..data
call fcn.00403824
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x403800
movzx eax, word [ebp - 0x14]
jmp 0x403803
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00403856
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x419b00
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4b133eba
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, str._CCp
nop
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x430334c0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4d64c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4b9015
lea edi, [esi - 0xb8015]
lea eax, [edi + 0xbec50]
push dword [eax]
mov dword [eax], 0x3aa19823
push eax
push edi
or ebp, 0xffffffff
jmp 0x4d64f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4d64f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d64e8
mov eax, 1
add ebx, ebx
jne 0x4d650b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4d651c
jne 0x4d653b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d653b
dec eax
add ebx, ebx
jne 0x4d6528
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4d6500
add ebx, ebx
jne 0x4d6537
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4d658d
xor ecx, ecx
sub eax, 3
jb 0x4d6553
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4d65c2
sar eax, 1
mov ebp, eax
jmp 0x4d655e
add ebx, ebx
jne 0x4d655e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d652c
inc ecx
add ebx, ebx
jne 0x4d656c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4d652c
add ebx, ebx
jne 0x4d6579
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4d656e
jne 0x4d658a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4d656e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4d65ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4d659e
jmp 0x4d64ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4d65ac
add edi, ecx
jmp 0x4d64ee
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x2db8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4d65ce
cmp byte [edi], 0xe
jne 0x4d65ce
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 0x4d65d3
lea edi, [esi + 0xd2000]
mov eax, dword [edi]
or eax, eax
je 0x4d6642
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xda8e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xda99c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4d6600
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xda9a4]
or eax, eax
je 0x4d663c
mov dword [ebx], eax
add ebx, 4
jmp 0x4d661d
call dword [esi + 0xda9a0]
mov ebp, dword [esi + 0xda9a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0xd669d]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4d668e
sub esp, 0xffffff80
jmp 0x401480
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40c70f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40c71e
pop dword [ebp - 0x40]
mov eax, 0xf74c10e
add eax, 0xf0cc0610
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x9e247319
add dword [ebp - 0x50], 0xb02dd232
mov dword [ebp - 0x4c], 0xfdd73a89
sub dword [ebp - 0x4c], 0xcba3ee44
mov dword [ebp - 0x48], 0x585a3aa5
add dword [ebp - 0x48], 0xf3f20989
mov dword [ebp - 0x44], 0xdae645
sub dword [ebp - 0x44], 0xdae645
lea eax, [ebp - 0x50]
push eax
mov eax, 0xe4108770
add eax, 0x1c31a904
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xff930a7
add dword [ebp - 0x50], 0x647938af
mov dword [ebp - 0x4c], 0x30c33bfd
sub dword [ebp - 0x4c], 0xef56da88
mov dword [ebp - 0x48], 0xc3e3cee3
add dword [ebp - 0x48], 0x9f8b9d89
mov dword [ebp - 0x44], 0x506f8983
sub dword [ebp - 0x44], 0x506f8983
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x1158e6ca
sub eax, 0x1116b5a6
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3e614
push 0
call eax
mov ecx, 0xf3a0e9bc
add ecx, 0xc5f60df
mov edx, eax
mov esi, 0x434400
add esi, dword [ebp - 0x40]
mov ebx, 0x42b9216d
sub dword [ebp - 0x34], 0x2347ae3d
mov edi, dword [esi]
sub dword [ebp - 0xc], eax
add edi, ebx
xor dword [ebp - 0x30], eax
mov dword [edx], edi
xor dword [ebp - 0x24], edx
add edx, 0xe1965d92
add edx, 0x1e69a272
add esi, 4
loop 0x40c834
add eax, 0xa9f148fe
add eax, 0x560fd441
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x5bc1cc6c
add ecx, 0xa47e3394
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x40580e
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 8]
push edi
push 2
xor ecx, ecx
mov dl, byte [esi + 1]
pop edi
Function at 0x407d1a
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
xor eax, eax
lea edi, [esi + 8]
push edi
push eax
push esi
push 0x407d45
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, dword [edi]
pop edi
pop esi
ret

Function at 0x408450
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [ecx + 0x14]
push esi
lea esi, [ecx + 0x14]
push edi
cmp dword [eax - 8], 0
jne 0x40849f
and byte [ebp - 0x104], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push 0x22
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
call fcn.004049bf
mov eax, dword [esi]
mov edi, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jl 0x4084b8
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4084c8
mov eax, dword [0x415050]
mov ecx, edi
mov dword [edi], eax
push dword [esi]
call fcn.004049bf
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x4091c4
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411d78
push 0x4103b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
and dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
jmp 0x409224
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409438
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x28]
lea esi, [ebx + 0x28]
cmp dword [eax - 8], 0
jne 0x4094c4
and byte [ebp - 0x200], 0
push 0x7c
pop ecx
xor eax, eax
lea edi, [ebp - 0x1ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x200]
push eax
push 0xc
push 0x411b38
call fcn.0040580e
add esp, 0xc
mov ecx, ebx
push eax
lea eax, [ebp - 8]
push str._t_n
push eax
call fcn.00408450
push eax
lea eax, [ebp - 4]
push eax
call fcn.004076a7
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004076a7
push eax
mov ecx, esi
call fcn.004048f4
lea ecx, [ebp - 0xc]
call fcn.00404833
lea ecx, [ebp - 4]
call fcn.00404833
lea ecx, [ebp - 8]
call fcn.00404833
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esi]
mov edi, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jl 0x4094e7
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4094f7
mov eax, dword [0x415050]
mov ecx, edi
mov dword [edi], eax
push dword [esi]
call fcn.004049bf
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x409500
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [ecx + 0x24]
push ebx
push esi
lea esi, [ecx + 0x24]
xor ebx, ebx
push edi
cmp dword [eax - 8], ebx
jne 0x409595
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
mov byte [ebp - 0x104], bl
push 0x7c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x2f7]
mov byte [ebp - 0x2f8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
lea eax, [ebp - 0x104]
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
call fcn.004049bf
lea eax, [ebp - 0x2f8]
push eax
push 0x40
push 0x411d30
call fcn.0040580e
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x409585
xor eax, eax
jmp 0x40958c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push eax
mov ecx, esi
call fcn.00404a90
mov eax, dword [esi]
mov edi, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
jl 0x4095ad
mov dword [edi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4095bd
mov eax, dword [0x415050]
mov ecx, edi
mov dword [edi], eax
push dword [esi]
call fcn.004049bf
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x409f91
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
and dword [esp], 0
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, ecx
mov dword [esp + 0x1c], ebp
cmp byte [esi], 0
mov dword [esp + 0x18], edi
je 0x40a25f
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextA]

Function at 0x40a2bf
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push ebx
push esi
mov esi, 0x41568c
push edi
push esi
lea ecx, [ebp - 8]
call fcn.0040485f
xor ebx, ebx
push ebx
push ebx
push ebx
push 4
pop edi
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
push ebx
push 0x84000100
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne fcn.0040a31e
mov ecx, dword [ebp + 8]
push esi
call fcn.0040485f
lea ecx, [ebp - 8]
call fcn.00404833
mov eax, dword [ebp + 8]
jmp 0x40a404
Function at 0x40c520
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [eax + 4], 0x113
mov esi, ecx
jne 0x40c5f5
lea edi, [eax + 8]
mov eax, dword [esi + 8]
cmp eax, dword [edi]
jne 0x40c5a4
mov ecx, dword [0x415664]
call fcn.0040985c
test al, al
je 0x40c5a4
lea eax, [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_time]
pop ecx
xor edi, edi
push dword [ebp + 8]
mov dword [esi + 4], edi
mov ecx, dword [0x415664]
call fcn.00409a2c
push dword [esi + 8]
push edi
call dword [sym.imp.USER32.dll_KillTimer]
push dword [ebp + 8]
mov ecx, esi
call fcn.0040c5fe
mov ecx, dword [0x415664]
push edi
call fcn.00409b53
imul eax, eax, 0x3e8
push eax
push edi
push edi
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 8], eax
jmp 0x40c5f1
lea ebx, [esi + 0xc]
lea eax, [ebp + 8]
push edi
push eax
mov ecx, ebx
call fcn.0040d728
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x10]
je 0x40c5f5
push dword [eax + 0x10]
xor edi, edi
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push edi
call dword [sym.imp.USER32.dll_KillTimer]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, ebx
push eax
call fcn.0040d413
mov al, 1
jmp 0x40c5f7
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40d762
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.00401982
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push dword [ebp + 0xc]
push ebx
call esi
push 0xf0
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
push ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp eax, ecx
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], ecx
je 0x40d7ba
push eax
push ebx
call esi
push eax
mov dword [ebp - 4], eax
call edi
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
je 0x40d80a
push dword [ebp + 8]
push ebx
call esi
push eax
mov dword [ebp + 8], eax
call edi
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.0040d829
pop ecx
mov edi, eax
pop ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
cmp edi, esi
mov dword [ebp - 8], eax
je 0x40d801
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [ebp + 0xc], 0
pop edi
pop esi
pop ebx
je 0x40d822
cmp dword [ebp - 0xc], 0
je 0x40d822
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
leave
ret 0x14

Function at 0x40dbcc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
neg esi
lea eax, [ecx - 0x48]
sbb esi, esi
and esi, eax
cmp byte [ecx + 0x1c], 0
je 0x40dc0f
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x40dc00
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40dc15
cmp dword [ebp + 0xc], 0
jne 0x40dc0f
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x40dc2c
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x48]
shr eax, 0x10
movsx eax, ax
push eax
movsx eax, word [ebp + 0x10]
push eax
call fcn.0040ded0
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x40e6bd
Capabilities:
Accept command line arguments

Disassembly:
push esi
mov esi, ecx
push edi
push dword [esi + 8]
push dword [esi + 4]
call fcn.0040e84a
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x40e6dc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
push edi
call sub.MSVCRT.dll_strlen
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [esi + 0x10], eax
test eax, eax
pop ecx
je 0x40e702
push edi
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
mov ecx, esi
call fcn.0040e73c
pop edi
pop esi
ret 4