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

Disassembly:
cmp byte [esp + 8], 1
jne 0x1004685d
pushal
mov esi, section..e1
lea edi, [esi - 0x26000]
push edi
or ebp, 0xffffffff
jmp 0x100466ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100466c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100466b0
mov eax, 1
add ebx, ebx
jne 0x100466d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100466c8
jne 0x100466e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100466c8
xor ecx, ecx
sub eax, 3
jb 0x100466f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1004676a
mov ebp, eax
add ebx, ebx
jne 0x10046703
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10046710
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10046734
inc ecx
add ebx, ebx
jne 0x10046720
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10046715
jne 0x10046731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10046715
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10046754
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10046745
jmp 0x100466b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10046754
add edi, ecx
jmp 0x100466b6
pop esi
mov edi, esi
mov ecx, 0x804
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10046772
cmp byte [edi], 0xc
jne 0x10046772
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 0x10046777
lea edi, [esi + 0x43000]
mov eax, dword [edi]
or eax, eax
je 0x100467ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x46000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x46118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100467a4
mov ecx, edi
jns 0x100467d3
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 + 0x4611c]
or eax, eax
je 0x100467e9
mov dword [ebx], eax
add ebx, 4
jmp 0x100467c1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10046820
cmp al, 0xef
ja 0x10046813
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100467f5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10046802
mov ebp, dword [esi + 0x46120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10046854
sub esp, 0xffffff80
jmp 0x10021c35
Function at 0x410810
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x410832
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410839
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410828
mov eax, 1
add ebx, ebx
jne 0x41084b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410840
jne 0x41085c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410840
xor ecx, ecx
sub eax, 3
jb 0x410870
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4108e2
mov ebp, eax
add ebx, ebx
jne 0x41087b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x410888
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4108ac
inc ecx
add ebx, ebx
jne 0x410898
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41088d
jne 0x4108a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41088d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4108cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4108bd
jmp 0x41082e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4108cc
add edi, ecx
jmp 0x41082e
pop esi
mov edi, esi
mov ecx, 0x1a8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4108ea
cmp byte [edi], 6
jne 0x4108ea
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 0x4108ef
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x410967
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1053c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x105a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41091c
mov ecx, edi
jns 0x41094b
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 + 0x105a4]
or eax, eax
je 0x410961
mov dword [ebx], eax
add ebx, 4
jmp 0x410939
call dword [esi + 0x105a8]
popal
jmp 0x403487
Function at 0x100063bd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10026490]
jne 0x100063c7
repz ret
jmp fcn.100088cb

Function at 0x100140c7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10026490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000cc92
and dword [ebp - 0x14], 0
cmp dword [0x10028308], 0
mov dword [ebp - 0x18], eax
jne 0x1001417a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10014222
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10014222
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10028308], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1002830c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10028310], eax
call edi
push eax
call esi
mov dword [0x10028318], eax
test eax, eax
je 0x1001417a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10028314], eax
mov eax, dword [0x10028314]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100141d3
cmp dword [0x10028318], ecx
je 0x100141d3
push eax
call esi
push dword [0x10028318]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100141d3
test ebx, ebx
je 0x100141d3
call edi
test eax, eax
je 0x100141ca
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100141ca
test byte [ebp - 8], 1
jne 0x100141d3
or dword [ebp + 0x10], 0x200000
jmp 0x10014206
mov eax, dword [0x1002830c]
cmp eax, dword [ebp - 0x18]
je 0x10014206
push eax
call esi
test eax, eax
je 0x10014206
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10014206
mov eax, dword [0x10028310]
cmp eax, dword [ebp - 0x18]
je 0x10014206
push eax
call esi
test eax, eax
je 0x10014206
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10028308]
call esi
test eax, eax
je 0x10014222
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10014224
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100063bd
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x1447442b
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x4bde7999
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40693c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x406964
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x406956
pop edi
pop esi
pop ebp
ret 4

Function at 0x409ecb
Capabilities:
Encode data using xor

Disassembly:
jmp 0x570ab423
push edi
push ebp
fld1
jbe 0x409e51
xor byte [ebx + 0x56], dl
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
sub eax, 0xec458966
in al, dx
xor eax, dword [ecx + ecx*4]
inc ecx
dec ebp
jge 0x409eb0
push 0x64
mov word [ebp - 0x12], ax
call 0x23a627e
aaa
dec ebp
adc al, ch
and dword [edx + 0x5d3701f9], 0xc
aaa
pop ebp
or al, 0x66
cmp dword [ebx], edi
aaa
pop ebp
or al, 0x66
cmp dword [ebx], edi
add eax, dword [eax]
inc edx
jmp 0x409e9d
Function at 0x41fe4f
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x41fe84
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x41fe7d
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x41fe89
add edx, 0x28
cmp edx, esi
jne 0x41fe6e
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x41fe86
Function at 0x471f97
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [str.dword_ptr], 1
jne 0x471fa5
call fcn.00472081
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x471fdd
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
sub dword [str.dword_ptr], 1
jne 0x471ff0
call fcn.00472081
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x472033
fadd qword [0x4c81c0]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [str.internal_error:_opcode_not]
leave
ret

