joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a9c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x41a9d3
mov dword [edi], 0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41ab3a
cmp dword [ebp + 0x10], 0
mov dword [esi + 0x13c4], 0
je 0x41ab3a
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jl 0x41ab3a
cmp byte [esi + 0x1390], 0
jne 0x41aa21
test edi, edi
je 0x41aa10
mov dword [edi], 0xffffffff
pop edi
mov dword [esi + 0x13c4], 0xffffffff
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [esi]
push eax
call fcn.0043663e
add esp, 4
test eax, eax
je 0x41aa4b
test edi, edi
je 0x41aa3a
mov dword [edi], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop esi
pop ebx
pop ebp
ret 0x10
test ebx, ebx
jne 0x41aa6a
test edi, edi
je 0x41aa59
mov dword [edi], 0
pop edi
mov dword [esi + 0x13c4], 0
pop esi
pop ebx
pop ebp
ret 0x10
mov ecx, dword [ebp + 0x10]
lea eax, [esi + 0x1394]
mov dword [esi + 0x1398], ebx
push 0
lea ebx, [esi + 4]
push eax
mov dword [eax], ecx
mov dword [esi + 0x13a8], 0x1388
mov dword [esi + 0x13a4], ebx
call fcn.00419940
cmp eax, 1
jne 0x41ab09
jmp 0x41aaa0
mov eax, dword [esi + 0x13a8]
cmp eax, 0x1388
jae 0x41aad9
mov edx, dword [esi]
push edx
mov edi, 0x1388
sub edi, eax
push edi
push 1
push ebx
call fcn.004367cc
add esp, 0x10
cmp edi, eax
jne 0x41ab1c
mov eax, dword [esi]
push eax
call fcn.0043663e
add esp, 4
test eax, eax
jne 0x41ab1c
mov edi, dword [ebp + 8]
cmp dword [esi + 0x1398], 0
je 0x41aa4f
push 0
lea eax, [esi + 0x1394]
mov dword [esi + 0x13a8], 0x1388
push eax
mov dword [esi + 0x13a4], ebx
call fcn.00419940
cmp eax, 1
je 0x41aaa0
test edi, edi
je 0x41ab0f
mov dword [edi], eax
pop edi
mov dword [esi + 0x13c4], eax
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
test eax, eax
je 0x41ab29
mov dword [eax], 0xfffffffa
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
pop esi
pop ebx
pop ebp
ret 0x10
test edi, edi
je 0x41ab44
mov dword [edi], 0xfffffffe
test esi, esi
je 0x41ab52
mov dword [esi + 0x13c4], 0xfffffffe
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x41ab60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x41ab7d
mov eax, dword [ebp + 8]
test eax, eax
je 0x41ad4c
mov dword [eax], edi
pop edi
pop ebp
ret 0x1c
cmp byte [edi + 0x1390], 0
jne 0x41aba2
mov eax, dword [ebp + 8]
test eax, eax
je 0x41ab93
mov dword [eax], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
pop ebp
ret 0x1c
mov eax, dword [edi]
push eax
call fcn.0043663e
add esp, 4
test eax, eax
je 0x41abcd
mov eax, dword [ebp + 8]
test eax, eax
je 0x41abbe
mov dword [eax], 0xfffffffa
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41abda
mov dword [ecx], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41abe7
mov dword [eax], 0
push ebx
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x41abf5
mov dword [ebx], 0
push esi
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x41ac03
mov dword [esi], 0
cmp dword [ebp + 0x10], 0
jne 0x41acee
cmp dword [edi + 0x13c4], 0
jne 0x41ac8e
jmp 0x41ac20
lea eax, [edi + 4]
mov dword [edi + 0x13a4], eax
push 2
lea eax, [edi + 0x1394]
mov esi, 0x1388
push eax
mov dword [edi + 0x13a8], esi
call fcn.00419940
mov ebx, eax
cmp ebx, 3
je 0x41ac52
cmp ebx, 4
jne 0x41acd2
mov eax, dword [edi + 0x13a8]
cmp eax, esi
jae 0x41ac83
mov ecx, dword [edi]
push ecx
sub esi, eax
push esi
lea eax, [edi + 4]
push 1
push eax
call fcn.004367cc
add esp, 0x10
cmp esi, eax
jne 0x41acb4
mov edx, dword [edi]
push edx
call fcn.0043663e
add esp, 4
test eax, eax
jne 0x41acb4
cmp ebx, 4
jne 0x41ac20
mov esi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1c]
mov eax, dword [edi]
push eax
call fcn.0043663e
add esp, 4
test eax, eax
jne 0x41ace8
mov ecx, dword [edi]
push ecx
call fcn.004369cc
mov edx, dword [edi]
push edx
call fcn.0043663e
add esp, 8
test eax, eax
je 0x41ace8
mov eax, dword [ebp + 8]
test eax, eax
je 0x41acc1
mov dword [eax], 0xfffffffa
pop esi
pop ebx
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
pop ebp
ret 0x1c
mov eax, dword [ebp + 8]
test eax, eax
je 0x41acdb
mov dword [eax], ebx
pop esi
mov dword [edi + 0x13c4], ebx
pop ebx
pop edi
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41acfa
mov edx, dword [edi + 0x139c]
mov dword [ecx], edx
test eax, eax
je 0x41ad06
mov ecx, dword [edi + 0x13a0]
mov dword [eax], ecx
test ebx, ebx
je 0x41ad12
mov edx, dword [edi + 0x13ac]
mov dword [ebx], edx
test esi, esi
je 0x41ad1e
mov eax, dword [edi + 0x13b0]
mov dword [esi], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x41ad2b
mov dword [eax], 0
lea ecx, [edi + 0x1394]
push ecx
mov dword [edi + 0x13c4], 0
call fcn.00419a90
push edi
call fcn.00433458
add esp, 4
pop esi
pop ebx
pop edi
pop ebp
ret 0x1c

