joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a559
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x43a4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.0042a4dd
mov edi, eax
sub esi, esi
mov dword [ebp + 8], edi
cmp edi, esi
jne 0x42a592
mov eax, ebx
call fcn.0042a245
xor eax, eax
jmp 0x42a733
mov dword [ebp - 0x1c], esi
sub eax, eax
cmp dword [eax + 0x43aae8], edi
je 0x42a634
inc dword [ebp - 0x1c]
add eax, 0x30
cmp eax, 0xf0
jb 0x42a597
cmp edi, 0xfde8
je 0x42a730
cmp edi, 0xfde9
je 0x42a730
movzx eax, di
push eax
call dword [0x4331c8]
test eax, eax
je 0x42a730
lea eax, [ebp - 0x18]
push eax
push edi
call dword [0x433160]
test eax, eax
je 0x42a724
push 0x101
lea eax, [ebx + 0x1c]
push esi
push eax
call fcn.004229a0
xor edx, edx
inc edx
add esp, 0xc
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], esi
cmp dword [ebp - 0x18], edx
jbe 0x42a70d
cmp byte [ebp - 0x12], 0
je 0x42a6ee
lea esi, [ebp - 0x11]
mov cl, byte [esi]
test cl, cl
je 0x42a6ee
movzx eax, byte [esi - 1]
movzx ecx, cl
jmp 0x42a6dd
push 0x101
lea eax, [ebx + 0x1c]
push esi
push eax
call fcn.004229a0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
imul ecx, ecx, 0x30
mov dword [ebp - 0x20], esi
lea esi, [ecx + 0x43aaf8]
mov dword [ebp - 0x1c], esi
jmp 0x42a685
mov al, byte [esi + 1]
test al, al
je 0x42a68a
movzx edi, byte [esi]
movzx eax, al
jmp 0x42a67b
mov eax, dword [ebp - 0x20]
mov al, byte [eax + 0x43aae4]
or byte [ebx + edi + 0x1d], al
movzx eax, byte [esi + 1]
inc edi
cmp edi, eax
jbe 0x42a669
mov edi, dword [ebp + 8]
add esi, 2
cmp byte [esi], 0
jne 0x42a65a
mov esi, dword [ebp - 0x1c]
inc dword [ebp - 0x20]
add esi, 8
cmp dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], esi
jb 0x42a685
push edi
pop eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], 1
call fcn.0042a216
push 6
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x10]
lea ecx, [ecx + 0x43aaec]
pop edx
mov si, word [ecx]
mov word [eax], si
add ecx, 2
add eax, 2
dec edx
jne 0x42a6bc
push ebx
pop esi
call fcn.0042a2a9
jmp 0x42a58b
or byte [ebx + eax + 0x1d], 4
inc eax
cmp eax, ecx
jbe 0x42a6d7
add esi, 2
cmp byte [esi - 1], 0
jne 0x42a61e
lea eax, [ebx + 0x1e]
mov ecx, 0xfe
or byte [eax], 8
inc eax
dec ecx
jne 0x42a6f6
mov eax, dword [ebx + 4]
call fcn.0042a216
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], edx
jmp 0x42a710
mov dword [ebx + 8], esi
xor eax, eax
movzx ecx, ax
mov eax, ecx
shl ecx, 0x10
or eax, ecx
lea edi, [ebx + 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x42a6cb
cmp dword [0x468700], esi
jne 0x42a584
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420966
leave
ret
Function at 0x42b824
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
mov ecx, dword [ebp + 8]
or ecx, ecx
je 0x42b84b
push 0xffffffffffffffe0
sub edx, edx
pop eax
div ecx
cmp eax, dword [ebp + 0xc]
jae 0x42b84b
call fcn.00424a0e
mov dword [eax], 0xc
sub eax, eax
pop ebp
ret
imul ecx, dword [ebp + 0xc]
push esi
mov esi, ecx
test esi, esi
jne 0x42b857
inc esi
xor eax, eax
cmp esi, 0xffffffe0
ja 0x42b871
push esi
push 8
push dword [0x4683bc]
call dword [0x4330a8]
or eax, eax
jne 0x42b8a3
cmp dword [0x4686f4], 0
je 0x42b896
push esi
call fcn.00428ed9
pop ecx
test eax, eax
jne 0x42b857
mov eax, dword [ebp + 0x10]
or eax, eax
je 0x42b892
mov dword [eax], 0xc
sub eax, eax
jmp 0x42b8a3
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42b8a3
mov dword [ecx], 0xc
pop esi
pop ebp
ret
Function at 0x42ee28
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x43a4a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
jne 0x42ef45
and dword [ebp - 0x8c], 0
push 0x80
lea ebx, [ebp - 0x84]
mov ecx, ebx
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call fcn.00432751
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x42eee2
call dword [0x433050]
cmp eax, 0x7a
jne 0x42ef03
push esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x88]
call fcn.00432751
add esp, 0x14
mov dword [ebp - 0x90], eax
test eax, eax
je 0x42ef03
inc esi
push esi
push eax
call fcn.00424932
push eax
pop ebx
pop ecx
pop ecx
test ebx, ebx
je 0x42ef03
push dword [ebp - 0x90]
mov dword [ebp - 0x8c], esi
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x88]
call fcn.00432751
push eax
pop esi
add esp, 0x14
test esi, esi
je 0x42eefc
push 1
push esi
call fcn.00424932
mov dword [edi], eax
sub edi, edi
pop ecx
pop ecx
cmp eax, edi
jne 0x42ef15
cmp dword [ebp - 0x8c], edi
je 0x42ef03
push ebx
call fcn.00420e0b
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420966
leave
ret
lea ecx, [esi - 1]
push ecx
push ebx
push esi
push eax
call fcn.0042cdb6
add esp, 0x10
or eax, eax
jne 0x42ef3b
cmp dword [ebp - 0x8c], edi
je 0x42ef37
push ebx
call fcn.00420e0b
pop ecx
xor eax, eax
jmp 0x42ef06
push edi
push edi
push edi
push edi
push edi
call fcn.004273e4
cmp dword [ebp + 0xc], 2
jne 0x42ef93
mov esi, dword [0x433118]
xor eax, eax
push eax
push eax
push dword [ebp + 0x14]
mov dword [edi], eax
push dword [ebp + 0x10]
call esi
mov ebx, eax
or ebx, ebx
je 0x42ef83
push 2
push ebx
call fcn.00424932
pop ecx
pop ecx
mov dword [edi], eax
test eax, eax
je 0x42ef83
push ebx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x42ef37
push dword [edi]
call fcn.00420e0b
and dword [edi], 0
pop ecx
jmp 0x42ef03
cmp dword [ebp + 0xc], 0
jne 0x42ef03
and dword [ebp - 0x88], 0
push 2
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp + 0x14]
or eax, 0x20000000
push eax
push dword [ebp + 0x10]
call dword [0x433118]
or eax, eax
je 0x42ef03
mov al, byte [ebp - 0x88]
mov byte [edi], al
jmp 0x42ef37