Function at 0x472041
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4d2630], ecx
inc esi
mov edx, esi
mov eax, dword [edx*4 + 0x4d262c]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [edx*4 + 0x4d2630], eax
inc edx
cmp edx, 0x270
jl 0x47204d
mov dword [str.dword_ptr], esi
mov dword [0x4d2ff0], esi
pop esi
ret

Function at 0x472081
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4d2ff0], 0
push esi
push edi
mov esi, 0x4d2630
jne 0x4720a4
push 0
call fcn.0042e523
pop ecx
mov ecx, eax
call fcn.00472041
mov dword [str.dword_ptr], 0x270
mov edx, 0xd7d700e3
mov dword [0x4d2ff4], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, dword [esi]
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi + 0x634]
mov dword [esi], ecx
add esi, 4
sub edx, 1
jne 0x4720b9
mov eax, dword [esi]
mov dword [ebp - 4], 0x175018c
mov edi, dword [esi + 4]
mov ecx, eax
xor ecx, edi
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi - 0x38c]
sub dword [ebp - 4], 1
mov dword [esi], ecx
lea esi, [esi + 4]
jne 0x4720f3
mov eax, dword [0x4d2630]
mov ecx, edi
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, edi
shr ecx, 1
neg eax
pop edi
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
leave
ret
Function at 0x416ead
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00416f2c
jae 0x416eb9
xor ecx, ecx
call fcn.00416f2c
jae 0x416ee3
xor eax, eax
call fcn.00416f2c
jae 0x416ef4
mov al, 0x10
call fcn.00416f2c
adc al, al
jae 0x416ed5
jne 0x416f21
stosb byte es:[edi], al
jmp 0x416eba
call fcn.00416f38
dec ecx
loop 0x416f00
mov eax, ebp
call fcn.00416f36
jmp 0x416f22
lodsb al, byte [esi]
shr eax, 1
je 0x416f48
adc ecx, 2
mov ebp, eax
jmp 0x416f22
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00416f36
cmp eax, 0x7d00
jae 0x416f20
cmp eax, 0x500
jae 0x416f21
cmp eax, 0x7f
ja 0x416f22
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416eba
pop ebp
ret 8
Function at 0x4c661d
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c67c0
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4c6795
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4c6795
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4c6744
jg 0x4c6676
test eax, eax
je 0x4c673a
push 1
push 0x1000
call fcn.004b7bc4
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4c669c
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4c6731
push 0x8000
push ebx
call fcn.004aefb0
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4c66c8
jg 0x4c66c3
cmp ecx, 0x1000
jb 0x4c66c8
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004bd246
add esp, 0x10
cmp eax, 0xffffffff
je 0x4c670d
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x4c66c3
jl 0x4c66f4
test ecx, ecx
jne 0x4c66b5
push dword [ebp - 0xc]
push ebx
call fcn.004aefb0
push esi
call fcn.004b6016
add esp, 0xc
xor edi, edi
jmp 0x4c67a6
cmp byte [edi + 0x24], 0
je 0x4c6724
cmp dword [edi + 0x20], 5
jne 0x4c6724
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4c672f
mov edi, dword [edi + 0x18]
jmp 0x4c6731
xor edi, edi
push esi
call fcn.004b6016
pop ecx
jmp 0x4c67a6
test ecx, ecx
jg 0x4c6706
jl 0x4c6744
test eax, eax
jae 0x4c6706
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c49c0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4c6767
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4c6706
jmp 0x4c679e
push ebx
call fcn.004bc450
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4c6706
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4c67a6
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4c67a3
mov edi, dword [edi + 0x18]
jmp 0x4c67a6
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004c49c0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x570000
Capabilities:
Packed with generic packer

