joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d680
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4365f9
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x443574]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
push esi
push edi
mov eax, dword [0x443574]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.0040ce40
mov dword [esi + 4], eax
mov dword [esi + 8], 0
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x228], 0
call fcn.0040ce40
mov dword [edi + 4], eax
mov dword [edi + 8], 0
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_Acrobat10.0
mov ecx, esi
mov byte [esp + 0x22c], 1
call fcn.0040d370
push str.HKEY_CURRENT_USERSoftwareAdobeAcrobat_Reader10.0
mov ecx, esi
call fcn.0040d370
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_Synchronizer10.0
mov ecx, esi
call fcn.0040d370
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call sub.MSVCR90.dll_memset
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 0x1a
lea edx, [esp + 0x1c]
push edx
push 0
call edi
mov ebp, dword [sym.imp.MSVCR90.dll_wcscat_s]
test eax, eax
je 0x40d771
push str.AdobeAcrobat10.0
lea eax, [esp + 0x18]
push 0x104
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0040d430
push 0
push 0x1c
lea edx, [esp + 0x1c]
push edx
push 0
call edi
test eax, eax
je 0x40d7a2
push str.AdobeAcrobat10.0
lea eax, [esp + 0x18]
push 0x104
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0040d430
push 0
push 0x1a
lea edx, [esp + 0x1c]
push edx
push 0
call edi
test eax, eax
je 0x40d7d3
push str.AdobeLinguisticsDictionaries
lea eax, [esp + 0x18]
push 0x104
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0040d430
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat10.0FeatureLockDown
mov ecx, esi
call fcn.0040d4f0
push str.SOFTWAREPoliciesAdobeAcrobat_Reader10.0FeatureLockDown
mov ecx, esi
call fcn.0040d4f0
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0043539d
add esp, 0x21c
ret
Function at 0x42f8c0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42f8fe
push str.unable_to_set_tls_value
lea ecx, [ebp - 0x20]
call fcn.0042c390
push 0x43bbcc
lea eax, [ebp - 0x20]
push eax
call sub.MSVCR90.dll__CxxThrowException
mov esp, ebp
pop ebp
ret 4

Function at 0x42fac0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edx, dword [ebp - 0x20]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0
jne 0x42fb0c
push str.unable_to_create_tls_index
lea ecx, [ebp - 0x1c]
call fcn.0042c390
push 0x43bbcc
lea ecx, [ebp - 0x1c]
push ecx
call sub.MSVCR90.dll__CxxThrowException
mov edx, dword [ebp - 0x20]
add edx, 8
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret

Function at 0x434540
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.0042bd10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x43455c
xor eax, eax
jmp 0x43456b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00434570
add esp, 4
pop ebp
ret
Function at 0x435160
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4372f0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x443574]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x24]
call fcn.0042b649
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.0042bd10
mov dword [ebp - 0x28], eax
call fcn.00434510
movzx eax, ax
push eax
mov ecx, dword [ebp + 8]
call fcn.0042c440
test eax, eax
je 0x4351fe
mov ecx, dword [ebp + 8]
call fcn.0042bcf0
sub eax, 1
push eax
push 0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042ca70
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0042bd30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00408010
lea ecx, [ebp - 0x24]
call fcn.0042bd10
mov dword [ebp - 0x28], eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00408010
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x43539d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x443574]
jne 0x4353a7
repz ret
jmp fcn.00435c00
Function at 0x41e420
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x417015
lea edi, [esi - 0x16015]
push edi
or ebp, 0xffffffff
jmp 0x41e442
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e449
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e438
mov eax, 1
add ebx, ebx
jne 0x41e45b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e450
jne 0x41e46c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e450
xor ecx, ecx
sub eax, 3
jb 0x41e480
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e4f2
mov ebp, eax
add ebx, ebx
jne 0x41e48b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e498
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e4bc
inc ecx
add ebx, ebx
jne 0x41e4a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e49d
jne 0x41e4b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e49d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e4dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e4cd
jmp 0x41e43e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e4dc
add edi, ecx
jmp 0x41e43e
pop esi
mov edi, esi
mov ecx, 0x71
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e4fa
cmp byte [edi], 5
jne 0x41e4fa
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 0x41e4ff
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e56e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e52c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e06c]
or eax, eax
je 0x41e568
mov dword [ebx], eax
add ebx, 4
jmp 0x41e549
call dword [esi + 0x1e068]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41e59f
cmp al, 0xef
ja 0x41e592
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41e574
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x41e581
mov ebp, dword [esi + 0x1e070]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x1e5fa]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41e5eb
sub esp, 0xffffff80
jmp 0x4013e0
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x327c5ecc
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x565a2a5d
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x1001a119
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001a212
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
jne 0x1001a1d9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1001a1bd
mov dword [ebp - 0x14], 1
jmp 0x1001a1c1
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
dec eax
cmp eax, 2
jne 0x1001a1d9
mov eax, 0xf4e1
test eax, eax
jne 0x1001a1d9
and dword [ebp - 0x18], 0
jmp 0x1001a1e0
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
imul eax, dword [eax], 0x25cb
cmp eax, 0xffffffff
jge 0x1001a201
xor eax, eax
inc eax
jne 0x1001a201
and dword [ebp - 0x20], 0
jmp 0x1001a208
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
jmp 0x1001a235
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1001a235
push 0
push 0x10a8
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esp, ebp
pop ebp
ret
Function at 0x1001c2ba
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001c2d5
push 0x20e4
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001c303
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1001c320
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10023032
mov dword [eax], 0xfffe
jmp 0x1001c2f8
mov esp, ebp
pop ebp
ret
Function at 0x1002d777
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002d792
push 0x20e4
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, 0x69d1fe90
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx]
jle 0x1002d7d0
mov dword [ebp - 4], 1
jmp 0x1002d7d4
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10031015
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ebp + 0x14], 0
push esi
mov dword [ebp - 4], edx
mov esi, ecx
je 0x10031080
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [edi]
mov eax, dword [esi]
mov eax, dword [esi]
cmp dword [esi], edx
jne 0x10031041
mov eax, dword [ebp + 0x10]
cmp dword [eax], edx
jne 0x10031041
mov ebx, edx
jmp 0x10031044
xor ebx, ebx
inc ebx
mov eax, dword [edi]
xor ecx, ecx
cmp ebx, eax
mov eax, dword [edi]
sete cl
sub ecx, eax
xor eax, eax
cmp ecx, 0xfff6
mov ecx, dword [ebp + 0x10]
setne al
cmp eax, dword [ecx]
jne 0x10031067
cmp dword [esi], edx
je 0x1003106a
xor edx, edx
inc edx
mov ecx, dword [edi]
mov eax, dword [edi]
add ecx, edx
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 4]
setge dl
pop edi
pop ebx
mov dword [eax], edx
jmp 0x10031095
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x10031095
push 0
push 0x10a8
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100318f7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003190d
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x10031958
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1003193b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10031958
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10023032
mov dword [eax], 0xdf39281c
jmp 0x10031930
mov esp, ebp
pop ebp
ret

