joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417e80
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
call fcn.00401190
movzx eax, ax
mov dword [esp + 8], eax
test eax, eax
je 0x418066
push ebx
push ebp
push esi
push edi
jmp 0x417ea0
mov eax, dword [0x486344]
dec dword [esp + 0x18]
push eax
push 2
lea ecx, [esp + 0x18]
push 1
push ecx
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x21], 0xff
call fcn.00435763
movzx ax, byte [esp + 0x21]
mov edx, 0x4949
add esp, 0x10
cmp word [0x465c48], dx
jne 0x417eeb
movzx cx, byte [esp + 0x10]
shl ax, 8
or ax, cx
movzx eax, ax
jmp 0x417efb
movzx dx, byte [esp + 0x10]
shl dx, 8
or dx, ax
movzx eax, dx
mov ecx, dword [0x486344]
push ecx
push 2
lea edx, [esp + 0x1c]
push 1
push edx
movzx ebp, ax
mov byte [esp + 0x24], 0xff
mov byte [esp + 0x25], 0xff
call fcn.00435763
movzx cx, byte [esp + 0x25]
mov eax, 0x4949
add esp, 0x10
cmp word [0x465c48], ax
jne 0x417f46
movzx dx, byte [esp + 0x14]
shl cx, 8
or cx, dx
movzx eax, cx
jmp 0x417f56
movzx ax, byte [esp + 0x14]
shl ax, 8
or ax, cx
movzx eax, ax
movzx esi, ax
call fcn.00401240
mov edx, dword [0x486344]
push edx
mov edi, eax
call fcn.00435c4a
mov ebx, eax
add esp, 4
add ebx, 4
cmp esi, 0xe
sbb eax, eax
and eax, esi
movsx eax, byte [eax + str.11124811248488]
sub eax, 0x30
imul eax, edi
cmp eax, 4
jbe 0x417fa8
push 0
call fcn.00401240
add eax, dword [esp + 0x24]
mov ecx, dword [0x486344]
push eax
push ecx
call fcn.00435f77
add esp, 0xc
lea eax, [ebp - 1]
cmp eax, 0x1c
ja case.0x417fbb.8
movzx edx, byte [eax + 0x418080]
jmp dword [edx*4 + 0x41806c]
mov eax, dword [0x486344]
push eax
call fcn.004361ad
add esp, 4
shr ebp, 1
mov dword [ebp*4 + 0x465ff4], eax
jmp case.0x417fbb.8
mov eax, 0xaaaaaaab
mul ebp
shr edx, 1
lea esi, [edx + edx*2]
lea esi, [esi*8 + 0x465f80]
mov edi, 6
call fcn.00401240
mov dword [esi], eax
add esi, 4
sub edi, 1
jne 0x417ff3
jmp case.0x417fbb.8
xor esi, esi
call fcn.00401240
mov dword [esi + 0x465fc8], eax
add esi, 4
cmp esi, 8
jb 0x418006
jmp case.0x417fbb.8
cmp edi, 0xc
jb 0x418025
mov edi, 0xc
mov ecx, dword [0x486344]
mov eax, 0xaaaaaaab
mul ebp
push ecx
shr edx, 1
lea edx, [edx*4 + 0x465fb8]
push edi
push edx
call fcn.00434fa4
add esp, 0xc
mov eax, dword [0x486344]
push 0
push ebx
push eax
call fcn.00435f77
add esp, 0xc
cmp dword [esp + 0x18], 0
jne 0x417ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x418660
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
cmp ebx, 0x1000
jbe 0x418672
mov ebx, 0x1000
mov eax, dword [0x486344]
push eax
push ebx
push 2
push 0x466140
call fcn.00435763
add esp, 0x10
cmp eax, ebx
jae 0x418691
call fcn.004010f0
push 0x1234
call dword [sym.imp.WS2_32.dll_ntohs]
xor edx, edx
mov ecx, 0x1234
cmp ax, cx
sete dl
xor ecx, ecx
mov eax, 0x4949
cmp word [0x465c48], ax
sete cl
cmp ecx, edx
jne 0x4186d4
lea edx, [ebx + ebx]
push edx
push 0x466140
push 0x466140
call fcn.00446b03
add esp, 0xc
cmp ebx, 0x1000
jge 0x418700
lea edi, [ebx*2 + 0x466140]
mov ecx, 0x1000
lea esi, [edi - 2]
sub ecx, ebx
rep movsw word es:[edi], word [esi]
movzx eax, word [0x46813e]
mov dword [0x466044], eax
pop edi
pop esi
pop ebx
ret
movzx ecx, word [0x46813e]
pop edi
pop esi
mov dword [0x466044], ecx
pop ebx
ret