Disassembly:
pushal
push 0x570031
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x57003a
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [0x570047]
push 0
push 0
push 0
push edx
push 0
push 0
call eax
popal
jmp fcn.004a0126
Function at 0x4011f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 4
push 0x40
push 0x3000
mov eax, dword [ebp + 8]
push eax
push 0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_VirtualAllocEx]
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
xor esi, esi
call fcn.00409990
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00409990
add esp, 0x18
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov word [ebp - 0x410], ax
push 0x418618
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x41865c
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
push 0x418668
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
mov ecx, 1
push 0x4186b0
push eax
cmovne esi, ecx
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
je 0x4010d7
or esi, 2
push 0x4186c8
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4186bc
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
je 0x401105
or esi, 4
push 0x418720
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x418714
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
je 0x401136
or esi, 0x100
push 0x418780
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x418774
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
je 0x401167
or esi, 0x200
push 0x4187e0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x4187d4
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp eax, 0xffffffff
je 0x401198
or esi, 0x400
mov ecx, dword [ebp - 4]
or esi, 0x2000000
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405da4
mov esp, ebp
pop ebp
ret
Function at 0x401470
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x46]
push eax
call fcn.00409990
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
call fcn.00403c20
add esp, 4
xor ecx, ecx
jmp 0x4014b0
movzx eax, word [ebp + ecx - 0x48]
mov word [ecx + 0x41bf88], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4014b0
push 0x41bf88
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x4014f1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405da4
mov esp, ebp
pop ebp
ret
push 0x41bf88
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
je 0x4014e1
lea eax, [ebp - 0x1d8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, 0x41cb20
call fcn.00401da0
test eax, eax
jne 0x4015c0
xor ecx, ecx
lea esp, [esp]
movzx eax, word [ecx + 0x418894]
mov word [ecx + 0x41ccc8], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x401530
push 0x4188a0
push 0x40
push 0x41cb24
call fcn.00405ee9
add esp, 0xc
push 0x4188bc
push 0x10
push 0x41cba6
call fcn.00405ee9
add esp, 0xc
push 0x4188c8
push 0x40
push 0x41cbc6
call fcn.00405ee9
mov eax, 0x51
mov word [0x41cba4], ax
mov eax, 0x2b8e
add esp, 0xc
mov word [0x41cc46], ax
xor ecx, ecx
lea ebx, [ebx]
movzx eax, word [ecx + 0x4188e4]
mov word [ecx + 0x41cca8], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4015a0
mov dword [0x41cce8], 5
call fcn.00403d60
push 0x4188f4
call fcn.00403e80
add esp, 4
mov dword [0x41ce20], eax
call fcn.00401250
push 0
push 0
push 0
push 0x4013b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.00405da4
mov esp, ebp
pop ebp
ret
Function at 0x401610
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call fcn.00404860
add esp, 8
mov dword [ebp - 0x418], eax
test eax, eax
jne 0x40172f
push esi
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00409990
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00409990
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x41c3a8
cmp word [esi], 0
je 0x4016c3
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00405ee9
push esi
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00405f45
add esp, 0x18
add esi, 0x118
cmp esi, 0x41c920
jl 0x401690
mov esi, 0x41c3a8
cmp word [esi], 0
je 0x4016e9
push 1
push edi
push ebx
push esi
call fcn.00405810
add esp, 0x10
add esi, 0x118
cmp esi, 0x41c920
jl 0x4016d6
push 0x41c1a0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00405f45
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x418]
mov ecx, 2
cmove eax, ecx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00405da4
mov esp, ebp
pop ebp
ret
Function at 0x4019f0
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x41a038]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x41beb8
push 0x67
push edi
call esi
push 0x64
push 0x41bdf0
push 0x6d
push edi
call esi
mov ecx, edi
call fcn.00401b90
push 0
push edi
push 0
push 0
push 0
push connect
push 0
push connect
push 0xcf0000
push 0x41beb8
push 0x41bdf0
push 0
mov dword [0x41bf80], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x401a82
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00405da4
mov esp, ebp
pop ebp
ret 0x10
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call esi
push 0x41af08
call fcn.00402b50
add esp, 4
call fcn.00402110
test eax, eax
je 0x401abb
call fcn.00403780
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00401470
test eax, eax
je 0x401a6a
call fcn.00401740
mov eax, dword [0x41ce20]
test eax, eax
je 0x401af6
cmp word [0x41ce24], 0
jbe 0x401af6
push 0x41aef8
push eax
call fcn.004044d0
mov ax, word [0x41ce24]
add esp, 8
mov word [0x41aef4], ax
xor ecx, ecx
jmp 0x401b00
movzx eax, word [ecx + 0x418a64]
mov word [ecx + 0x41c1a0], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x401b00
call fcn.00404580
xor eax, eax
push 0x206
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call fcn.00409990
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x41c1a0
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.00405f45
add esp, 0xc
push 0x1f4
call esi
push 1
push 0
push 0x418a80
lea eax, [esp + 0x14]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]