Function at 0x42f5c0
Capabilities:
Parse pe header

Disassembly:
push edi
pop edi
push ebp
push esp
pop ebp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x42f5d6
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42f5d2
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
push edx
pop eax
pop ebp
ret
Function at 0x42f600
Capabilities:
Enumerate pe sections

Disassembly:
push eax
pop eax
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
or esi, esi
je 0x42f63d
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x42f635
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x42f63f
inc edx
add eax, 0x28
cmp edx, esi
jb 0x42f625
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x42fe31
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
sub ebx, ebx
cmp esi, ebx
je 0x42fe59
cmp dword [ebp + 0x10], ebx
je 0x42fe59
cmp byte [esi], bl
jne 0x42fe5f
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x42fe59
xor ecx, ecx
mov word [eax], cx
xor eax, eax
pop esi
pop ebx
leave
ret
push dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
call fcn.00421b0b
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], ebx
jne 0x42fe90
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x42fe7f
movzx ecx, byte [esi]
mov word [eax], cx
cmp byte [ebp - 4], bl
je 0x42fe8b
mov eax, dword [ebp - 8]
and dword [eax + 0x70], 0xfffffffd
xor eax, eax
inc eax
jmp 0x42fe5b
lea eax, [ebp - 0x10]
push eax
movzx eax, byte [esi]
push eax
call fcn.0042ff61
pop ecx
pop ecx
or eax, eax
je 0x42ff20
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xac]
cmp ecx, 1
jle 0x42fed6
cmp dword [ebp + 0x10], ecx
jl 0x42fed6
xor edx, edx
cmp dword [ebp + 8], ebx
setne dl
push edx
push dword [ebp + 8]
push ecx
push esi
push 9
push dword [eax + 4]
call dword [0x433138]
or eax, eax
mov eax, dword [ebp - 0x10]
jne 0x42fee6
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0xac]
jb 0x42ff01
cmp byte [esi + 1], bl
je 0x42ff01
mov eax, dword [eax + 0xac]
cmp byte [ebp - 4], bl
je 0x42fe5b
mov ecx, dword [ebp - 8]
and dword [ecx + 0x70], 0xfffffffd
jmp 0x42fe5b
call fcn.00424a0e
mov dword [eax], 0x2a
cmp byte [ebp - 4], bl
je 0x42ff18
mov eax, dword [ebp - 8]
and dword [eax + 0x70], 0xfffffffd
or eax, 0xffffffff
jmp 0x42fe5b
xor eax, eax
cmp dword [ebp + 8], ebx
setne al
push eax
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push 1
push esi
push 9
push dword [eax + 4]
call dword [0x433138]
or eax, eax
jne 0x42fe7f
jmp 0x42ff01