Function at 0x418679
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
cmp ebx, 0x1000
jbe 0x418672
mov ebx, 0x1000
mov eax, dword [0x486344]
push eax
push ebx
push 2
push 0x466140
call fcn.00435763
add esp, 0x10
cmp eax, ebx
jae 0x418691
call fcn.004010f0
push 0x1234
call dword [sym.imp.WS2_32.dll_ntohs]
xor edx, edx
mov ecx, 0x1234
cmp ax, cx
sete dl
xor ecx, ecx
mov eax, 0x4949
cmp word [0x465c48], ax
sete cl
cmp ecx, edx
jne 0x4186d4
lea edx, [ebx + ebx]
push edx
push 0x466140
push 0x466140
call fcn.00446b03
add esp, 0xc
cmp ebx, 0x1000
jge 0x418700
lea edi, [ebx*2 + 0x466140]
mov ecx, 0x1000
lea esi, [edi - 2]
sub ecx, ebx
rep movsw word es:[edi], word [esi]
movzx eax, word [0x46813e]
mov dword [0x466044], eax
pop edi
pop esi
pop ebx
ret
movzx ecx, word [0x46813e]
pop edi
pop esi
mov dword [0x466044], ecx
pop ebx
ret
Function at 0x41b700
Capabilities:
Encrypt data using rc4 prga
Read file on windows

