joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41401e
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
cmp dword [0x489ff0], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x489620
jne 0x41403e
push 0
call fcn.00453e41
pop ecx
call fcn.00413fdf
mov dword [0x478078], 0x270
mov dword [0x48961c], esi
mov edx, 0xe3
mov ecx, 0x7ffffffe
mov eax, 0x9908b0df
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi + 0x634]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x41405d
mov edx, 0x18c
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi - 0x38c]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x414093
mov edx, dword [0x489620]
mov edi, dword [esi]
xor edi, edx
and edi, ecx
xor edi, dword [esi]
and dl, 1
shr edi, 1
neg dl
sbb edx, edx
and edx, eax
xor edi, edx
xor edi, dword [esi - 0x38c]
mov dword [esi], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

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

Disassembly:
dec dword [0x478078]
jne 0x4140fa
call fcn.0041401e
mov eax, dword [0x48961c]
mov ecx, dword [eax]
add dword [0x48961c], 4
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 0x414131
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x478078]
jne 0x41413f
call fcn.0041401e
mov eax, dword [0x48961c]
mov eax, dword [eax]
add dword [0x48961c], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
test ecx, ecx
mov dword [esp], ecx
fild dword [esp]
jge 0x414185
fadd qword [0x4726a8]
fmul qword [0x4726a0]
pop ecx
ret