Function at 0x40ed64
Capabilities:
Encode data using xor

Disassembly:
push 0x40eae0
mov edi, dword [esp]
add esp, 4
call fcn.0040ed84
mov ebx, eax
add ebx, ebx
xor dword [esi], edi
dec ebx
inc esi
cmp esi, edx
jne fcn.0040ed64
ret
Function at 0x424d95
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00424d11
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x424f04
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x424f04
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x424eb9
jg 0x424df1
test eax, eax
je 0x424eaf
push 1
push 0x1000
call fcn.0041b7a5
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x424e14
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x424ea6
push 0x8000
push ebx
call fcn.00417265
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x424e3d
jg 0x424e38
cmp ecx, 0x1000
jb 0x424e3d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00419ff6
add esp, 0x10
cmp eax, 0xffffffff
je 0x424e82
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x424e38
jl 0x424e69
test ecx, ecx
jne 0x424e2a
push dword [ebp - 0xc]
push ebx
call fcn.00417265
push esi
call fcn.00417d7d
add esp, 0xc
xor ebx, ebx
jmp 0x424f12
cmp byte [edi + 0x24], 0
je 0x424e99
cmp dword [edi + 0x20], 5
jne 0x424e99
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x424ea4
mov ebx, dword [edi + 0x18]
jmp 0x424ea6
xor ebx, ebx
push esi
call fcn.00417d7d
pop ecx
jmp 0x424f12
test ecx, ecx
jg 0x424e7b
jl 0x424eb9
test eax, eax
jae 0x424e7b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004194ba
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x424ed9
cmp byte [edi + 0x1c], 0
je 0x424e7b
jmp 0x424f0a
push ebx
call fcn.004158a7
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x424e7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x424f12
cmp byte [edi + 0x1c], 0
je 0x424f0f
mov ebx, dword [edi + 0x18]
jmp 0x424f12
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004194ba
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x426b80
Capabilities:
Parse pe header

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