Disassembly:
sub esp, 0x10
push ebp
push esi
xor ebp, ebp
xor esi, esi
call fcn.00401190
call fcn.00401240
cmp eax, 0x80008
jne 0x41b81b
call fcn.00401240
test eax, eax
je 0x41b81b
push ebx
call fcn.00401190
movzx ebx, ax
cmp ebx, 0xa
je 0x41b742
cmp ebx, 0xc
jne 0x41b81a
mov eax, 0x20
sub eax, ebx
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
mov edi, 0x465ca0
jmp 0x41b760
mov dword [esp + 0x18], 8
cmp esi, ebx
jge 0x41b7ea
mov eax, dword [0x486344]
push eax
push 2
lea ecx, [esp + 0x18]
push 1
push ecx
mov byte [esp + 0x20], 0xff
mov byte [esp + 0x21], 0xff
call fcn.00435763
movzx ax, byte [esp + 0x21]
mov edx, 0x4949
add esp, 0x10
cmp word [0x465c48], dx
jne 0x41b7b3
movzx cx, byte [esp + 0x10]
shl ax, 8
or ax, cx
movzx eax, ax
jmp 0x41b7c3
movzx dx, byte [esp + 0x10]
shl dx, 8
or dx, ax
movzx eax, dx
mov ecx, dword [esp + 0x14]
mov edx, ecx
and edx, 1
movzx edx, word [edx*2 + 0x44f018]
movzx eax, ax
xor edx, eax
mov eax, dword [esp + 0x1c]
shl ebp, 0x10
inc ecx
or ebp, edx
mov dword [esp + 0x14], ecx
add esi, 0x10
mov ecx, 0x20
sub ecx, esi
mov edx, ebp
shl edx, cl
mov ecx, eax
sub esi, ebx
add edi, 2
shr edx, cl
sub dword [esp + 0x18], 1
mov word [edi - 2], dx
jne 0x41b768
cmp edi, 0x465d20
jl 0x41b760
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x41d180
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x486344]
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push eax
call fcn.004361ad
add esp, 4
cmp eax, 0xd8
je 0x41d1a6
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ecx, dword [0x486344]
push ecx
call fcn.004361ad
mov ebx, 0xff
add esp, 4
cmp eax, ebx
jne 0x41d3e1
mov edx, dword [0x486344]
push edx
call fcn.004361ad
mov edi, eax
add esp, 4
cmp edi, 0xda
je 0x41d3e1
mov ecx, dword [0x486344]
push ecx
push 2
lea edx, [esp + 0x1c]
mov eax, 0x4d4d
push 1
push edx
mov word [0x465c48], ax
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
call fcn.00435763
movzx cx, byte [esp + 0x25]
mov eax, 0x4949
add esp, 0x10
cmp word [0x465c48], ax
jne 0x41d230
movzx dx, byte [esp + 0x14]
shl cx, 8
or cx, dx
movzx eax, cx
jmp 0x41d240
movzx ax, byte [esp + 0x14]
shl ax, 8
or ax, cx
movzx eax, ax
mov edx, dword [0x486344]
movzx esi, ax
push edx
sub esi, 2
call fcn.00435c4a
add esp, 4
mov ebp, eax
cmp edi, 0xc0
je 0x41d26b
cmp edi, 0xc3
jne 0x41d331
mov eax, dword [0x486344]
push eax
call fcn.004361ad
mov ecx, dword [0x486344]
add esp, 4
push ecx
push 2
lea edx, [esp + 0x20]
push 1
push edx
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
call fcn.00435763
movzx cx, byte [esp + 0x29]
mov eax, 0x4949
add esp, 0x10
cmp word [0x465c48], ax
jne 0x41d2bf
movzx dx, byte [esp + 0x18]
shl cx, 8
or cx, dx
movzx eax, cx
jmp 0x41d2cf
movzx ax, byte [esp + 0x18]
shl ax, 8
or ax, cx
movzx eax, ax
mov edx, dword [0x486344]
push edx
push 2
mov word [0x465d20], ax
lea eax, [esp + 0x24]
push 1
push eax
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
call fcn.00435763
movzx dx, byte [esp + 0x2d]
mov ecx, 0x4949
add esp, 0x10
cmp word [0x465c48], cx
jne 0x41d31b
movzx ax, byte [esp + 0x1c]
shl dx, 8
or dx, ax
movzx eax, dx
jmp 0x41d32b
movzx cx, byte [esp + 0x1c]
shl cx, 8
or cx, dx
movzx eax, cx
mov word [0x4ac484], ax
mov eax, dword [0x486344]
push eax
push 2
lea ecx, [esp + 0x28]
push 1
push ecx
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
call fcn.00435763
movzx ax, byte [esp + 0x31]
mov edx, 0x4949
add esp, 0x10
cmp word [0x465c48], dx
jne 0x41d376
movzx cx, byte [esp + 0x20]
shl ax, 8
or ax, cx
movzx eax, ax
jmp 0x41d386
movzx dx, byte [esp + 0x20]
shl dx, 8
or dx, ax
movzx eax, dx
mov word [0x465c48], ax
call fcn.00401240
mov edi, eax
call fcn.00401240
cmp eax, 0x48454150
jne 0x41d3af
mov ecx, esi
sub ecx, edi
push ecx
add edi, ebp
push edi
call fcn.0041b830
add esp, 8
lea eax, [ebp + 6]
call fcn.0041ab00
mov edx, dword [0x486344]
push 0
add ebp, esi
push ebp
push edx
call fcn.00435f77
mov eax, dword [0x486344]
add esp, 0xc
push eax
call fcn.004361ad
add esp, 4
cmp eax, ebx
je 0x41d1c2
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
Function at 0x41dab0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [0x486344]
push ebx
push esi
push 0
push eax
push ecx
call fcn.00435f77
add esp, 0xc
xor esi, esi
mov bl, 0xff
lea esp, [esp]
mov edx, dword [0x486344]
push edx
push 2
lea eax, [esp + 0x10]
push 1
push eax
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], bl
call fcn.00435763
movzx dx, byte [esp + 0x19]
mov ecx, 0x4949
add esp, 0x10
cmp word [0x465c48], cx
jne 0x41db16
movzx ax, byte [esp + 8]
shl dx, 8
or dx, ax
movzx eax, dx
jmp 0x41db26
movzx cx, byte [esp + 8]
shl cx, 8
or cx, dx
movzx eax, cx
mov byte [esi + edi], al
test al, al
je 0x41db33
inc esi
cmp esi, 0x3f
jl 0x41dad0
mov byte [esi + edi], 0
pop esi
mov eax, edi
pop ebx
pop ecx
ret

