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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x505f60
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x5487a0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x552b98], 0
je 0x425c8b
sub esp, 8
call fcn.0042b440
test eax, eax
jne 0x425c9e
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x28]
test ecx, ecx
jne 0x425c86
call fcn.004c71c4
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 [0x552bb0]
call esi
push 5
push dword [0x552bac]
call esi
push str.ad_iron_show
lea ecx, [esp + 0x28]
call fcn.00403190
lea eax, [esp + 0xc]
mov dword [esp + 0x48], 0
push eax
mov ecx, 0x552bf0
call fcn.00404610
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x4c], 1
push eax
mov ecx, 0x552bf0
call fcn.004062e0
cmp dword [esp + 0x20], 8
jb 0x425d05
push dword [esp + 0xc]
call fcn.00473ad0
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
cmp dword [esp + 0x38], 8
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
jb 0x425d2f
push dword [esp + 0x24]
call fcn.00473ad0
add esp, 4
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 0x425d50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505f98
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push edi
mov eax, dword [0x5487a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x552bb4]
call fcn.0042b6f0
test eax, eax
jne 0x425dba
push eax
push dword [0x552bb0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x552bac]
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 0x425db5
call fcn.004c71c4
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.00403060
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x552bf0
call fcn.00404610
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.00402cd0
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.00402cd0
mov ecx, 0x552e48
mov byte [ebp - 4], 1
call fcn.00411da0
cmp dword [ebp - 0x30], 8
jb 0x425e61
push dword [ebp - 0x44]
call fcn.00473ad0
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x425e86
push dword [ebp - 0x2c]
call fcn.00473ad0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x425ea0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505f98
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push edi
mov eax, dword [0x5487a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x552bb4]
call fcn.0042b650
test eax, eax
jne 0x425f0a
push eax
push dword [0x552bb0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x552bac]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x28]
test ecx, ecx
jne 0x425efc
call fcn.004c71c4
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.00403060
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x552bf0
call fcn.00404610
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.00402cd0
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.00402cd0
mov ecx, 0x552e48
mov byte [ebp - 4], 1
call fcn.00411da0
cmp dword [ebp - 0x30], 8
jb 0x425fb5
push dword [ebp - 0x44]
call fcn.00473ad0
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x425fda
push dword [ebp - 0x2c]
call fcn.00473ad0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x426be0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504a3b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5487a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [0x552fac]
test esi, esi
jne 0x426c64
push 0x1c
call fcn.004c8863
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x426c55
push 2
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x52deb0
mov word [esi], ax
call fcn.00403060
mov dword [esi + 0x18], 0x1010000
jmp 0x426c57
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x552fac], esi
cmp byte [esi + 0x1b], 0
je 0x426c8f
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x34]
call esi
push 0
push dword [edi + 0x38]
call esi
mov ecx, dword [edi + 0x28]
test ecx, ecx
jne 0x426c8a
call fcn.004c71c4
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x427560
Capabilities:
Hide graphical window