Function at 0x41af60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.0041af40
mov esi, dword [ebp + 8]
push eax
push esi
push 0x450cc8
call fcn.00436b16
add eax, 0x40
push eax
call fcn.00436ceb
add esp, 0x10
cmp esi, 0x3ef
jne 0x41afa2
push 0x4508a0
call fcn.00436b16
add eax, 0x40
push eax
call fcn.00436ceb
add esp, 8
push 3
call fcn.00435dd6
int3
Function at 0x41b160
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
cmp ebx, edx
push edi
je 0x41b170
mov dword [ebx], edx
mov edi, dword [ebp + 0xc]
cmp edi, edx
je 0x41b347
mov eax, dword [ebp + 0x10]
cmp eax, edx
mov dword [edi + 0x13c4], edx
je 0x41b347
mov ecx, dword [ebp + 0x14]
cmp ecx, edx
jl 0x41b347
cmp byte [edi + 0x1390], dl
je 0x41b1bb
cmp ebx, edx
je 0x41b1a9
mov dword [ebx], 0xffffffff
mov dword [edi + 0x13c4], 0xffffffff
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
cmp ecx, edx
jne 0x41b1d3
cmp ebx, edx
je 0x41b1c5
mov dword [ebx], edx
mov dword [edi + 0x13c4], edx
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
mov dword [edi + 0x13a4], eax
mov eax, dword [edi]
push esi
push eax
mov dword [edi + 0x13a8], ecx
call fcn.0043663e
add esp, 4
test eax, eax
jne 0x41b295
cmp dword [edi + 0x1398], 0
jne 0x41b244
mov esi, dword [edi]
call fcn.0041a870
test al, al
jne 0x41b244
mov ecx, dword [edi]
push ecx
push 0x1388
lea esi, [edi + 4]
push 1
push esi
call fcn.004370d6
mov edx, dword [edi]
push edx
mov ebx, eax
call fcn.0043663e
add esp, 0x14
test eax, eax
jne 0x41b2d7
mov dword [edi + 0x138c], ebx
mov dword [edi + 0x1398], ebx
mov ebx, dword [ebp + 8]
mov dword [edi + 0x1394], esi
lea eax, [edi + 0x1394]
push eax
call fcn.0041afb0
test eax, eax
jne 0x41b2b2
mov esi, dword [edi]
call fcn.0041a870
test al, al
je 0x41b275
cmp dword [edi + 0x1398], 0
jne 0x41b275
cmp dword [edi + 0x13a8], 0
ja 0x41b30c
cmp dword [edi + 0x13a8], 0
je 0x41b329
mov ecx, dword [edi]
push ecx
call fcn.0043663e
add esp, 4
test eax, eax
je 0x41b1f3
test ebx, ebx
je 0x41b29f
mov dword [ebx], 0xfffffffa
pop esi
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
cmp eax, 4
jne 0x41b2f7
test ebx, ebx
je 0x41b2bd
mov dword [ebx], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [edi + 0x13a8]
pop esi
mov dword [edi + 0x13c4], 4
pop edi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
test eax, eax
je 0x41b29f
mov dword [eax], 0xfffffffa
pop esi
mov dword [edi + 0x13c4], 0xfffffffa
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
test ebx, ebx
je 0x41b2fd
mov dword [ebx], eax
pop esi
mov dword [edi + 0x13c4], eax
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
test ebx, ebx
je 0x41b316
mov dword [ebx], 0xfffffff9
pop esi
mov dword [edi + 0x13c4], 0xfffffff9
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
test ebx, ebx
je 0x41b333
mov dword [ebx], 0
mov eax, dword [ebp + 0x14]
pop esi
mov dword [edi + 0x13c4], 0
pop edi
pop ebx
pop ebp
ret 0x10
cmp ebx, edx
je 0x41b351
mov dword [ebx], 0xfffffffe
cmp edi, edx
je 0x41b35f
mov dword [edi + 0x13c4], 0xfffffffe
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0x10
Function at 0x9aab84
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
call fcn.009aadf0
shr eax, 8
pop ecx
test al, al
je 0x9aab9d
pop ebp
jmp fcn.009aa31c
pop ebp
jmp fcn.009a9c40
Function at 0x9c7000
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x1c]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test esi, esi
jle 0x9c7066
push ebp
mov ebp, dword [esp + 0x18]
sub ebp, dword [esp + 0x1c]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x1c]
push edi
inc bl
movzx ebx, bl
mov cl, byte [edx + ebx + 8]
add al, cl
movzx eax, al
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
mov al, byte [edx + eax + 8]
mov byte [edx + ebx + 8], al
add al, cl
movzx eax, al
mov byte [edx + edi + 8], cl
mov cl, byte [eax + edx + 8]
mov eax, edi
xor cl, byte [esi + ebp]
mov byte [esi], cl
inc esi
sub dword [esp + 0x10], 1
jne 0x9c7026
mov esi, dword [esp + 0x24]
pop edi
pop ebp
mov dword [edx + 4], eax
mov eax, esi
pop esi
mov dword [edx], ebx
pop ebx
pop ecx
ret

