joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001fc2
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0xc], ebx
je 0x10020a0
push edi
call dword [0xa05d319c]
test al, al
je 0x10020a0
mov eax, dword [edi + 0x3c]
add eax, edi
cmp word [edi], 0x5a4d
jne 0x10020a0
cmp dword [eax], 0x4550
jne 0x10020a0
mov esi, dword [eax + 0x78]
add esi, edi
cmp dword [eax + 0x7c], ebx
je 0x10020a0
cmp dword [esi + 0x18], ebx
je 0x10020a0
cmp dword [esi + 0x14], ebx
je 0x10020a0
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 0x24]
add eax, dword [ebp + 8]
add ebx, edi
mov edi, dword [esi + 0x20]
add edi, dword [ebp + 8]
push ebx
mov dword [ebp - 8], eax
call dword [0xa05d319c]
test al, al
je 0x10020a0
push edi
call dword [0xa05d319c]
test al, al
je 0x10020a0
push dword [ebp - 8]
call dword [0xa05d319c]
test al, al
je 0x10020a0
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 0
jbe 0x1002089
mov eax, dword [ebp - 4]
mov eax, dword [edi + eax*4]
add eax, dword [ebp + 8]
push dword [ebp + 0xc]
push eax
call dword [0xa05d3078]
test eax, eax
pop ecx
pop ecx
je 0x100208e
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x18]
jb 0x1002065
mov eax, dword [ebp - 0xc]
jmp 0x10020a2
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2]
mov eax, dword [ebx + eax*4]
add eax, dword [ebp + 8]
jmp 0x10020a2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10023b8
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
mov eax, dword [ebp + 8]
je 0x10023d2
mov cl, byte [ebp + 0x10]
xor byte [eax], cl
inc eax
inc cl
dec edx
jne 0x10023ca
mov eax, dword [ebp + 8]
pop ebp
ret 0xc
Function at 0x1004082
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0xa05d5a64]
push ebx
push esi
push edi
mov edi, 0xa05d5a60
sub edi, 0x12a60
lea eax, [ecx + ecx*2]
shl eax, 2
push 0
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], eax
pop edx
je 0x10040ce
movzx esi, byte [edx - 0x5fa2bda0]
mov ebx, dword [ebp - 4]
shr ebx, 0x1b
xor esi, ebx
mov ebx, dword [ebp - 4]
shl ebx, 5
xor esi, ebx
inc edx
cmp edx, eax
mov dword [ebp - 4], esi
jb 0x10040af
cmp dword [ebp - 4], 0xd71bf652
je 0x1004106
cmp byte [0xa05da6fb], 0
jne 0x10040f6
push 0x436e4dc9
push 0x576e4278
call fcn.01003a6e
mov byte [0xa05da6fb], 1
push 0x3e8
call fcn.010012e6
mov ecx, dword [0xa05d5a64]
and dword [ebp - 0xc], 0
test ecx, ecx
jbe 0x1004193
mov esi, 0xa05d4264
mov eax, dword [esi - 4]
mov edx, dword [esi]
and dword [ebp - 8], 0
add eax, edi
test edx, edx
mov dword [ebp - 4], edx
jbe 0x100414e
mov edi, dword [ebp - 8]
movzx edi, byte [eax + edi]
mov ebx, dword [ebp - 4]
shr ebx, 0x1b
xor edi, ebx
mov ebx, dword [ebp - 4]
shl ebx, 5
xor edi, ebx
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
mov dword [ebp - 4], edi
jb 0x1004129
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 4]
je 0x1004188
cmp byte [0xa05da6fc], 0
jne 0x1004188
push dword [ebp - 0xc]
push 0x436e4dca
push 0x576e4278
call fcn.01003a8c
push 0x3e8
mov byte [0xa05da6fc], 1
call fcn.010012e6
mov ecx, dword [0xa05d5a64]
inc dword [ebp - 0xc]
add esi, 0xc
cmp dword [ebp - 0xc], ecx
jb 0x1004117
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10049cc
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4

Function at 0x10054ce
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x100
mov dword [ebp - 4], ecx
xor esi, esi
mov edx, edi
mov ebx, eax
mov dword [edx], ecx
inc ecx
add edx, 4
dec ebx
jne 0x10054ea
mov ecx, edi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [esi + eax]
add al, byte [ecx]
mov edx, dword [ecx]
add al, byte [ebp - 4]
and eax, 0xff
mov dword [ebp - 4], eax
movzx eax, ax
lea eax, [edi + eax*4]
mov ebx, dword [eax]
mov dword [ecx], ebx
mov dword [eax], edx
lea eax, [esi + 1]
xor edx, edx
div dword [ebp + 0x10]
add ecx, 4
dec dword [ebp + 8]
mov esi, edx
jne 0x10054f8
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1005924
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [0xa05d319c]
test al, al
je 0x1005951
mov eax, dword [esi + 0x3c]
add eax, esi
cmp word [esi], 0x5a4d
jne 0x1005951
cmp dword [eax], 0x4550
jne 0x1005951
mov eax, dword [eax + 8]
jmp 0x1005953
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x1007476
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xa05d5fb0]
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
add ebx, edi
cmp word [edi], 0x5a4d
mov dword [ebp - 0x14], eax
jne 0x100759f
cmp dword [ebx], 0x4550
jne 0x100759f
push dword [ebx + 0x78]
push edi
call fcn.01002354
mov esi, eax
xor eax, eax
add esi, edi
cmp dword [ebx + 0x7c], eax
je 0x100759f
cmp dword [esi + 0x18], eax
je 0x100759f
cmp dword [esi + 0x14], eax
je 0x100759f
push dword [esi + 0x1c]
push edi
call fcn.01002354
push dword [esi + 0x20]
add eax, edi
push edi
mov dword [ebp - 0x10], eax
call fcn.01002354
push dword [esi + 0x24]
mov ebx, eax
push edi
add ebx, edi
call fcn.01002354
push dword [ebp - 0x10]
add eax, edi
mov dword [ebp - 0xc], eax
call dword [0xa05d319c]
test al, al
je 0x100759f
push ebx
call dword [0xa05d319c]
test al, al
je 0x100759f
push dword [ebp - 0xc]
call dword [0xa05d319c]
test al, al
je 0x100759f
cmp byte [ebp + 0x14], 0
je 0x1007542
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.010023b8
and dword [ebp - 8], 0
cmp dword [esi + 0x18], 0
jbe 0x100759a
push dword [ebp - 0x14]
mov eax, dword [ebp - 8]
push dword [ebx + eax*4]
push edi
call fcn.01002354
add eax, edi
push eax
call dword [0xa05d3078]
test eax, eax
pop ecx
pop ecx
je 0x1007577
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x18]
jb 0x100754c
jmp 0x100759a
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
push dword [ecx + eax*4]
push edi
call fcn.01002354
add eax, edi
cmp byte [eax], 0xb8
jne 0x100759a
mov eax, dword [eax + 1]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x10075a1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100f6a2
leave
ret 0x10

Function at 0x1009518
Capabilities:
Encode data using xor
Hash data using jshash

Disassembly:
mov edi, edi
push esi
mov esi, dword [0xa05d7dc0]
push edi
mov edi, 0xa05d7dc0
cmp esi, edi
je 0x1009583
push ebx
mov eax, 0x4e67c6a7
xor ecx, ecx
movsx edx, byte [esi + ecx - 0x34]
mov ebx, eax
shl ebx, 5
add edx, ebx
mov ebx, eax
shr ebx, 2
add edx, ebx
xor eax, edx
inc ecx
cmp ecx, 0xc
jb 0x1009533
cmp eax, dword [esi - 0x28]
je 0x100957c
cmp byte [0xa05d7e25], 0
jne 0x1009572
push 0x436e4dc6
push 0x576e4278
call fcn.01003a6e
mov byte [0xa05d7e25], 1
push 0x3e8
call fcn.010012e6
mov esi, dword [esi]
cmp esi, edi
jne 0x100952c
pop ebx
pop edi
pop esi
ret
Function at 0x100958c
Capabilities:
Encode data using xor
Hash data using jshash

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
mov byte [ebp - 1], 0
call dword [0xa05d3014]
cmp al, 2
mov edi, 0xa05d7dd0
mov ecx, edi
jb 0x10095b4
call dword [0xa05d3084]
mov byte [ebp - 1], 1
jmp 0x10095bd
call dword [0xa05d300c]
mov byte [ebp - 2], al
push esi
mov esi, dword [0xa05d7dc8]
cmp esi, 0xa05d7dc8
je 0x100961e
push ebx
mov eax, 0x4e67c6a7
xor ecx, ecx
movsx edx, byte [esi + ecx - 0x34]
mov ebx, eax
shl ebx, 5
add edx, ebx
mov ebx, eax
shr ebx, 2
add edx, ebx
xor eax, edx
inc ecx
cmp ecx, 0xc
jb 0x10095d4
cmp eax, dword [esi - 0x28]
je 0x1009613
cmp byte [0xa05d7e26], 0
jne 0x1009613
push 0x436e4dc5
push 0x576e4278
call fcn.01003a6e
mov byte [0xa05d7e26], 1
mov esi, dword [esi]
cmp esi, 0xa05d7dc8
jne 0x10095cd
pop ebx
cmp byte [ebp - 1], 0
pop esi
mov ecx, edi
je 0x100962f
call dword [0xa05d3080]
jmp 0x1009638
mov dl, byte [ebp - 2]
call dword [0xa05d3010]
pop edi
leave
ret

Function at 0x100a1d6
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0xa05d5fb0]
and dword [ebp - 0x5c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x15
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov edi, dword [0xa05d319c]
push esi
call edi
test al, al
je 0x100a269
push ebx
call edi
test al, al
je 0x100a269
mov eax, dword [esi + 0x3c]
add eax, esi
cmp word [esi], 0x5a4d
jne 0x100a269
cmp dword [eax], 0x4550
jne 0x100a269
push 0x38
lea esi, [eax + 0x18]
pop ecx
lea eax, [ebp - 0x5c]
lea edi, [ebp - 0x13c]
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0x120], 0
push eax
call fcn.010049cc
push 0xe0
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.01009f7c
lea eax, [ebp - 0x5c]
push eax
push ebx
call fcn.0100a024
mov al, 1
jmp 0x100a26b
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100f6a2
leave
ret 0xc
Function at 0x1006f61
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x10017e8
call fcn.01007214
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1006f9c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1006f9c
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1006fb4
cmp eax, 0x20b
je 0x1006fa1
mov dword [ebp - 0x1c], edi
jmp 0x1006fc8
cmp dword [ecx + 0x84], 0xe
jbe 0x1006f9c
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1006fc2
cmp dword [ecx + 0x74], 0xe
jbe 0x1006f9c
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x100d0ac], 0xffffffff
or dword [0x100d0b0], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x100d090]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100d08c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100d0b4], eax
call fcn.0100720c
cmp dword [0x100d070], edi
jne 0x1007023
push fcn.0100720c
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010071f5
push 0x100d010
push 0x100d00c
call sub.msvcrt.dll__initterm
mov eax, dword [0x100d088]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x100d084]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x100d008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.010061e7
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x100709a
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10070cf
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0100724f
ret
Function at 0x100757a
Capabilities:
Initialize winsock library

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x100d060]
and dword [ebp - 0x198], 0
cmp dword [0x100d094], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x19c], eax
jne 0x10075de
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10075d4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1007684
mov dword [0x100d094], 1
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + 5]
push 1
push eax
call dword [sym.imp.msvcrt.dll_calloc]
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x100760f
push 0x8007000e
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01007fcb
jmp 0x100764f
push esi
push edi
push ebx
call fcn.010080ab
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 0x198], eax
jne 0x1007638
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push 0x800300fd
jmp 0x1007602
push 2
push 4
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
mov esi, eax
test esi, esi
jne 0x1007653
xor eax, eax
jmp 0x1007682
push edi
call dword [sym.imp.msvcrt.dll_free]
cmp dword [ebp + 0x10], 0
mov eax, dword [esi]
pop ecx
jne 0x1007671
push 0x100184c
push eax
call dword [sym.imp.msvcrt.dll_strtok]
pop ecx
pop ecx
push 0xf
push dword [ebp - 0x19c]
push eax
call fcn.01008156
xor eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01006d41
leave
ret 0xc

Function at 0x10076ba
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x100d060]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x3f
xor edx, edx
pop ecx
mov dword [ebp - 4], eax
xor eax, eax
cmp ebx, edx
lea edi, [ebp - 0x100]
mov dword [ebp - 0x104], edx
rep stosd dword es:[edi], eax
push 0x3f
pop ecx
lea edi, [ebp - 0x200]
mov dword [ebp - 0x204], edx
mov dword [ebp - 0x208], edx
rep stosd dword es:[edi], eax
je 0x10077a9
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x10077a9
mov esi, dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
mov edi, 0x80
push 4
mov dword [ebp - 0x208], edi
call esi
push 0
push 1
push ebx
lea eax, [ebp - 0x104]
push eax
call fcn.01008741
test eax, eax
je 0x10077a9
push ebx
call fcn.0100735d
cmp eax, 1
jne 0x1007779
push 0
lea eax, [ebp - 0x204]
push eax
push ebx
call fcn.0100757a
test eax, eax
je 0x10077ac
push 0
push 1
lea eax, [ebp - 0x204]
push eax
jmp 0x1007796
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
push 7
mov dword [ebp - 0x208], edi
call esi
push 0
push 1
push ebx
lea eax, [ebp - 0x104]
push eax
call fcn.01008741
neg eax
sbb eax, eax
inc eax
jmp 0x10077ac
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01006d41
leave
ret 4
Function at 0x10079fc
Capabilities:
Connect network resource

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x100d060]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x408], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x14]
push 0x7e
mov dword [ebp - 0x40c], eax
pop ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x404], ebx
lea edi, [ebp - 0x400]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x7e
pop ecx
mov dword [ebp - 0x204], ebx
xor eax, eax
lea edi, [ebp - 0x200]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
call fcn.010076ba
cmp eax, 1
jne 0x1007aa9
cmp dword [ebp - 0x408], ebx
je 0x1007aa2
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1007aa2
mov esi, 0xa0010001
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x157e
call fcn.01008c99
push eax
call fcn.01007d44
mov eax, esi
jmp 0x1007bf1
xor eax, eax
jmp 0x1007bf1
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x204]
push eax
call edi
push esi
call fcn.01007696
cmp eax, 1
jne 0x1007ad1
add esi, 4
push esi
lea eax, [ebp - 0x204]
push eax
call edi
lea eax, [ebp - 0x204]
push eax
call fcn.0100744e
test eax, eax
jne 0x1007aec
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1007bf1
mov esi, 0x10012d4
push esi
lea eax, [ebp - 0x404]
push eax
call edi
cmp dword [ebp - 0x40c], ebx
je 0x1007b37
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1007b37
push dword [ebp - 0x40c]
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push 0x100187c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x1007b53
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push 0x1001850
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 8
pop ecx
xor eax, eax
push ebx
push dword [ebp - 0x408]
lea edi, [ebp - 0x430]
push dword [ebp - 0x410]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x404]
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x430]
push eax
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x420], ebx
call sub.MPR.dll_WNetAddConnection2W
mov edi, eax
cmp edi, ebx
je 0x1007bb3
cmp edi, 0x4b8
je 0x1007bac
call fcn.01007fcb
jmp 0x1007bef
call fcn.01008022
jmp 0x1007bef
push esi
xor edi, edi
call fcn.01007d44
lea eax, [ebp - 0x204]
push eax
call fcn.010077c0
cmp eax, 0x1388
jae 0x1007bef
lea eax, [ebp - 0x204]
push eax
call fcn.010079df
push 0x157f
call fcn.01008c99
push eax
call fcn.01007d44
mov edi, 0x4b8
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01006d41
leave
ret 0x10
Function at 0x4327d8
Capabilities:
Parse pe header

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

Function at 0x43e440
Capabilities:
Parse pe header

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

Function at 0x43e7ed
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4548c8
push 0x4548c0
push str.FlsAlloc
push 0x1e
call fcn.0043ed4c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43e821
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x43e827
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43e86b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4548d8
push 0x4548d0
push str.FlsGetValue
push 0x20
call fcn.0043ed4c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43e8a2
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x44c02b
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x4658b0], 0
push esi
jne 0x44c082
cmp dword [ebp + 8], 0
jne 0x44c057
call fcn.0043b326
mov dword [eax], 0x16
call fcn.00440047
mov eax, 0x7fffffff
jmp 0x44c095
cmp dword [ebp + 0xc], 0
je 0x44c040
mov esi, 0x7fffffff
cmp dword [ebp + 0x10], esi
jbe 0x44c07b
call fcn.0043b326
mov dword [eax], 0x16
call fcn.00440047
mov eax, esi
jmp 0x44c095
pop esi
pop ebp
jmp fcn.0044b8a9
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044c098
add esp, 0x10
pop esi
pop ebp
ret
Function at 0x40dcd0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x473d2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004684a1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40dd52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00466180
mov eax, dword [eax]
push 0x5701f0
push eax
call fcn.00458db4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046872c
test bl, bl
je 0x40dd52
push 0x5701f0
lea ecx, [esp + 0xc]
call fcn.00468abc
push 0x573d80
lea ecx, [esp + 0xc]
call fcn.00468abc
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40dd8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046872c
jmp 0x40de59
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40de12
lea edx, [esp + 0x7c]
push 0x573d7c
push edx
call fcn.00458db4
add esp, 8
test eax, eax
je 0x40de12
lea eax, [esp + 0x7c]
push 0x573d78
push eax
call fcn.00458db4
add esp, 8
test eax, eax
je 0x40de12
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40dda2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046872c
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40f0b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40f112
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc