joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002b56
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10002ba6
mov eax, dword [0x100041e4]
test eax, eax
je 0x10002b72
call eax
test eax, eax
jne 0x10002b72
push 0xfffffffffffffffe
jmp 0x10002b8c
push 1
push 0x10004010
push 0x10004008
call fcn.10002c12
add esp, 0xc
test eax, eax
je 0x10002b92
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0x10004004
push section..data
call fcn.10002c12
add esp, 0xc
push esi
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10001274
cmp dword [ebp + 0xc], 0
mov esi, eax
jne 0x10002bf6
call fcn.10002c39
push 0
push 0x10004018
push 0x10004014
call fcn.10002c12
push 0
push 0x10004020
push 0x1000401c
call fcn.10002c12
add esp, 0x18
mov eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x408460
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x408482
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408489
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408478
mov eax, 1
add ebx, ebx
jne 0x40849b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408490
jne 0x4084ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408490
xor ecx, ecx
sub eax, 3
jb 0x4084c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408532
mov ebp, eax
add ebx, ebx
jne 0x4084cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4084d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4084fc
inc ecx
add ebx, ebx
jne 0x4084e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4084dd
jne 0x4084f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4084dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40851c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40850d
jmp 0x40847e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40851c
add edi, ecx
jmp 0x40847e
pop esi
mov edi, esi
mov ecx, 1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40853a
cmp byte [edi], 2
jne 0x40853a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40853f
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x4085b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8910]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x894c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40856c
mov ecx, edi
jns 0x40859b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8950]
or eax, eax
je 0x4085b1
mov dword [ebx], eax
add ebx, 4
jmp 0x408589
call dword [esi + 0x8954]
popal
jmp 0x4010b0
Function at 0x44b32f
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec edx
add byte [ebx + 0x4c18301], cl
mov dword [0x4a753c], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [ebp - 4], edx
fild dword [ebp - 4]
jns 0x44b372
fadd qword [0x48cd18]
fmul qword [0x48cd20]
or ch, ah
pop ebp
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x4bee30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x74000]
push edi
jmp 0x4bee4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bee51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bee40
mov eax, 1
add ebx, ebx
jne 0x4bee63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bee74
jne 0x4bee93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bee93
dec eax
add ebx, ebx
jne 0x4bee80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bee58
add ebx, ebx
jne 0x4bee8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4beee5
xor ecx, ecx
sub eax, 3
jb 0x4beeab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bef1a
sar eax, 1
mov ebp, eax
jmp 0x4beeb6
add ebx, ebx
jne 0x4beeb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bee84
inc ecx
add ebx, ebx
jne 0x4beec4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bee84
add ebx, ebx
jne 0x4beed1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4beec6
jne 0x4beee2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4beec6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bef04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4beef6
jmp 0x4bee46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bef04
add edi, ecx
jmp 0x4bee46
pop esi
mov edi, esi
mov ecx, 0x19cc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bef22
cmp byte [edi], 0x13
jne 0x4bef22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4bef27
lea edi, [esi + 0xbb000]
mov eax, dword [edi]
or eax, eax
je 0x4bef9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc1248]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc1374]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bef54
mov ecx, edi
jns 0x4bef83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc1378]
or eax, eax
je 0x4bef99
mov dword [ebx], eax
add ebx, 4
jmp 0x4bef71
call dword [esi + 0xc1388]
mov ebp, dword [esi + 0xc137c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4befd3
sub esp, 0xffffff80
jmp 0x40941e
Function at 0x409da0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [0x4a99f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
lea edx, [ebp - 0x3f4]
push edx
push 0x20019
push 0
push str.TypeLib
push 0x80000000
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x400], ecx
call dword [0x48e020]
mov edi, dword [0x48e018]
push 0x80000000
mov esi, eax
call edi
test esi, esi
je 0x409e07
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468d21
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x3f4]
lea eax, [ebp - 0x3f0]
push eax
push 0x20019
push 0
push ebx
push ecx
call dword [0x48e020]
mov edx, dword [ebp - 0x3f4]
push edx
mov esi, eax
call edi
test esi, esi
jne 0x409df5
mov edx, dword [ebp - 0x3f0]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x3ec]
push ecx
push esi
push edx
mov dword [ebp - 0x3f8], 0x3e8
call dword [0x48e01c]
mov esi, eax
mov eax, dword [ebp - 0x3f0]
push eax
call edi
test esi, esi
jne 0x409df5
mov ecx, dword [ebp - 0x400]
mov edx, dword [ebp - 0x3fc]
push ecx
push edx
lea eax, [ebp - 0x3ec]
push str._d._d
push eax
call fcn.0046b72d
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00468d21
mov esp, ebp
pop ebp
ret
Function at 0x409ea0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2720
call fcn.0047fd00
mov eax, dword [0x4a99f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x2720], eax
mov eax, dword [0x491ef8]
mov esi, ecx
mov ecx, dword [str.SoftwareClasses_]
mov ebx, edx
mov edx, dword [0x491ef4]
push 0x26fe
mov dword [ebp - 0x270c], eax
mov dword [ebp - 0x2714], ecx
mov ecx, dword [0x491efc]
mov dword [ebp - 0x2710], edx
mov dx, word [0x491f00]
lea eax, [ebp - 0x2702]
push 0
push eax
mov byte [ebp - 0x2715], 0
mov dword [ebp - 0x2708], ecx
mov word [ebp - 0x2704], dx
call fcn.00472530
mov eax, esi
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x409f24
push edi
lea edi, [ebp - 0x2714]
sub eax, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x409f35
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebx, ebx
je 0x409f98
lea edi, [ebp - 0x2714]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x409f56
mov cx, word [0x491f04]
mov eax, ebx
mov word [edi], cx
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x409f70
lea edi, [ebp - 0x2714]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x409f82
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea edx, [ebp - 0x271c]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x2714]
push eax
push 0x80000001
call dword [0x48e008]
pop edi
test eax, eax
jne 0x40a03d
mov esi, dword [ebp - 0x2720]
test esi, esi
je 0x409ff7
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409fd4
mov ecx, dword [ebp - 0x271c]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push 0
push ecx
call dword [0x48e004]
test eax, eax
jne 0x40a018
mov edx, dword [ebp - 0x271c]
push edx
mov bl, 1
call dword [0x48e018]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468d21
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x271c]
mov bl, byte [ebp - 0x2715]
push edx
call dword [0x48e018]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468d21
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x2715]
pop esi
xor ecx, ebp
pop ebx
call fcn.00468d21
mov esp, ebp
pop ebp
ret
Function at 0x413f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48c9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x4a99f8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp word [esi], 0xc
jne 0x413fc4
lea eax, [esp + 0xc]
push eax
call dword [0x48e2b0]
lea eax, [esp + 0xc]
jmp 0x413fdb
lea ecx, [esp + 0xc]
push ecx
call dword [0x48e2b0]
mov dx, word [esi]
mov word [esp + 0xc], dx
lea eax, [esp + 0x14]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
call dword [0x48e2f8]
xor ecx, ecx
cmp eax, ecx
jge 0x414048
mov dword [esp + 0x20], vtable.tcomxException.0
mov dword [esp + 0x28], vtable.tStringBuffer.0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], ecx
mov ebx, dword [str.Internal_Error]
lea esi, [esp + 0x28]
mov dword [esp + 0x24], ecx
call fcn.0040ac40
mov edx, dword [esp + 0x30]
push edx
mov ecx, 0x491568
call fcn.00408e30
add esp, 4
push 0x4a52e0
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x48], 0xffffffff
call fcn.004722ce
mov edx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
push edi
mov dword [eax + 0xc], edx
call fcn.00412040
add esp, 0x1c
lea eax, [esp + 0xc]
push eax
call dword [0x48e2b8]
mov eax, dword [edi + 8]
sub eax, dword [edi + 0xc]
sar eax, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f4d0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4a99f8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x41f4c0
call fcn.0046c18a
add esp, 4
call fcn.0041f380
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dl_etCurrentProce3s]
push eax
call dword [0x48e014]
test eax, eax
je 0x41f55e
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [0x48e010]
test eax, eax
jne 0x41f524
mov edx, dword [ebp - 0x18]
push edx
jmp 0x41f558
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [0x48e00c]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dl_loseHandle]
call fcn.00445d30
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468d21
mov esp, ebp
pop ebp
ret
Function at 0x468d21
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a99f8]
jne 0x468d2b
repz ret
jmp fcn.004725dc