Function at 0x9c7660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1c], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x1c]
lea eax, [edx + ecx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 0
jne 0x9c7699
xor eax, eax
jmp 0x9c7775
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp + 0xc]
cdq
and eax, 0xffff0000
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x30]
or ecx, dword [ebp - 0x2c]
jne 0x9c76d0
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
sub eax, dword [edx + 0x10]
mov dword [ebp - 0xc], eax
jmp 0x9c7746
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], 0
jmp 0x9c76f5
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x18]
jae 0x9c7727
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
push eax
call fcn.009c7280
add esp, 8
test eax, eax
jne 0x9c7725
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
jmp 0x9c7727
jmp 0x9c76ec
cmp dword [ebp - 0x10], 0
jl 0x9c7746
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + ecx*2]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x9c7757
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx + 0x14]
jb 0x9c775b
xor eax, eax
jmp 0x9c7775
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10028985
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100289d7
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 2
jmp 0x100289b5
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x100289d5
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100289d3
push 0
push 0
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x100289aa
jmp 0x10028a0b
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x10028a0b
push 0
push 0x1dea
push 0x1c5
push 0x1deb
push 0xad4
push 0x9da
push 0x1a0a
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov esp, ebp
pop ebp
ret
Function at 0x1002fe41
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002fe65
xor eax, eax
jmp 0x1002ffa1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push 1
push 0x761a
push 0x597d
call fcn.1002fc75
add esp, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002fe97
xor eax, eax
jmp 0x1002ffa1
push 0
push 0x21de
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.1002fdaf
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x1002feba
xor eax, eax
jmp 0x1002ffa1
push dword [ebp - 8]
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x58b6
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
call fcn.1002fb37
add esp, 0x1c
push 0
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.1002a88b
add esp, 0x10
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002fd02
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x1002ff1c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002fd5b
add esp, 0xc
push dword [ebp - 4]
call fcn.1002f951
pop ecx
test eax, eax
jne 0x1002ff2d
xor eax, eax
jmp 0x1002ffa1
push 1
push dword [ebp - 4]
call fcn.100294fa
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002ff89
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002ff58
xor eax, eax
jmp 0x1002ffa1
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002ff71
xor eax, eax
jmp 0x1002ffa1
push 1
lea eax, [ebp - 4]
push eax
push 0x5ba0
push 0x64ca
call fcn.1002fdaf
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002ff9a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002ff9e
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1007e450
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10086330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006dbea
mov dword [ebp - 0x14], eax
cmp dword [0x1067388c], esi
jne 0x1007e543
push 0x800
push esi
push 0x10007c5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007e4d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007e623
push esi
push esi
push 0x10007c5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007e623
push 0x10007c74
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007e623
push eax
call ebx
push 0x10007c80
push edi
mov dword [0x1067388c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007c90
push edi
mov dword [0x10673890], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ca4
push edi
mov dword [0x10673894], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067389c], eax
test eax, eax
je 0x1007e540
push 0x10007cc0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10673898], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007e568
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007e55b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007e57d
push 4
pop eax
jmp 0x1007e625
cmp dword [ebp - 0x14], esi
je 0x1007e57d
push dword [0x1067388c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007e562
mov eax, dword [0x10673898]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007e5db
cmp dword [0x1067389c], edi
je 0x1007e5db
push eax
call ebx
push dword [0x1067389c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007e5db
test eax, eax
je 0x1007e5db
call ecx
test eax, eax
je 0x1007e5d0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007e5d0
test byte [ebp - 8], 1
jne 0x1007e5db
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007e60b
mov eax, dword [0x10673890]
cmp eax, edi
je 0x1007e608
push eax
call ebx
test eax, eax
je 0x1007e608
call eax
mov esi, eax
test esi, esi
je 0x1007e608
mov eax, dword [0x10673894]
cmp eax, edi
je 0x1007e608
push eax
call ebx
test eax, eax
je 0x1007e608
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067388c]
call ebx
test eax, eax
je 0x1007e623
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007e625
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10069fa2
mov esp, ebp
pop ebp
ret
Function at 0x4036b0
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x1c0c
call fcn.0040ea60
mov eax, dword [0x2b8cbe4]
mov ecx, dword [0x2b8cb58]
shr eax, 3
test eax, eax
jbe 0x4037eb
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403700
cmp dword [0x2b8cbe4], 0x959
jne 0x4037cd
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0x402d88
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x1020]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0x402da8
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x824]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0x402dec
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0x402df4
push 0x402e0c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.004034e0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c0c
ret
Function at 0x4061bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432aa8]
jne 0x4061c5
repz ret
jmp fcn.0040a7bc