Function at 0x100339d8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10033a33
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10033a14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10033a31
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10023032
mov dword [eax], 0xbca63185
jmp 0x10033a09
jmp 0x10033a42
push 0x2a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esp, ebp
pop ebp
ret
Function at 0x10033f9e
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10033fcf
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10033fcd
push 0x9f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10033feb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10033feb
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov esp, ebp
pop ebp
ret
Function at 0x1003f0d9
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003f121
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003f11c
push 0
push 0x248f
push 0x19b9
push 0x1f67
push 0x84c
push 0x2431
push 0x22e1
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
jmp 0x1003f250
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10023032
mov esi, eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10023032
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov esi, dword [eax]
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10023032
sub esi, dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [eax], esi
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
push 3
mov ecx, dword [ebp - 0xc]
call fcn.10023032
sub esi, dword [eax]
dec esi
cmp esi, 0x18e50348
jl 0x1003f1b9
mov dword [ebp - 0x14], 1
jmp 0x1003f1bd
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10023032
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax]
jg 0x1003f1da
mov dword [ebp - 0x3c], 1
jmp 0x1003f1de
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10023032
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1003f205
mov dword [ebp - 0x18], 1
jmp 0x1003f209
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0xe3580d41
je 0x1003f21b
mov dword [ebp - 0x1c], 1
jmp 0x1003f21f
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 9
jge 0x1003f22e
mov dword [ebp - 0x20], 1
jmp 0x1003f232
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0xd35da2a0
ja 0x1003f244
mov dword [ebp - 0x24], 1
jmp 0x1003f248
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10043810
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10043834
xor eax, eax
jmp 0x100439a6
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 8]
push eax
push 0x4c7
call fcn.10043647
add esp, 0x14
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10043861
xor eax, eax
jmp 0x100439a6
push 0x78bc
push 0x162
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x20a5
push 1
call fcn.100436af
add esp, 0x18
cmp dword [ebp - 0xc], 0
jne 0x1004388f
xor eax, eax
jmp 0x100439a6
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
push 1
push 0x5224
lea eax, [ebp - 4]
push eax
push 0x35ac
call fcn.100434a3
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 1
push 0x6a6f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x510b
call fcn.1004373c
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x10043916
push dword [ebp - 0x14]
push 0x237c
push 0x2992
push 0xc5c
push 0x5dad
push 0x661a
push dword [ebp - 4]
push 1
push 0x1ef8
push 0x2b11
call fcn.1003e69c
add esp, 0x28
push dword [ebp - 4]
call fcn.100431d9
pop ecx
test eax, eax
jne 0x10043927
xor eax, eax
jmp 0x100439a6
push 0x569a
push 0x7887
push dword [ebp - 4]
push 0
call fcn.1003f6d5
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1004398e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1004395d
xor eax, eax
jmp 0x100439a6
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10043976
xor eax, eax
jmp 0x100439a6
push 0x68fa
push 0x2b66
lea eax, [ebp - 4]
push eax
push 1
call fcn.100437bd
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1004399f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x100439a3
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret