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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
or ebp, 0xffffffff
jmp 0x419432
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419439
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419428
mov eax, 1
add ebx, ebx
jne 0x41944b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419440
jne 0x41945c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419440
xor ecx, ecx
sub eax, 3
jb 0x419470
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4194e2
mov ebp, eax
add ebx, ebx
jne 0x41947b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419488
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4194ac
inc ecx
add ebx, ebx
jne 0x419498
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41948d
jne 0x4194a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41948d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4194cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4194bd
jmp 0x41942e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4194cc
add edi, ecx
jmp 0x41942e
pop esi
mov edi, esi
mov ecx, 0x170
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4194ea
cmp byte [edi], 5
jne 0x4194ea
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 0x4194ef
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419567
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b048]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b0ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41951c
mov ecx, edi
jns 0x41954b
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 + 0x1b0b0]
or eax, eax
je 0x419561
mov dword [ebx], eax
add ebx, 4
jmp 0x419539
call dword [esi + 0x1b0b8]
mov ebp, dword [esi + 0x1b0b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x41959b
sub esp, 0xffffff80
jmp 0x40b05f
Function at 0x10013434
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1001346f
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10013456
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10013467
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10013471
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1001344c
xor eax, eax
pop edi
pop esi
ret

Function at 0x100134b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub al, 0
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x3c]
add esi, edi
mov ebx, dword [esi + 0x78]
call fcn.100133f4
mov bh, 0x33
rcr byte [edx], 1
push esi
push ebx
call fcn.10013434
pop ecx
test eax, eax

Function at 0x1001379a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
idiv dword [edi - 0x39c18]
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.100133b9
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
xchg ebp, eax
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
xor eax, 0x41a645c6
call fcn.10013404
push eax
push esi
push dword [ebp + 8]
call fcn.100133b9
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10013404
push eax
push esi
push dword [ebp + 8]
call fcn.100133b9
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100133f4
sbb eax, 0x887229d3
popfd
jl 0x10013879
invalid
invalid
Function at 0x100137f6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
idiv dword [edi - 0x39c18]
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.100133b9
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
xchg ebp, eax
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
xor eax, 0x41a645c6
call fcn.10013404
push eax
push esi
push dword [ebp + 8]
call fcn.100133b9
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10013404
push eax
push esi
push dword [ebp + 8]
call fcn.100133b9
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100133f4
sbb eax, 0x887229d3
popfd
jl 0x10013879
invalid
invalid

Function at 0x10013a05
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x10013999
cmp dword [eax + 0xc], ebx
je 0x10013a3c
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.100133f4
mov edi, 0x391967eb
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x10013a2a
test eax, 0x80000000
lea ecx, [eax + esi]
je fcn.10013a05
and eax, 0xffff
push eax
jmp 0x10013a09
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100133b9
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x10013be3
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x100139ea
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x1001398b
call fcn.100133f4
enter 0x4438, 0x41
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x10013aa8
add eax, esi
cmp dword [eax], ebx
je 0x10013aa8
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
invalid
Function at 0x10013c9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 0x14]
call fcn.100133b9
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10013404
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100133b9
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
invalid
test dword [esp + edi*8], ebx
invalid

Function at 0x10014107
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.10013404
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100133b9
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.100133f4
invalid
Function at 0x1001c180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1001c1be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1001c1b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1001c1c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1001c1a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1001c290
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1001c2c1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1001c2c1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1001c2c1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10025e24
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020f0d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10062338]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x174]
mov dword [ebx], 0x100053d0
mov dword [ebx + 4], 0x100053ac
mov dword [ebx + 8], 0x10005388
mov dword [ebx + 0xc], 0x10005370
mov dword [ebx + 0x10], 0x10005358
mov dword [ebx + 0x14], 0x10005344
mov dword [ebx + 0x18], 0x10005330
mov dword [ebx + 0x1c], 0x10005320
mov dword [ebx + 0x20], 0x10005308
mov dword [ebx + 0x24], 0x100052f0
mov dword [ebx + 0x28], 0x100052dc
mov dword [ebx + 0x2c], 0x100052cc
mov dword [ebx + 0x30], 0x100052bc
mov dword [ebx + 0x34], 0x100052a0
mov dword [ebx + 0x38], 0x10005290
mov dword [ebx + 0x3c], 0x10005270
mov dword [ebx + 0x40], 0x10005260
mov dword [ebx + 0x44], 0x10005250
mov dword [ebx + 0x48], 0x1000523c
mov dword [ebx + 0x4c], 0x10005218
mov dword [ebx + 0x50], 0xc0000001
test eax, eax
je 0x10025ef7
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0x174], 0
push 0
mov ecx, ebx
call fcn.10034492
mov edi, dword [0x100629c0]
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10064524]
mov ecx, edi
call esi
mov ecx, ebx
call fcn.1003232b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001346
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x18
call fcn.10027390
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [0x10046ef3], 0
jne 0x10001420
mov ebx, dword [0x10046ef7]
call fcn.1000100e
mov eax, 0
cmp eax, ecx
jl 0x100013a8
push 1
call fcn.10027396
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov eax, 0x1003f2b3
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10001530
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100013d4
push ebx
call fcn.1002738a
add esp, 4
lea eax, [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.100017e5
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100013f5
push ebx
call fcn.1002738a
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [0x10046ef3], eax
push htons
push 0
push 0x1000c521
push 1
mov ebx, 0x9dc
call fcn.10027840
add esp, 0x10
mov dword [0x10046efb], eax
push 1
lea eax, [ebp - 4]
push eax
push 1
push 0
push 1
push 0
push dword [0x10046efb]
push dword [0x10046ef3]
call fcn.10009608
push htons
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.10027840
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push 0
push 0
push 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x100014a1
push 6
call fcn.10027396
add esp, 4
mov dword [ebp - 8], eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.1000c175
cmp dword [ebp - 8], 0
je 0x100014ed
cmp dword [ebp + 0x18], 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100014e4
push 1
push 0xffffffff
push dword [ebp + 0x14]
push dword [ebp - 8]
call fcn.1000c202
lea eax, [ebp - 8]
push eax
call fcn.1000c479
mov eax, dword [ebp - 0xc]
jmp 0x100014f5
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.1002738a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14

Function at 0x10002575
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.100025d7
test eax, eax
je 0x100025b8
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x100025b8
cmp word [eax], 0x5a4d
jne 0x100025b8
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x100025b8
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.100026a9
mov eax, dword [ebp + 8]
jmp 0x100025d1
mov esp, ebp
pop ebp
ret 4

Function at 0x100025d7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x1000268a
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x10006ef1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push pe_nt_image_headers32
push 1
mov ebx, 0x184
call fcn.10027f50
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006f36
push ebx
call fcn.1002738a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x1003f2d1
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.10001804
add esp, 8
cmp eax, 0
jne 0x10006f8c
mov eax, dword [0x10046f0b]
test eax, eax
je 0x10006f73
push eax
mov ebx, eax
call fcn.100018ba
inc eax
push eax
call fcn.10027390
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10006f86
push ebx
call fcn.1002738a
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10006fbd
push 6
call fcn.10027396
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10006fd0
mov eax, 0x1003f2d1
push eax
push 1
mov ebx, 0x170
call fcn.100285d0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x10006fee
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10006fff
push ebx
call fcn.1002738a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10007006
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push pe_nt_image_headers32
push 1
mov ebx, 0x184
call fcn.10027f50
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000704b
push ebx
call fcn.1002738a
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0xff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10007076
push 6
call fcn.10027396
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x10007092
push eax
mov ebx, eax
call fcn.100018ba
inc eax
push eax
call fcn.10027390
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10007097
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100070a8
push ebx
call fcn.1002738a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x10007556
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10007578
mov eax, 0xfffffffd
jmp 0x10007658
mov ebx, dword [0x10046f07]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10007626
mov ebx, dword [0x10046f07]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x100075c7
mov ebx, dword [0x10046f07]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x100075c7
mov eax, 1
jmp 0x100075cc
mov eax, 0
test eax, eax
je 0x100075f8
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x100075e1
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x10046f07]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x1000764e
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10007658
mov esp, ebp
pop ebp
ret 4
Function at 0x10014487
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push pe_nt_image_headers32
push 1
mov ebx, 0x184
call fcn.10027f50
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100144cc
push ebx
call fcn.1002738a
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100144f7
push 6
call fcn.10027396
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1001450a
mov eax, 0x1003f2d1
push eax
push 1
mov ebx, 0x170
call fcn.100285d0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x10014528
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10014539
push ebx
call fcn.1002738a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x1001453e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1001456c
push eax
mov ebx, eax
call fcn.100018ba
inc eax
push eax
call fcn.10027390
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001457d
push ebx
call fcn.1002738a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push 0x80000004
push 0
push 0x1003f309
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100145b2
mov eax, 0x1003f2d1
push eax
push 4
mov ebx, 0x148
call fcn.10027f90
add esp, 0x34
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x100146ad
push 0
mov ebx, 0x104
call fcn.10028dc0
add esp, 4
mov dword [ebp - 8], eax
push dword [ebp - 4]
push 0x1003f309
push dword [ebp - 8]
mov ecx, 3
call fcn.10001925
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10014612
push ebx
call fcn.1002738a
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10014625
mov eax, 0x1003f2d1
push eax
push 1
mov ebx, 0x24c
call fcn.10028e60
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1001464b
push ebx
call fcn.1002738a
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x100146ad
push 0
mov ebx, 0x104
call fcn.10028dc0
add esp, 4
mov dword [ebp - 8], eax
push dword [ebp - 4]
push 0x1003f309
push dword [ebp - 8]
mov ecx, 3
call fcn.10001925
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10014695
push ebx
call fcn.1002738a
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100146a9
push ebx
call fcn.1002738a
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100146dc
push 6
call fcn.10027396
add esp, 4
jmp 0x100146e1
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100146f2
push ebx
call fcn.1002738a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14