Function at 0x438cac
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
dec ecx
call fcn.00438ce8
sub ecx, 0xfad47e3f
xor dword [eax], edi
and ecx, ecx
add ecx, 0xea0b151
inc eax
sub ebx, 0x361d097c
cmp eax, esi
jne fcn.00438cac
and ebx, ebx
mov ebx, 0x3579583b
add ecx, 0xbea7cb9c
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x6db03400
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
mov eax, section..text_1
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x5b9f46cd
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0xbc3130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0xbc3140
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea esi, [esi + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0xbc3150
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0xbc3710
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x22c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 4]
lea ecx, [esp + 0x14]
xor esi, esi
push ecx
mov ecx, dword [edi]
or edx, 0x2001f
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.00bc36a0
mov ebp, eax
cmp ebp, esi
je 0xbc3774
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0xbc376d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0xbc380d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push esi
push esi
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
push edx
mov dword [esp + 0x40], 0x100
call ebx
test eax, eax
jne 0xbc37da
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00bc3710
mov ebp, eax
cmp ebp, esi
jne 0xbc375e
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
push esi
push ecx
mov dword [esp + 0x40], 0x100
call ebx
test eax, eax
je 0xbc37a0
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0xbc37ef
push eax
call ebp
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x24]
mov eax, edi
mov dword [esp + 0x18], esi
call fcn.00bc3890
mov edi, eax
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0xbc380b
push eax
call ebp
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00d08a41
add esp, 0x228
ret 4
Function at 0xbc43e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0xd72ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0xde16ec]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
xor esi, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, esi
jne 0xbc445f
call fcn.00bc2970
mov esi, eax
jmp 0xbc4554
mov eax, dword [ebp - 0x14]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, esi
jne 0xbc447b
call fcn.00bc2970
jmp 0xbc454b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp eax, esi
jne 0xbc4494
call fcn.00bc2970
jmp 0xbc454b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
jae 0xbc44b2
mov esi, 0x8007000e
jmp 0xbc454d
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0xbc44c7
cmp eax, 0xffffffff
jbe 0xbc44d1
push 0x80070216
call fcn.00bc4db0
cmp eax, 0x400
jbe 0xbc44fa
lea ecx, [ebp]
push ecx
call fcn.00bc3110
jmp 0xbc4500
lea edx, [ebp + 4]
mov dword [ebp], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp]
cmp eax, esi
jne 0xbc4515
mov esi, 0x8007000e
jmp 0xbc454d
push ebx
push eax
mov eax, dword [ebp - 0x18]
push ebx
push eax
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jne 0xbc4530
call fcn.00bc2970
jmp 0xbc454b
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea esi, [ebp - 0x24]
call fcn.00bc4250
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0xbc4564
lea eax, [ebp]
call fcn.00bc30f0
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 + 0x404]
xor ecx, ebp
call fcn.00d08a41
lea esp, [ebp + 0x408]
pop ebp
ret 0xc
Function at 0xbc6000
Capabilities:
Get common file path

