joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ea40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f740
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x561148], 0
je 0x42ea9b
sub esp, 8
call fcn.00433770
test eax, eax
jne 0x42eaae
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x42ea96
call fcn.004cfae7
mov eax, dword [ecx]
call dword [eax + 8]
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x561160]
call esi
push 5
push dword [0x56115c]
call esi
push str.ad_iron_show
lea ecx, [esp + 0x10]
call fcn.00404240
lea eax, [esp + 0x24]
mov dword [esp + 0x48], 0
push eax
mov ecx, 0x5611a0
call fcn.00405760
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x4c], 1
push eax
mov ecx, 0x5611a0
call fcn.00407d20
cmp dword [esp + 0x38], 8
jb 0x42eb15
push dword [esp + 0x24]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x20], 8
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
jb 0x42eb47
push dword [esp + 0xc]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
sub esp, 0x18
mov word [esp + 0x24], ax
mov eax, esp
mov dword [esp + 0x34], 0
mov ecx, 0x5614f0
push str.ad_show
mov dword [eax + 0x10], 0
call fcn.0041b6d0
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42eb90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f778
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push edi
mov eax, dword [0x5557a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x561164]
call fcn.00433a20
test eax, eax
jne 0x42ebfa
push eax
push dword [0x561160]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x56115c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [edi + 0x28]
test ecx, ecx
jne 0x42ebf5
call fcn.004cfae7
mov eax, dword [ecx]
call dword [eax + 8]
push 0xe
xor eax, eax
mov dword [ebp - 0x18], 7
push str.ad_iron_reject
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00404110
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x5611a0
call fcn.00405760
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00403d80
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403d80
mov ecx, 0x561410
mov byte [ebp - 4], 1
call fcn.00416dd0
cmp dword [ebp - 0x30], 8
jb 0x42eca1
push dword [ebp - 0x44]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x42eccd
push dword [ebp - 0x2c]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
sub esp, 0x18
mov word [ebp - 0x2c], ax
mov eax, esp
mov dword [ebp - 0x1c], 0
mov ecx, 0x5614f0
push str.ad_reject
mov dword [eax + 0x10], 0
call fcn.0041b6d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42ed10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f778
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push edi
mov eax, dword [0x5557a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x561164]
call fcn.00433980
test eax, eax
jne 0x42ed7a
push eax
push dword [0x561160]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x56115c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x28]
test ecx, ecx
jne 0x42ed6c
call fcn.004cfae7
mov eax, dword [ecx]
call dword [eax + 8]
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0xe
xor eax, eax
mov byte [edi + 0x43], 1
push str.ad_iron_accept
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00404110
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x5611a0
call fcn.00405760
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00403d80
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403d80
mov ecx, 0x561410
mov byte [ebp - 4], 1
call fcn.00416dd0
cmp dword [ebp - 0x30], 8
jb 0x42ee25
push dword [ebp - 0x44]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x42ee51
push dword [ebp - 0x2c]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
sub esp, 0x18
mov word [ebp - 0x2c], ax
mov eax, esp
mov dword [ebp - 0x1c], 0
mov ecx, 0x5614f0
push str.ad_accept
mov dword [eax + 0x10], 0
call fcn.0041b6d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x42fa90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b27b
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x5557a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x5615f4]
test eax, eax
jne 0x42faee
push 0x38
call fcn.004d1395
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42fae0
mov ecx, eax
call fcn.00410df0
jmp 0x42fae2
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x5615f4], eax
cmp byte [eax + 0x1b], 0
je 0x42fb1b
push 0
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x28]
test ecx, ecx
jne 0x42fb16
call fcn.004cfae7
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4302e0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
cmp byte [eax + 0x41], 0
je 0x430208
mov eax, dword [0x56161c]
inc eax
mov dword [0x56161c], eax
jmp 0x430224
push str.time_not_init
push 0x24c
push str.SDKAPIImpl::showADWindow::_lambda_3a419ee6a402fcc6e5fd5751bd3e187c_::operator___
call fcn.00435b60
mov eax, dword [0x56161c]
add esp, 0xc
cmp eax, 1
jne 0x43029c
mov eax, dword [esi]
mov dword [0x561620], 0x3e8
cmp byte [eax + 0x42], 0
je 0x43026a
cmp byte [0x561148], 0
je 0x430261
mov eax, dword [esi + 8]
sub eax, 0xb6
push eax
mov eax, dword [esi + 4]
sub eax, 0xaa
push eax
sub esp, 8
push dword [esi + 0xc]
call fcn.004330d0
mov ecx, dword [esi]
call fcn.0042ea40
jmp 0x43029c
push str.init_ret_is_false
push 0x256
push str.SDKAPIImpl::showADWindow::_lambda_3a419ee6a402fcc6e5fd5751bd3e187c_::operator___
call fcn.00435b60
mov eax, dword [esi]
add esp, 0xc
push 0
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x4302d4
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [0x561620]
inc eax
mov dword [0x561620], eax
cmp eax, 0x14
jne 0x4302d2
mov eax, dword [esi]
push 0
mov dword [0x56161c], 0xa
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x4302d9
mov eax, dword [ecx]
pop esi
jmp dword [eax + 8]
pop esi
ret
call fcn.004cfae7
call fcn.004cfae7
int3
add ecx, 4
jmp 0x4301f0
Function at 0x430420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f890
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
and eax, 0xfffffffe
cmp dword [ecx + 0x38], 0
jne 0x430463
or eax, 4
push 0
push eax
call fcn.00431470
mov eax, dword [esi]
mov dword [esp + 0xc], esi
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x38]
test ecx, ecx
je 0x430481
mov eax, dword [ecx]
call dword [eax + 4]
push 1
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00431570
mov byte [esp + 0x10], al
mov dword [esp + 0x38], 1
mov eax, dword [esi]
mov eax, dword [eax + 4]
test byte [eax + esi + 0xc], 6
jne 0x430511
mov ecx, dword [eax + esi + 0x38]
movdqu xmm0, xmmword [ebp + 8]
push 1
sub esp, 0x18
mov edx, dword [ecx]
mov eax, esp
movdqu xmmword [eax], xmm0
movq xmm0, qword [ebp + 0x18]
movq qword [eax + 0x10], xmm0
lea eax, [esp + 0x30]
push eax
call dword [edx + 0x2c]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
adc ecx, dword [esp + 0x20]
cmp eax, dword [0x528af8]
jne 0x430511
cmp ecx, dword [0x528afc]
jne 0x430511
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x430509
or eax, 4
push 0
push eax
call fcn.00431470
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x38]
test ecx, ecx
je 0x43052b
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x431200
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50fa68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00403590
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00431130
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x431271
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.004d2688
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x43129a
push dword [esp + 0xc]
call fcn.004d1390
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x432990
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50fb88
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5557a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x432ae4
cmp byte [ebx + 0x45], 0
je 0x432ae4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4329f0
xor al, al
jmp 0x432ae6
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x432a30
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x432a71
dec eax
je 0x432a75
sub eax, 2
je 0x432acb
xor bl, bl
jmp 0x432acd
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x432aac
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004d896d
add esp, 0x10
cmp esi, eax
jne 0x432a6d
cmp byte [ebx + 0x45], 0
je 0x432acb
test esi, esi
jne 0x432a30
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00410800
jmp 0x432a30
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x432ae0
push dword [esp + 0x18]
call fcn.004d1390
add esp, 4
mov al, bl
jmp 0x432ae6
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004d1376
mov esp, ebp
pop ebp
ret
Function at 0x4335d0
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fd20
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x26c], esi
cmp eax, 0x64
jne 0x433626
mov eax, dword [esi + 8]
test eax, eax
je 0x43363a
push str._force_:_true_
jmp 0x433636
test eax, eax
jne 0x43363a
mov eax, dword [esi + 8]
test eax, eax
je 0x43363a
push 0x539328
push 9
call eax
push dword [esi + 4]
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x540ce0
lea edx, [esi + 0xc]
mov dword [esi + 0x40], 7
lea ecx, [ebp - 0x284]
call fcn.00409130
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x43366f
mov eax, dword [eax]
lea ecx, [ebp - 0x268]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0x270], 8
mov edi, eax
jb 0x433696
push dword [ebp - 0x284]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [ebp - 0x270], 7
mov dword [ebp - 0x274], 0
mov word [ebp - 0x284], ax
cmp edi, 0xffffffff
je 0x433718
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, edi
lea eax, [ebp - 0x268]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x433718
cmp word [ebp - 0x23c], 0x2e
je 0x4336c0
lea eax, [ebp - 0x23c]
push eax
lea edx, [esi + 0xc]
lea ecx, [ebp - 0x29c]
call fcn.00409130
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4336fc
mov eax, dword [eax]
push eax
call ebx
cmp dword [ebp - 0x288], 8
jb 0x4336c0
push dword [ebp - 0x29c]
call fcn.004d1390
add esp, 4
jmp 0x4336c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
add esi, 0xc
cmp dword [esi + 0x14], 8
jb 0x43372a
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, 1
jmp 0x433754
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d1376
mov esp, ebp
pop ebp
ret
Function at 0x433b80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50fe18
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5557a0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x5557a0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x30]
push eax
call fcn.00433dc0
push 0
push 0x539328
mov dword [esp + 0x60], 0
push dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x40]
call fcn.00409740
test eax, eax
je 0x433cff
push str.Setup_
lea edx, [esp + 0x34]
lea ecx, [esp + 0x1c]
call fcn.00409130
mov edi, eax
lea esi, [ebx + 0xc]
add esp, 4
cmp esi, edi
je 0x433c31
cmp dword [esi + 0x14], 8
jb 0x433c16
push dword [esi]
call fcn.004d1390
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.0040e570
cmp dword [esp + 0x2c], 8
jb 0x433c44
push dword [esp + 0x18]
call fcn.004d1390
add esp, 4
push 0x540d48
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.00409130
lea edi, [ebx + 0x24]
mov dword [esp + 0x18], eax
add esp, 4
cmp edi, eax
je 0x433c91
cmp dword [edi + 0x14], 8
jb 0x433c76
push dword [edi]
call fcn.004d1390
mov eax, dword [esp + 0x18]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
mov ecx, edi
push eax
call fcn.0040e570
cmp dword [esp + 0x2c], 8
jb 0x433ca4
push dword [esp + 0x18]
call fcn.004d1390
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x433cae
mov eax, dword [esi]
jmp 0x433cb0
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x14], 8
jb 0x433cc1
mov esi, dword [esi]
push esi
mov ecx, ebx
call fcn.00433d40
test al, al
je 0x433cff
cmp dword [edi + 0x14], 8
jb 0x433cd5
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 4], eax
test eax, eax
je 0x433cff
push str.InvokeW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 8], eax
test eax, eax
jne 0x433d34
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor bl, bl
cmp dword [esp + 0x44], 8
jb 0x433d14
push dword [esp + 0x30]
call fcn.004d1390
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004d1376
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x433d01
Function at 0x433d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x5406ec
push 0x86
push dword [0x561408]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x433daf
push esi
push dword [0x561408]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x433daf
push esi
push dword [0x561408]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x433daf
push ecx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, ebx
mov ecx, eax
call fcn.004420b0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x4346e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x43471d
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x434990
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x43472f
mov dword [ebp - 8], 1
jmp 0x434736
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x438fb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5557a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x118
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004db830
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x439015
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x439022
mov al, 1
jmp 0x439024
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d1376
mov esp, ebp
pop ebp
ret

Function at 0x439040
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43906f
lea eax, [ebp - 0x28]
push eax
call dword [ebp - 4]
jmp 0x439079
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx edx, word [ebp - 0x28]
cmp edx, 9
je 0x43908b
movzx eax, word [ebp - 0x28]
cmp eax, 6
jne 0x43908f
mov al, 1
jmp 0x439091
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x439240
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x439257
mov dword [ebp - 8], 1
jmp 0x43925e
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
call fcn.004042a0
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43929f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43929f
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x43929f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4392a2
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x439350
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.004db830
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], 0x53d624
mov ecx, dword [ebp + 8]
call fcn.004042a0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 5
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4393c1
push 5
push 0
mov ecx, dword [ebp + 8]
call fcn.004042a0
push eax
push str.iexplore.exe
push 0x53d64c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x439540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x439554
xor al, al
jmp 0x439598
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xc], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x4396a0
push 0
push 0
call fcn.004da147
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 4