Function at 0x414330
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [esi + 0x14], 1
jne 0x414352
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.0044fd10
add esp, 0xc
jmp 0x414365
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.00452f60
add esp, 0x10
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 3]
add dword [esi + 0xc], 8
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 1]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea eax, [ebp - 8]
push 0x46d558
push eax
mov byte [ebp - 4], 0
call fcn.00452570
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
leave
ret 4
Function at 0x415144
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
push 0x46bf80
or eax, 0xffffffff
call fcn.0040fc4b
pop ecx
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00451f70
push esi
call fcn.0044f951
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0041475f
lea eax, [esp + 0xa8]
push eax
call fcn.00451ee0
pop ecx
mov ebx, eax
call fcn.0041475f
lea eax, [esp + 0xa8]
push eax
mov eax, ebx
call fcn.0041478c
mov eax, esi
call fcn.00414823
and dword [edi + 8], 0
push 0x10
xor ecx, ecx
xor eax, eax
pop ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
inc ecx
cmp ecx, ebx
jl 0x4151b8
push 0x46cf3c
push dword [ebp + 8]
mov dword [edi + 8], eax
call fcn.0045286b
test eax, eax
pop ecx
pop ecx
mov dword [edi], eax
jne 0x4151df
inc eax
jmp 0x41523b
mov esi, edi
call fcn.00415243
push dword [edi]
mov esi, eax
test esi, esi
je 0x4151f7
call fcn.00452c48
mov eax, esi
jmp 0x41523a
push ebx
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00452f60
add esp, 0x10
push 0x99f2
push ebx
lea eax, [esp + 0x10]
push eax
call fcn.0041533e
xor ecx, ecx
mov dword [edi + 8], ecx
xor eax, eax
movzx edx, byte [esp + eax + 8]
imul ecx, edx
inc eax
cmp eax, ebx
jl 0x41521e
push dword [edi]
mov dword [edi + 8], ecx
call fcn.00454023
mov dword [edi + 4], eax
xor eax, eax
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x415243
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00454dd0
xor eax, eax
mov cl, byte [eax + 0x478030]
mov byte [ebp + eax - 0x20], cl
mov cl, byte [eax + 0x478028]
mov byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 8
jl 0x415252
push ebx
push edi
lea eax, [ebp - 8]
push 0x46d568
push eax
call fcn.00451f70
push 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044fd10
add esp, 0x14
xor edi, edi
push dword [esi]
lea eax, [ebp - 0x10020]
push 0x10000
push 1
push eax
call fcn.00452f60
add esp, 0x10
cmp eax, 0x18
mov dword [ebp - 0xc], eax
jl 0x415339
lea edx, [eax - 0x14]
xor ecx, ecx
test edx, edx
jle 0x4152e5
xor edx, edx
lea eax, [ebp + ecx - 0x10020]
mov bl, byte [ebp + edx - 0x20]
cmp bl, byte [eax + edx]
jne 0x4152d5
inc edx
cmp edx, 0x14
jl 0x4152c6
cmp edx, 0x14
je 0x4152f9
mov eax, dword [ebp - 0xc]
inc ecx
lea edx, [eax - 0x14]
cmp ecx, edx
jl 0x4152bd
push 1
push 0xffffffffffffffec
push dword [esi]
lea edi, [edi + eax - 0x14]
call fcn.00452905
add esp, 0xc
jmp 0x415290
push 0
lea eax, [edi + ecx + 0x14]
push eax
push dword [esi]
call fcn.00452905
add esp, 0xc
push dword [esi]
lea eax, [ebp - 8]
push 4
push 1
push eax
call fcn.00452f60
lea eax, [ebp - 8]
push 0x46d558
push eax
mov byte [ebp - 4], 0
call fcn.00452570
add esp, 0x18
neg eax
sbb eax, eax
and eax, 4
pop edi
pop ebx
leave
ret
push 3
pop eax
jmp 0x415335
Function at 0x415676
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68c
push ebx
push esi
mov esi, eax
push edi
lea eax, [ebp - 0x478]
call fcn.004141e1
push 0
push dword [esi + 4]
xor edi, edi
push dword [esi]
inc edi
mov dword [ebp - 0xc], edi
call fcn.00452905
add esp, 0xc
lea eax, [ebp - 0x688]
push eax
push 0x46ca60
call fcn.004157e6
test eax, eax
je 0x4156c1
push 6
pop eax
jmp 0x4157df
push dword [esi]
lea eax, [ebp - 1]
push edi
push edi
push eax
call fcn.00452f60
push dword [esi]
lea eax, [ebp - 8]
push edi
push 4
push eax
call fcn.00452f60
push dword [esi]
mov edi, dword [ebp - 8]
push 1
lea eax, [ebp - 8]
push 4
mov ebx, 0x87bc
push eax
xor edi, ebx
call fcn.00452f60
push dword [esi]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
xor eax, ebx
push 1
mov dword [ecx], eax
lea eax, [ebp - 8]
push 4
push eax
call fcn.00452f60
mov ebx, dword [ebp - 8]
add esp, 0x40
push 1
push 0x10
push dword [esi]
xor ebx, 0xa685
call fcn.00452905
mov eax, dword [ebp + 0xc]
add esp, 0xc
push dword [eax]
call fcn.00451e16
pop ecx
push edi
mov dword [ebp + 0xc], eax
call fcn.00451e16
pop ecx
push dword [esi]
mov dword [ebp - 0x10], eax
push 1
push edi
push eax
call fcn.00452f60
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0x10]
add esp, 0x10
add eax, 0x2477
push eax
push edi
push esi
call fcn.0041533e
push edi
push esi
lea edi, [ebp - 0xc]
call fcn.0041418d
cmp ebx, dword [ebp - 0xc]
je 0x415787
push dword [ebp + 0xc]
call fcn.00452068
pop ecx
push esi
call fcn.00452068
pop ecx
push 0xa
jmp 0x4156bb
cmp byte [ebp - 1], 1
jne 0x4157c9
lea eax, [ebp - 0x478]
call fcn.004141e1
xor eax, eax
inc eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x478]
mov dword [ebp - 0x474], esi
call fcn.0041420f
push esi
call fcn.00452068
jmp 0x4157d4
push dword [ebp + 0xc]
call fcn.00452068
mov dword [ebp + 0xc], esi
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4157e6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push ebx
push edi
mov byte [ebp - 1], 1
push dword [esi]
lea eax, [ebp - 0x14]
push 4
push 1
push eax
call fcn.00452f60
add esp, 0x10
push 0x18ee
push 4
lea eax, [ebp - 0x14]
push eax
call fcn.0041533e
lea eax, [ebp - 0x14]
push 0x46d580
push eax
mov byte [ebp - 0x10], 0
call fcn.00452570
test eax, eax
pop ecx
pop ecx
jne 0x41593b
push dword [esi]
lea eax, [ebp - 0xc]
push 1
push 4
push eax
call fcn.00452f60
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0xadbc
lea ebx, [edi + edi]
push ebx
lea eax, [ebp - 0x228]
push 1
push eax
call fcn.00452f60
add esp, 0x20
add edi, 0xb33f
push edi
push ebx
lea eax, [ebp - 0x228]
push eax
call fcn.0041533e
and word [ebp + ebx - 0x228], 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0044f86d
push dword [esi]
lea eax, [ebp - 0xc]
push 1
push 4
push eax
call fcn.00452f60
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0xf820
lea ebx, [edi + edi]
push ebx
lea eax, [ebp - 0x228]
push 1
push eax
call fcn.00452f60
add esp, 0x28
add edi, 0xf479
push edi
push ebx
lea eax, [ebp - 0x228]
push eax
call fcn.0041533e
and word [ebp + ebx - 0x228], 0
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 0xc]
call fcn.0044f86d
push dword [ebp + 8]
lea eax, [ebp - 0x438]
push eax
call fcn.004518ea
add esp, 0x10
test eax, eax
je 0x415952
xor edi, edi
inc edi
push edi
push edi
push dword [esi]
call fcn.00452905
add esp, 0xc
push dword [esi]
lea eax, [ebp - 8]
push edi
push 4
push eax
call fcn.00452f60
xor dword [ebp - 8], 0x87bc
mov eax, dword [ebp - 8]
push edi
add eax, 0x18
push eax
push dword [esi]
call fcn.00452905
add esp, 0x1c
jmp 0x41593f
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 1
je 0x4157f5
push 6
pop eax
pop edi
pop ebx
leave
ret 8
xor eax, eax
jmp 0x41594c
Function at 0x41f41d
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push 0x47000c
push eax
call fcn.00451a06
lea eax, [ebp - 0x208]
push eax
call fcn.0045177a
add esp, 0x10
xor ebx, ebx
cmp word [ebp + eax*2 - 0x20a], 0x5c
jne 0x41f484
lea eax, [ebp - 0x208]
push eax
call fcn.0045177a
cmp word [ebp + eax*2 - 0x20c], 0x3a
pop ecx
je 0x41f484
lea eax, [ebp - 0x208]
push eax
call fcn.0045177a
pop ecx
mov word [ebp + eax*2 - 0x20a], bx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41f499
cmp byte [ebp + 8], bl
je 0x41f565
push esi
push ebx
push 0x2200000
push 3
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41f550
push 0x14
lea eax, [ebp - 0x820]
push ebx
push eax
call fcn.00451700
lea eax, [ebp - 0x208]
push eax
mov dword [ebp - 0x820], 0xa0000003
call fcn.0045177a
add eax, eax
mov word [ebp - 0x816], ax
mov eax, dword [ebp - 0x816]
add eax, 2
mov word [ebp - 0x814], ax
push 0x104
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00451790
mov eax, dword [ebp - 0x816]
add esp, 0x1c
push ebx
add eax, 0xc
mov word [ebp - 0x81c], ax
lea ecx, [ebp + 0xc]
push ecx
push ebx
movzx eax, ax
push ebx
add eax, 8
push eax
lea eax, [ebp - 0x820]
push eax
push 0x900a4
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
push esi
jne 0x41f55b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
jmp 0x41f564
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret 8
Function at 0x428ccc
Capabilities:
Set socket configuration