Disassembly:
cmp dword [0xdfd554], 0
jne 0xbc60b8
cmp byte [0xdfd450], 0
jne 0xbc608d
push 0xdfd450
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
jb 0xbc6056
push 0x104
push 0xdfd450
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0xdfd450
call fcn.00d0a2d0
add esp, 8
test eax, eax
je 0xbc6056
mov byte [eax + 1], 0
mov eax, 0xdfd450
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0xbc6060
mov ecx, dword [str._debug.log]
mov edx, dword [0xd98ac8]
mov dword [eax], ecx
mov cx, word [0xd98acc]
mov dword [eax + 4], edx
mov dl, byte [0xd98ace]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
push 0xd98ad0
push 0xdfd450
call fcn.00d0a19e
add esp, 8
mov dword [0xdfd554], eax
test eax, eax
jne 0xbc60ab
xor al, al
ret
push 2
push 0
push eax
call fcn.00d0a67f
add esp, 0xc
mov al, 1
ret
Function at 0xbc60c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0xd69f2b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x29c]
cmp dword [ebp + 0x10], 0
je 0xbc627c
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x7e]
push ecx
mov word [esp + 0x80], ax
call fcn.00d0e420
add esp, 0xc
push 0x104
lea edx, [esp + 0x78]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x74]
push 0x5c
push eax
call fcn.00d0a0b4
add esp, 8
test eax, eax
je 0xbc6154
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x74]
lea edx, [eax + 2]
jmp 0xbc6160
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xbc6160
sub eax, edx
sar eax, 1
mov edx, 0x104
sub edx, eax
push edx
lea eax, [esp + 0x78]
push 0xd98ad4
push eax
call fcn.00d09f23
xor ecx, ecx
add esp, 0xc
cmp dword [ebp + 0x14], 0x10
mov word [esp + 0x27a], cx
jb 0xbc619e
mov eax, dword [ebp]
jmp 0xbc61a0
mov eax, ebp
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
mov esi, eax
test esi, esi
je 0xbc627c
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00d07a7c
add esp, 4
mov edi, eax
cmp dword [ebp + 0x14], 0x10
jb 0xbc61e4
mov ebp, dword [ebp]
push esi
push edi
or esi, 0xffffffff
push esi
push ebp
push 0
push 0xfde9
call ebx
test eax, eax
je 0xbc626c
push 0x44
lea eax, [esp + 0x30]
push 0
push eax
call fcn.00d0e420
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0xbc625c
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov eax, dword [esp + 0x1c]
push eax
call ebx
jmp 0xbc626c
push 0x10
push str.Fatal_error
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
mov dword [esp + 0x298], esi
call fcn.00d09081
add esp, 4
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00d08a41
add esp, 0x284
ret
Function at 0xbc62d0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0xd6d653
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0xde16ec]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
mov eax, dword [0xde16ec]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x58], 0
mov eax, dword [edi]
cmp eax, dword [0xdfd448]
jl 0xbc64f0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 8]
call fcn.00bc6f30
push 2
mov ebx, 1
push 0xd98b18
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], bl
call fcn.00bc78a0
cmp dword [0xdfd44c], 0
lea ebp, [ebx + 0xf]
je 0xbc6362
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebp
jae 0xbc635b
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0xdfd44c], ebx
je 0xbc63d8
call fcn.00bc6000
test al, al
je 0xbc63d8
cmp byte [0xdfd55a], 0
jne 0xbc638d
push 0xdfd3dc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0xdfd55a], bl
push 0xdfd3dc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0xdfd554]
push 2
push 0
push edx
call fcn.00d0a67f
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp dword [esp + 0x28], ebp
jae 0xbc63b9
lea eax, [esp + 0x14]
push eax
mov eax, dword [0xdfd554]
push 0xd98b1c
push eax
call fcn.00d0a1b5
add esp, 0xc
push 0xdfd3dc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [edi], 3
jne 0xbc64c3
mov ecx, dword [0xdfd554]
push ecx
call fcn.00d09ec7
add esp, 4
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0xbc6405
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0xbc64c3
cmp dword [0xdfd55c], 0
je 0xbc643c
lea edx, [esp + 0x30]
push edx
lea ecx, [edi + 8]
call fcn.00bc6f30
push eax
mov byte [esp + 0x5c], 2
call dword [0xdfd55c]
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], bl
call fcn.00c80ca0
jmp 0xbc64c3
mov eax, dword [0xde4e74]
cmp byte [eax], 0
jne 0xbc6470
lea ecx, [esp + 0x30]
push ecx
lea ecx, [edi + 8]
call fcn.00bc6f30
push eax
mov byte [esp + 0x5c], 3
call fcn.00bc60c0
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], bl
call fcn.00c80ca0
jmp 0xbc64b5
lea edx, [esp + 0x30]
push edx
lea ecx, [edi + 8]
call fcn.00bc6f30
cmp dword [eax + 0x14], ebp
jb 0xbc6484
mov eax, dword [eax]
push eax
push 0xd98b20
call fcn.00d09acd
add eax, 0x40
push eax
call fcn.00d0a1b5
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00c80ca0
call fcn.00d09acd
add eax, 0x40
push eax
call fcn.00d09ec7
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [esp + 0x58], 0
cmp dword [esp + 0x28], ebp
jb 0xbc64db
mov eax, dword [esp + 0x14]
push eax
call fcn.00d08a36
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
lea esi, [edi + 0x68]
mov ecx, esi
mov dword [esp + 0x58], 0xffffffff
call fcn.00bc6e90
push esi
mov dword [esi], vtable.std::ios_base.0
call fcn.00d07cfc
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00d08a41
add esp, 0x4c
ret