Function at 0x40ce8b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407b1e
and dword [ebp - 4], 0
cmp dword [0x4360d8], 0
mov ebx, eax
jne 0x40cf3c
push 0x402c94
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40cfed
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c88
push edi
call esi
test eax, eax
je 0x40cfed
push eax
call fcn.00407aac
mov dword [esp], 0x402c78
push edi
mov dword [0x4360d8], eax
call esi
push eax
call fcn.00407aac
mov dword [esp], 0x402c64
push edi
mov dword [0x4360dc], eax
call esi
push eax
call fcn.00407aac
mov dword [esp], 0x402c48
push edi
mov dword [0x4360e0], eax
call esi
push eax
call fcn.00407aac
pop ecx
mov dword [0x4360e8], eax
test eax, eax
je 0x40cf3c
push 0x402c30
push edi
call esi
push eax
call fcn.00407aac
pop ecx
mov dword [0x4360e4], eax
mov eax, dword [0x4360e4]
cmp eax, ebx
je 0x40cf94
cmp dword [0x4360e8], ebx
je 0x40cf94
push eax
call fcn.00407b27
push dword [0x4360e8]
mov esi, eax
call fcn.00407b27
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40cf94
test edi, edi
je 0x40cf94
call esi
test eax, eax
je 0x40cf8b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40cf8b
test byte [ebp - 0xc], 1
jne 0x40cf94
or dword [ebp + 0x10], 0x200000
jmp 0x40cfcd
mov eax, dword [0x4360dc]
cmp eax, ebx
je 0x40cfcd
push eax
call fcn.00407b27
pop ecx
test eax, eax
je 0x40cfcd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40cfcd
mov eax, dword [0x4360e0]
cmp eax, ebx
je 0x40cfcd
push eax
call fcn.00407b27
pop ecx
test eax, eax
je 0x40cfcd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4360d8]
call fcn.00407b27
pop ecx
test eax, eax
je 0x40cfed
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40cfef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Get user security identifier
Packed with generic packer

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
lea ecx, [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
push esi
lea edx, [esp + 0xc]
xor eax, eax
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
push eax
push ebx
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
call ebp
test eax, eax
jne 0x401085
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x401085
mov edx, dword [esp + 0x10]
push edi
jmp loc.0042421a
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x401090
Capabilities:
Get session user name

Disassembly:
mov eax, dword [0x40c234]
test eax, eax
jne 0x4010c5
jmp loc.00427d8f
jmp loc.0042698d

Function at 0x401310
Capabilities:
Create pipe

Disassembly:
sub esp, 0x12c
mov al, byte [0x40c120]
push ebx
push ebp
xor ebp, ebp
xor ebx, ebx
push esi
test al, al
mov dword [esp + 0xc], ebx
jmp loc.00426a68

Function at 0x4013c8
Capabilities:
Create pipe

Disassembly:
mov ebx, dword [esp + 0x1c]
add esp, 0x10
test eax, eax
je fcn.004013d7
push 0
push ebx
lea eax, [esp + 0x28]
push 1
push eax
jmp loc.00428300

Function at 0x4020c7
Capabilities:
Packed with generic packer

Disassembly:
mov ecx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0xc]
test ecx, ecx
mov esi, edi
je 0x4020ff
mov edx, dword [esp + 0x10]
mov ax, word [edx]
mov word [edi], ax
inc edi
inc edi
inc edx
inc edx
test ax, ax
je 0x4020ed
dec ecx
jne 0x4020db
test ecx, ecx
je 0x4020ff
dec ecx
je 0x4020ff
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
jmp 0x42593e
mov eax, esi
pop edi
pop esi
ret

Function at 0x402139
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
lea ecx, [ebp - 0x14]
push eax
push eax
push 0x14
push ecx
push 0xffffffffffffffff
push dword [ebp + 8]
push eax
push eax
jmp loc.004292c7

Function at 0x402260
Capabilities:
Packed with generic packer

Disassembly:
push ecx
cmp eax, 0x1000
lea ecx, [esp + 8]
jb 0x402280
jmp loc.00424743
sub ecx, eax
mov eax, esp
test dword [ecx], eax
mov esp, ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
ret

Function at 0x402843
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
lea eax, [ebp - 0x28]
push edi
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push ecx
push ecx
fld qword [eax]
fstp qword [esp]
jmp loc.00423c5f

Function at 0x402927
Capabilities:
Packed with generic packer

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x40294a
push esi
mov esi, dword [esp + 0xc]
push esi
call fcn.00404660
inc eax
push eax
push esi
add esi, edi
push esi
jmp loc.00429db6
pop edi
ret

Function at 0x4033ab
Capabilities:
Get thread local storage value
Packed with generic packer
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp loc.00428c65

Function at 0x40343f
Capabilities:
Check os version
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x122c
jmp loc.004258b7