Disassembly:
push ebx
push edi
push dword [esp + 0x10]
or eax, 0xffffffff
mov word [esi], 2
call fcn.0040fc4b
pop ecx
mov ebx, eax
push ebx
call sub.WSOCK32.dll_inet_addr
push ebx
mov edi, eax
call fcn.0044f951
cmp edi, 0xffffffff
pop ecx
jne 0x428cfc
push 0
push 1
jmp 0x428d20
mov eax, dword [esp + 0x14]
lea ecx, [eax - 1]
cmp ecx, 0xfffe
mov dword [esi + 4], edi
ja 0x428d1c
push eax
call sub.WSOCK32.dll_htons
mov word [esi + 2], ax
mov al, 1
jmp 0x428d2b
push 0
push 2
mov eax, dword [esp + 0x14]
call fcn.0041c783
xor al, al
pop edi
pop ebx
ret 0xc

Function at 0x42999d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
and dword [ebp - 8], 0
push ebx
push esi
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 0x80004002
mov dword [ebp - 4], 0x28
call fcn.0040ff82
mov esi, dword [fcn.00467044]
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x20019
push ebx
push 0
push 0x4708a0
mov edi, 0x80000000
push edi
call esi
test eax, eax
je 0x4299fb
mov esi, 0x80004002
push dword [ebp - 0x20]
call fcn.0044f951
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x28]
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [fcn.0046701c]
test eax, eax
jne 0x429ac9
mov eax, dword [ebp - 4]
and word [ebp + eax*2 - 0x78], 0
push 0x4708b4
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0x1fe
call fcn.0041018f
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x20]
call fcn.00410227
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push dword [ebp - 0x20]
push edi
call esi
test eax, eax
jne 0x429ab4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x280]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x14]
call dword [fcn.00467040]
test eax, eax
jne 0x429aab
shr dword [ebp - 4], 1
mov eax, dword [ebp - 4]
and word [ebp + eax*2 - 0x280], 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x280]
push eax
call fcn.0044f7b2
test eax, eax
pop ecx
pop ecx
jne 0x429aab
push dword [ebp + 8]
lea eax, [ebp - 0x78]
push eax
call dword [fcn.00467718]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x14]
call dword [fcn.0046703c]
cmp dword [ebp - 0xc], 0
je 0x429ac9
inc dword [ebp - 8]
mov dword [ebp - 4], 0x28
jmp 0x4299fb
push dword [ebp - 0x10]
call dword [fcn.0046703c]
mov esi, dword [ebp - 0xc]
jmp 0x4299eb
Function at 0x429ada
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push ebx
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.0040ff82
fld1
lea eax, [ebp - 0xc]
fstp qword [ebp - 0x28]
push eax
push dword [ebp + 8]
call dword [0x46771c]
mov esi, eax
xor edi, edi
cmp esi, edi
jl 0x429c71
push dword [ebp - 0xc]
call fcn.0040f3a1
mov esi, eax
lea eax, [ebp - 0x20]
mov dword [esp], 0x4708b4
call fcn.0041018f
push esi
lea eax, [ebp - 0x20]
call fcn.00410227
push 0x4708cc
lea eax, [ebp - 0x20]
call fcn.00410227
push esi
call fcn.0044f951
pop ecx
push dword [ebp - 0xc]
call dword [0x467714]
lea eax, [ebp - 8]
push eax
push 0x20019
push edi
push dword [ebp - 0x20]
push 0x80000000
call dword [fcn.00467044]
mov esi, eax
cmp esi, edi
jne 0x429c71
mov ebx, dword [fcn.00467040]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x240]
push eax
push edi
push edi
push edi
push dword [ebp - 8]
mov dword [ebp - 4], 0x1fe
call ebx
mov esi, eax
cmp esi, edi
jne 0x429c68
shr dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov word [ebp + eax*2 - 0x240], di
lea eax, [ebp - 0x240]
push eax
call fcn.0040f3a1
pop ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
mov dword [ebp - 0x14], eax
call dword [0x467720]
push dword [ebp - 0x14]
mov esi, eax
call fcn.0044f951
cmp esi, edi
pop ecx
jl 0x429c68
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x240]
push eax
push edi
push edi
push 0x4708e0
push dword [ebp - 8]
mov dword [ebp - 4], 0x1fe
call ebx
test eax, eax
jne 0x429c13
shr dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov word [ebp + eax*2 - 0x240], di
lea eax, [ebp - 0x240]
push eax
call fcn.0045255a
fstp qword [ebp - 0x28]
pop ecx
fld1
lea eax, [ebp - 0x10]
push eax
push edi
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x28]
fstp qword [esp]
call fcn.004544c0
add esp, 0x10
call fcn.00466d06
fld qword [ebp - 0x28]
push eax
call fcn.00466d06
push eax
lea eax, [ebp - 0x38]
push eax
call dword [0x4673ac]
mov esi, eax
cmp esi, edi
jl 0x429c68
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 8]
call dword [fcn.0046703c]
push dword [ebp - 0x20]
call fcn.0044f951
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x429c81
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
xor esi, esi
push edi
lea ecx, [ebp - 0x24]
mov edi, eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.0040ff82
lea ecx, [ebp - 0x18]
call fcn.0040ff82
lea ecx, [ebp - 0x30]
call fcn.0040ff82
push 0x4708f0
lea eax, [ebp - 0x24]
call fcn.0041018f
push dword [ebp + 8]
lea eax, [ebp - 0x24]
call fcn.00410227
push 0x470914
lea eax, [ebp - 0x24]
call fcn.00410227
push 0x46bf80
lea eax, [ebp - 0x18]
call fcn.0041018f
cmp edi, esi
je 0x429d08
cmp word [edi], 0x5c
je 0x429d08
cmp word [edi + 2], 0x5c
je 0x429d08
push 0x470924
lea eax, [ebp - 0x18]
call fcn.0041018f
push edi
lea eax, [ebp - 0x18]
call fcn.00410227
cmp dword [ebp + 0x10], esi
je 0x429d57
push 0x20
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.00451700
add esp, 0xc
lea ebx, [ebp - 0x18]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x4c], esi
call fcn.00410163
push 0x47092c
lea eax, [ebp - 0x30]
call fcn.00410227
mov eax, dword [ebp - 0x30]
push esi
push dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x50]
push eax
call sub.MPR.dll_WNetAddConnection2W
mov edi, eax
cmp edi, esi
jne 0x429df3
lea eax, [ebp - 0xc]
push eax
push 0x80000002
push dword [ebp - 0x18]
call dword [0x467018]
mov edi, eax
cmp edi, esi
jne 0x429df3
lea eax, [ebp - 8]
push eax
push 0x20019
push esi
push dword [ebp - 0x24]
push dword [ebp - 0xc]
call dword [fcn.00467044]
mov ebx, dword [fcn.0046703c]
mov edi, eax
cmp edi, esi
jne 0x429dee
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x258]
push eax
push esi
push esi
push esi
push dword [ebp - 8]
mov dword [ebp - 4], 0x1fe
call dword [fcn.00467040]
mov edi, eax
cmp edi, esi
jne 0x429de9
shr dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov word [ebp + eax*2 - 0x258], si
lea eax, [ebp - 0x258]
push eax
call fcn.0040f3a1
pop ecx
push dword [ebp + 0xc]
mov esi, eax
push esi
call dword [0x467720]
push esi
mov edi, eax
call fcn.0044f951
pop ecx
push dword [ebp - 8]
call ebx
push dword [ebp - 0xc]
call ebx
push dword [ebp - 0x30]
call fcn.0044f951
push dword [ebp - 0x18]
call fcn.0044f951
push dword [ebp - 0x24]
call fcn.0044f951
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432562
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x46fecc
lea esi, [ebp - 0x18]
mov edi, eax
call fcn.0040ffd4
xor ebx, ebx
push 0x3c
lea eax, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 1
call fcn.00451700
add esp, 0xc
cmp dword [ebp + 0x10], 2
jb 0x4325c3
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
call fcn.00412336
cmp word [eax], bx
je 0x4325c3
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
call fcn.00412336
push eax
call fcn.0040f3a1
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 3
jb 0x4325de
mov eax, dword [edi + 4]
mov esi, dword [eax + 8]
call fcn.00412336
push eax
call fcn.0040f3a1
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 4
jb 0x43260b
mov eax, dword [edi + 4]
mov esi, dword [eax + 0xc]
call fcn.00412336
cmp word [eax], bx
je 0x43260b
mov eax, dword [edi + 4]
mov esi, dword [eax + 0xc]
call fcn.00412358
mov ebx, eax
lea eax, [ebp - 0x18]
call fcn.00410163
xor ebx, ebx
cmp dword [ebp + 0x10], 5
jb 0x432622
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x10]
call fcn.00412431
movzx eax, ax
mov dword [ebp - 0xc], eax
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.00451700
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x4c], ebx
mov esi, dword [eax]
add esp, 0xc
call fcn.00412336
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edi
call dword [0x4673f0]
cmp esi, ebx
mov dword [ebp + 0x10], eax
je 0x43267d
push esi
call fcn.0044f951
pop ecx
cmp edi, ebx
je 0x432688
push edi
call fcn.0044f951
pop ecx
cmp dword [ebp + 0x10], ebx
jne 0x4326a3
mov eax, dword [ebp + 8]
push ebx
push 1
call fcn.0041c783
mov esi, dword [ebp + 0x14]
push ebx
call fcn.00412914
jmp 0x4326ce
cmp byte [ebp + 0xc], bl
je 0x4326b6
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x554], eax
jmp 0x4326ce
mov esi, dword [ebp + 0x14]
push 1
call fcn.00412914
cmp dword [ebp - 0x1c], ebx
je 0x4326ce
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
call fcn.0044f951
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x435d52
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
push ebx
push esi
mov esi, dword [fcn.0046701c]
push edi
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push dword [ebp + 8]
mov dword [esp + 0x30], 0xff
call esi
mov edi, 0x103
jmp 0x435e0d
xor eax, eax
cmp byte [0x48a300], bl
je 0x435d9f
mov eax, pe_nt_image_headers32
lea ecx, [esp + 0x14]
push ecx
or eax, 0x20019
push eax
push ebx
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 8]
call dword [fcn.00467044]
test eax, eax
jne 0x435e19
push dword [esp + 0x14]
call fcn.00435d52
pop ecx
push dword [esp + 0x14]
mov byte [esp + 0x13], al
call dword [fcn.0046703c]
cmp byte [esp + 0xf], bl
je 0x435e19
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
call dword [0x467008]
test eax, eax
jne 0x435e19
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push dword [ebp + 8]
mov dword [esp + 0x30], 0xff
call esi
cmp eax, edi
jne 0x435d90
mov al, 1
jmp 0x435e1b
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43bbdd
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
push 0x44
xor ebx, ebx
push ebx
mov edi, 0x48b8d8
push edi
call fcn.00451700
push 0x10
push ebx
mov esi, 0x48b8c8
push esi
call fcn.00451700
add esp, 0x18
push esi
push edi
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [esp + 0x30]
xor eax, eax
inc eax
push ebx
mov dword [0x48b8d8], 0x44
mov dword [0x48b904], eax
mov word [0x48b908], ax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
pop esi
pop ebx
je 0x43bc40
push dword [0x48b8c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret 4