Function at 0x41e300
Capabilities:
Encrypt data using rc4 prga
Read file on windows

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4596ac]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x486344]
fldz
push ebx
fst qword [esp + 0xc]
push ebp
fstp qword [esp + 0x18]
push esi
push edi
push eax
mov esi, 2
push esi
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.00435763
add esp, 0x10
mov eax, 0xfffe
jmp 0x41e344
fstp st(0)
fstp st(0)
mov edx, dword [0x486344]
push edx
push 1
dec eax
lea edi, [esp + esi*2 + 0x34]
push 2
push edi
mov dword [esp + 0x24], eax
call fcn.00435763
movzx edx, byte [edi]
mov eax, esi
xor eax, 2
add eax, eax
movzx ecx, byte [esp + eax + 0x3c]
movzx edi, byte [esp + eax + 0x3d]
movzx eax, byte [esp + eax + 0x3d]
mov ebx, ecx
shl ebx, 8
or edi, ebx
movzx ebx, byte [esp + esi*2 + 0x3d]
mov ebp, edx
shl ebp, 8
or ebx, ebp
sub edi, ebx
shl eax, 8
or eax, ecx
movzx ecx, byte [esp + esi*2 + 0x3d]
mov dword [esp + 0x20], edi
shl ecx, 8
or ecx, edx
fild dword [esp + 0x20]
sub eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
fmul st(0), st(0)
inc esi
add esp, 0x10
and esi, 3
fadd qword [esp + 0x18]
fst qword [esp + 0x18]
fild dword [esp + 0x10]
fmul st(0), st(0)
fadd qword [esp + 0x20]
fst qword [esp + 0x20]
test eax, eax
jne 0x41e340
fcompp
fnstsw ax
test ah, 0x41
mov eax, 0x4d4d
je 0x41e3e7
mov eax, 0x4949
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004334ab
add esp, 0x2c
ret
Function at 0x4273d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4273ff
push esi
call fcn.004284b0
add esp, 4
cmp byte [esi + 0x40], 0
je 0x4273f8
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x427479
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x427469
mov eax, dword [esi + 8]
test eax, eax
je 0x427424
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x427465
cmp eax, 2
je 0x427469
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x427415
cmp eax, 3
je 0x42744c
cmp eax, 1
jne 0x427415
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x427415
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x427415
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.004270a0
pop esi
ret
cmp eax, 0xcc
je 0x42749b
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.004270a0
pop esi
ret
Function at 0x4314d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x4314f7
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x431503
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0x14], ecx
jle 0x431616
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x14], edx
jmp 0x431548
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [edx]
cdq
idiv edi
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
je 0x431569
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov ebp, dword [edx + ecx*4]
lea eax, [edi + 0xfe]
lea esi, [edi + edi - 2]
cdq
idiv esi
xor ebx, ebx
mov dword [esp + 0x24], ebp
xor esi, esi
mov edx, eax
cmp esi, edx
jle 0x4315bf
mov ecx, ebx
lea ebp, [edi + edi - 2]
imul ecx, ecx, 0x1fe
jmp 0x4315a0
add ecx, 0x1fe
lea eax, [ecx + edi + 0xfe]
cdq
idiv ebp
inc ebx
mov edx, eax
cmp esi, edx
jg 0x4315a0
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov al, byte [esp + 0x18]
imul bl
mov byte [esi + ebp], al
inc esi
cmp esi, 0xff
jle 0x431586
cmp dword [esp + 0x10], 0
je 0x4315fd
mov eax, 1
lea edx, [ebp - 1]
movzx ebx, byte [ebp]
mov byte [edx], bl
movzx ebx, byte [ebp + 0xff]
mov byte [eax + ebp + 0xff], bl
inc eax
dec edx
cmp eax, 0xff
jle 0x4315e0
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], 4
inc ecx
cmp ecx, dword [eax + 0x64]
mov dword [esp + 0x1c], ecx
jl 0x431540
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18
ret