Disassembly:
push esi
push str.time_comming
push 0x242
push str.SDKAPIImpl::showADWindow::_lambda_2cec274ffa2049b8fb0ba2fbc9ed3420_::operator___
mov esi, ecx
call fcn.0042d900
mov eax, dword [esi]
add esp, 0xc
cmp byte [eax + 0x41], 0
je 0x42747f
mov eax, dword [0x552fd4]
inc eax
mov dword [0x552fd4], eax
jmp 0x42749b
push str.time_not_init
push 0x248
push str.SDKAPIImpl::showADWindow::_lambda_2cec274ffa2049b8fb0ba2fbc9ed3420_::operator___
call fcn.0042d900
mov eax, dword [0x552fd4]
add esp, 0xc
cmp eax, 1
jne 0x427513
mov eax, dword [esi]
mov dword [0x552fd8], 0x3e8
cmp byte [eax + 0x42], 0
je 0x4274e1
cmp byte [0x552b98], 0
je 0x4274d8
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.0042ada0
mov ecx, dword [esi]
call fcn.00425c30
jmp 0x427513
push str.init_ret_is_false
push 0x252
push str.SDKAPIImpl::showADWindow::_lambda_2cec274ffa2049b8fb0ba2fbc9ed3420_::operator___
call fcn.0042d900
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 0x42754b
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [0x552fd8]
inc eax
mov dword [0x552fd8], eax
cmp eax, 0x14
jne 0x427549
mov eax, dword [esi]
push 0
mov dword [0x552fd4], 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 0x427550
mov eax, dword [ecx]
pop esi
jmp dword [eax + 8]
pop esi
ret
call fcn.004c71c4
call fcn.004c71c4
int3
add ecx, 4
jmp 0x427450
Function at 0x4276e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5060b0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x5487a0]
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 0x427723
or eax, 4
push 0
push eax
call fcn.00428e00
mov eax, dword [esi]
mov dword [esp + 0xc], esi
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x38]
test ecx, ecx
je 0x427741
mov eax, dword [ecx]
call dword [eax + 4]
push 1
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00428f00
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 0x4277d1
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 [0x51faf8]
jne 0x4277d1
cmp ecx, dword [0x51fafc]
jne 0x4277d1
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 0x4277c9
or eax, 4
push 0
push eax
call fcn.00428e00
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x38]
test ecx, ecx
je 0x4277eb
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 0x428b90
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x506288
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5487a0]
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.0040b660
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00428ac0
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x428c01
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.004cd974
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x428c2a
push dword [esp + 0xc]
call fcn.00473ad0
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 0x429a70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5063ba
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5487a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.004c7e75
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x429b16
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.004cd974
push 0x545214
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.004d1dbd
push edi
push esi
call fcn.004c7d48
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8854
mov esp, ebp
pop ebp
ret 4
Function at 0x42a660
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x506418
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5487a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5487a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x42a7b4
cmp byte [ebx + 0x45], 0
je 0x42a7b4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x42a6c0
xor al, al
jmp 0x42a7b6
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 0x42a700
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 0x42a741
dec eax
je 0x42a745
sub eax, 2
je 0x42a79b
xor bl, bl
jmp 0x42a79d
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 0x42a77c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004cf994
add esp, 0x10
cmp esi, eax
jne 0x42a73d
cmp byte [ebx + 0x45], 0
je 0x42a79b
test esi, esi
jne 0x42a700
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0042a5b0
jmp 0x42a700
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x42a7b0
push dword [esp + 0x18]
call fcn.00473ad0
add esp, 4
mov al, bl
jmp 0x42a7b6
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.004c8854
mov esp, ebp
pop ebp
ret
Function at 0x42b2a0
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5065b0
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x5487a0]
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 - 0x268], esi
cmp eax, 0x64
jne 0x42b2f6
mov eax, dword [esi + 8]
test eax, eax
je 0x42b30a
push str._force_:_true_
jmp 0x42b306
test eax, eax
jne 0x42b30a
mov eax, dword [esi + 8]
test eax, eax
je 0x42b30a
push 0x52e7a4
push 9
call eax
push dword [esi + 4]
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x5353a0
lea edx, [esi + 0xc]
mov dword [esi + 0x40], 7
lea ecx, [ebp - 0x280]
call fcn.00406dd0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x42b33f
mov eax, dword [eax]
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0x26c], 8
mov edi, eax
jb 0x42b366
push dword [ebp - 0x280]
call fcn.00473ad0
add esp, 4
xor eax, eax
mov dword [ebp - 0x26c], 7
mov dword [ebp - 0x270], 0
mov word [ebp - 0x280], ax
cmp edi, 0xffffffff
je 0x42b3e8
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, edi
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x42b3e8
cmp word [ebp - 0x238], 0x2e
je 0x42b390
lea eax, [ebp - 0x238]
push eax
lea edx, [esi + 0xc]
lea ecx, [ebp - 0x298]
call fcn.00406dd0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x42b3cc
mov eax, dword [eax]
push eax
call ebx
cmp dword [ebp - 0x284], 8
jb 0x42b390
push dword [ebp - 0x298]
call fcn.00473ad0
add esp, 4
jmp 0x42b390
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
add esi, 0xc
cmp dword [esi + 0x14], 8
jb 0x42b3fa
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, 1
jmp 0x42b424
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.004c8854
mov esp, ebp
pop ebp
ret
Function at 0x42b850
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5066a8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5487a0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x5487a0]
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.0042ba90
push 0
push 0x52e7a4
mov dword [esp + 0x60], 0
push dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x40]
call fcn.00407280
test eax, eax
je 0x42b9cf
push str.Setup_
lea edx, [esp + 0x34]
lea ecx, [esp + 0x1c]
call fcn.00406dd0
mov edi, eax
lea esi, [ebx + 0xc]
add esp, 4
cmp esi, edi
je 0x42b901
cmp dword [esi + 0x14], 8
jb 0x42b8e6
push dword [esi]
call fcn.00473ad0
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.0040c280
cmp dword [esp + 0x2c], 8
jb 0x42b914
push dword [esp + 0x18]
call fcn.00473ad0
add esp, 4
push 0x535408
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.00406dd0
lea edi, [ebx + 0x24]
mov dword [esp + 0x18], eax
add esp, 4
cmp edi, eax
je 0x42b961
cmp dword [edi + 0x14], 8
jb 0x42b946
push dword [edi]
call fcn.00473ad0
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.0040c280
cmp dword [esp + 0x2c], 8
jb 0x42b974
push dword [esp + 0x18]
call fcn.00473ad0
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x42b97e
mov eax, dword [esi]
jmp 0x42b980
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x14], 8
jb 0x42b991
mov esi, dword [esi]
push esi
mov ecx, ebx
call fcn.0042ba10
test al, al
je 0x42b9cf
cmp dword [edi + 0x14], 8
jb 0x42b9a5
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 4], eax
test eax, eax
je 0x42b9cf
push str.InvokeW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42ba04
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor bl, bl
cmp dword [esp + 0x44], 8
jb 0x42b9e4
push dword [esp + 0x30]
call fcn.00473ad0
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.004c8854
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x42b9d1
Function at 0x42ba10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x534dec
push 0x86
push dword [0x552e40]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x42ba7f
push esi
push dword [0x552e40]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42ba7f
push esi
push dword [0x552e40]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x42ba7f
push ecx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, ebx
mov ecx, eax
call fcn.00439840
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 0x42c3b0
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 0x42c3ed
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x42c660
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 0x42c3ff
mov dword [ebp - 8], 1
jmp 0x42c406
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x430d50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5487a0]
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.004d2860
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 0x430db5
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x430dc2
mov al, 1
jmp 0x430dc4
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c8854
mov esp, ebp
pop ebp
ret

Function at 0x430de0
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 0x430e0f
lea eax, [ebp - 0x28]
push eax
call dword [ebp - 4]
jmp 0x430e19
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx edx, word [ebp - 0x28]
cmp edx, 9
je 0x430e2b
movzx eax, word [ebp - 0x28]
cmp eax, 6
jne 0x430e2f
mov al, 1
jmp 0x430e31
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x430e40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x430e57
mov dword [ebp - 8], 1
jmp 0x430e5e
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
call fcn.004031f0
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 0x430e9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x430e9f
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x430e9f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x430ea2
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x430f50
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.004d2860
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], 0x5323f4
mov ecx, dword [ebp + 8]
call fcn.004031f0
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 0x430fc1
push 5
push 0
mov ecx, dword [ebp + 8]
call fcn.004031f0
push eax
push str.iexplore.exe
push 0x53241c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x431530
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 0x431544
xor al, al
jmp 0x431588
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 0x431690
push 0
push 0
call fcn.004d1177
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 4