Function at 0x481c37
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a99f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00474e93
and dword [ebp - 0x14], 0
cmp dword [0x4ac2d0], 0
mov dword [ebp - 0x18], eax
jne 0x481cea
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dl_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x481d92
mov edi, dword [sym.imp.KERNEL32.dl_GetProcAddress]
push 0x490b64
push ebx
call edi
test eax, eax
je 0x481d92
mov esi, dword [sym.imp.KERNEL32.dl_EncodePointer]
push eax
call esi
push 0x490b54
push ebx
mov dword [0x4ac2d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4ac2d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4ac2d8], eax
call edi
push eax
call esi
mov dword [0x4ac2e0], eax
test eax, eax
je 0x481cea
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4ac2dc], eax
mov eax, dword [0x4ac2dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dl_DecodePointer]
cmp eax, ecx
je 0x481d43
cmp dword [0x4ac2e0], ecx
je 0x481d43
push eax
call esi
push dword [0x4ac2e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x481d43
test ebx, ebx
je 0x481d43
call edi
test eax, eax
je 0x481d3a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x481d3a
test byte [ebp - 8], 1
jne 0x481d43
or dword [ebp + 0x10], 0x200000
jmp 0x481d76
mov eax, dword [0x4ac2d4]
cmp eax, dword [ebp - 0x18]
je 0x481d76
push eax
call esi
test eax, eax
je 0x481d76
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x481d76
mov eax, dword [0x4ac2d8]
cmp eax, dword [ebp - 0x18]
je 0x481d76
push eax
call esi
test eax, eax
je 0x481d76
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4ac2d0]
call esi
test eax, eax
je 0x481d92
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x481d94
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468d21
leave
ret
Function at 0x10001990
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x100019fa
push esi
lea edi, [eax + 0x400]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x100019ca
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10001a16
push ecx
push esi
call fcn.10001e60
add esp, 8
mov ebx, eax
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10001b10
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x10001b51.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x10001b51.2
jmp dword [eax*4 + 0x10001bdc]
mov word [esp + 0x48], di
jmp 0x10001b8a
mov word [esp + 0x48], 2
jmp 0x10001b8a
mov word [esp + 0x48], 3
jmp 0x10001b8a
mov word [esp + 0x48], 4
jmp 0x10001b8a
mov word [esp + 0x48], 7
jmp 0x10001b8a
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x10001bd4
cmp dword [esp + 0x70], edi
je 0x10001bc0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret
Function at 0x10001595
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
je 0x1000177b
cmp esi, edi
je 0x1000177b
cmp dword [ebp + 8], edi
jl 0x1000177b
push str.https:__
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1000177b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000177b
push esi
call fcn.100121af
test eax, eax
jne 0x1000177b
push esi
call fcn.10011c14
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, edi
je 0x1000177b
push esi
call fcn.1001218b
test eax, eax
je 0x10001767
push 1
lea eax, [ebp + 8]
push eax
push esi
call fcn.10012106
mov dword [ebp - 4], eax
cmp eax, edi
je 0x10001767
cmp dword [ebp + 8], edi
je 0x10001767
cmp dword [ebp + 8], 0x7d000
ja 0x10001767
push dword [ebp + 0xc]
call fcn.10011c14
mov ebx, eax
cmp ebx, edi
je 0x10001767
mov esi, 0x104
push esi
call fcn.100021e8
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push esi
push 0xb
call fcn.10006923
mov edi, dword [sym.imp.SHLWAPI.dll_StrNCatA]
push eax
lea eax, [ebp - 0x110]
push eax
call edi
lea eax, [ebp - 0x110]
push eax
call fcn.1001253a
push 0x10
pop eax
call sub.ntdll.dll__alloca_probe
mov eax, esp
test eax, eax
je 0x100016b4
push 0x92
push 0xc
mov edx, 0x100294fc
call fcn.100117e3
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push dword [ebp - 4]
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp + 8]
call fcn.10012238
test eax, eax
je 0x1000175e
push 8
pop eax
call sub.ntdll.dll__alloca_probe
mov eax, esp
test eax, eax
je 0x100016fb
push 0x98
push 4
mov edx, 0x1002977c
call fcn.100117e3
push esi
push eax
lea eax, [ebp - 0x110]
push eax
call edi
mov eax, ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1000170b
sub eax, ecx
push ebx
lea ecx, [ebp - 0x110]
push ecx
call fcn.10012238
test eax, eax
je 0x1000175e
push 4
pop eax
call sub.ntdll.dll__alloca_probe
mov eax, esp
test eax, eax
je 0x10001741
push 0x7f
push 3
mov edx, 0x10028168
call fcn.100117e3
xor esi, esi
inc esi
push esi
push eax
push 0xb
call fcn.10006923
push eax
call fcn.1000adce
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], esi
call fcn.100122a2
mov esi, ebx
call fcn.1001272d
xor edi, edi
mov esi, dword [ebp - 8]
call fcn.1001272d
mov esi, dword [ebp - 4]
cmp esi, edi
je 0x1000177b
call fcn.1001272d
mov eax, dword [ebp - 0xc]
lea esp, [ebp - 0x11c]
pop edi
pop esi
pop ebx
leave
ret 8