Function at 0x4334ab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4596ac]
jne 0x4334b5
repz ret
jmp fcn.00436d9b
Function at 0x443090
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.00438eae
and dword [ebp - 4], 0
cmp dword [0x45e7ec], 0
mov ebx, eax
jne 0x443141
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4431f2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4431f2
push eax
call fcn.00438e3c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45e7ec], eax
call esi
push eax
call fcn.00438e3c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45e7f0], eax
call esi
push eax
call fcn.00438e3c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45e7f4], eax
call esi
push eax
call fcn.00438e3c
pop ecx
mov dword [0x45e7fc], eax
test eax, eax
je 0x443141
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00438e3c
pop ecx
mov dword [0x45e7f8], eax
mov eax, dword [0x45e7f8]
cmp eax, ebx
je 0x443199
cmp dword [0x45e7fc], ebx
je 0x443199
push eax
call fcn.00438eb7
push dword [0x45e7fc]
mov esi, eax
call fcn.00438eb7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x443199
test edi, edi
je 0x443199
call esi
test eax, eax
je 0x443190
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x443190
test byte [ebp - 0xc], 1
jne 0x443199
or dword [ebp + 0x10], 0x200000
jmp 0x4431d2
mov eax, dword [0x45e7f0]
cmp eax, ebx
je 0x4431d2
push eax
call fcn.00438eb7
pop ecx
test eax, eax
je 0x4431d2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4431d2
mov eax, dword [0x45e7f4]
cmp eax, ebx
je 0x4431d2
push eax
call fcn.00438eb7
pop ecx
test eax, eax
je 0x4431d2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45e7ec]
call fcn.00438eb7
pop ecx
test eax, eax
je 0x4431f2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4431f4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430470
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x96c
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x260], 0x44
push 0
push eax
call fcn.0068e800
movups xmm0, xmmword [0x760b28]
mov ax, word [0x760b40]
push 0x1ee
mov word [ebp - 0x1f8], ax
lea eax, [ebp - 0x1f6]
movups xmmword [ebp - 0x210], xmm0
push 0
movq xmm0, qword [0x760b38]
push eax
movq qword [ebp - 0x200], xmm0
call fcn.0068e800
add esp, 0x18
lea eax, [ebp - 0x540]
push eax
lea eax, [ebp - 0x260]
push eax
push 0
push 0
push 0x44
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x430650
mov eax, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov dword [ebp - 0x760], eax
mov eax, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov dword [ebp - 0x758], eax
mov eax, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
mov dword [ebp - 0x754], eax
mov eax, dword [sym.imp.KERNEL32.DLL_ExitProcess]
push 0
mov dword [ebp - 0x750], eax
lea eax, [ebp - 0x764]
push 0
push eax
push dword [ebp - 0x540]
mov dword [ebp - 0x75c], ebx
call esi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push 0x104
lea eax, [ebp - 0x74c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x530]
mov ecx, 0x80
push eax
push dword [ebp - 0x53c]
mov esi, 0x430400
lea edi, [ebp - 0x964]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x530], 0x10003
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
mov esi, dword [ebp - 0x46c]
add esi, 0xfffffbdc
and esi, 0xffffffe0
mov dword [ebp - 0x968], esi
lea eax, [esi - 4]
mov dword [ebp - 0x46c], eax
lea eax, [esi + 4]
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x214]
push eax
push 0x40
push 0x424
push esi
push dword [ebp - 0x540]
call dword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
push 0
push 0x424
lea eax, [ebp - 0x968]
push eax
push esi
push dword [ebp - 0x540]
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
push 0x424
push esi
push dword [ebp - 0x540]
call dword [sym.imp.KERNEL32.DLL_FlushInstructionCache]
lea eax, [ebp - 0x530]
push eax
push dword [ebp - 0x53c]
call dword [sym.imp.KERNEL32.DLL_SetThreadContext]
push dword [ebp - 0x53c]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
push dword [ebp - 0x53c]
call ebx
push dword [ebp - 0x540]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x436540
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d24f9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
call fcn.0043c8a0
mov dword [ebp - 4], 0
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x1c], 1
je 0x4365ba
push ecx
mov edx, edi
mov ecx, esi
call fcn.0060e1d0
mov ecx, esi
call fcn.0060e700
add esp, 4
push ecx
mov edx, ebx
mov ecx, esi
call fcn.0060e1d0
mov edi, dword [0x852fa8]
add esp, 4
test edi, edi
je 0x436668
push dword [ebp - 0x18]
movzx eax, word [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x436668
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x436668
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push ebx
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
cmp dword [esi + 0x14], 8
mov ebx, eax
mov ecx, esi
jb 0x436614
mov ecx, dword [esi]
push 0
push 0x200080
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
test edi, edi
je 0x436668
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push edi
test eax, eax
jne 0x436651
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x436668
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x436661
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 0x14
Function at 0x438e60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x82d084]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push 0xc
xor eax, eax
mov dword [esp + 0x18], 0
push str._C_taskmgr__
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
call fcn.0042fe00
cmp dword [esp + 0x18], 8
lea eax, [esp + 4]
push 0
cmovae eax, dword [esp + 8]
push 0
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
lea ecx, [esp + 4]
setg bl
call fcn.0042fd70
mov ecx, dword [esp + 0x1c]
mov al, bl
pop ebx
xor ecx, esp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x43fd80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x43fe66
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x43fe55
jg 0x43fdc0
test edx, edx
je 0x43fe55
nop dword [eax]
call fcn.00441240
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x43fe14
jg 0x43fdd7
test esi, esi
je 0x43fe14
cmp ebx, eax
jg 0x43fde7
jl 0x43fde1
cmp edi, esi
jae 0x43fde7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.0068dd00
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x43fe39
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x43fe4f
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x43fdc0
jl 0x43fe4f
test edi, edi
jne 0x43fdc0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x43fe88
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x43fe8a
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x43ff08
jg 0x43fe9d
test esi, esi
je 0x43ff08
test eax, eax
jl 0x43fee2
jg 0x43fea7
test ebx, ebx
je 0x43fee2
cmp edi, eax
jg 0x43feb7
jl 0x43feb1
cmp esi, ebx
jae 0x43feb7
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.0068dd00
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x43fee5
mov edx, dword [ebp + 8]
test edi, edi
jl 0x43ff08
jg 0x43feef
test esi, esi
je 0x43ff08
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x43ff08
push eax
push esi
push 1
push edx
call fcn.006967d1
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc