joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407040
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x41d968
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x426ae4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x426ae4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov edx, dword [0x42820c]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0xc]
mov edi, ecx
mov ecx, 0x42820c
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov eax, dword [edi]
sub eax, 0x10
push eax
mov dword [esp + 0x44], ebx
call fcn.004029e0
lea esi, [eax + 0x10]
push ebx
push esi
call fcn.00410b23
add esp, 0xc
cmp eax, 0xffffffff
lea eax, [esi - 0x10]
setne byte [esp + 0x17]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4070d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x4071bc
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
push eax
mov dword [esp + 0x28], ebx
call fcn.0040f4c0
cmp eax, ebx
mov dword [esp + 0x1c], eax
jle 0x4071bc
push 0x428250
push eax
call fcn.00410b3b
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4071bc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edi, dword [edi]
push esi
push edx
push eax
push edi
call fcn.0040f4ba
test eax, eax
jne 0x407158
push esi
call fcn.00410590
mov esi, dword [esp + 0x28]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00404de0
lea ecx, [esp + 0x18]
call fcn.004028a0
mov eax, esi
jmp 0x4071f0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
push 0x41f9fc
push esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
call fcn.0040f4b4
mov eax, dword [esp + 0x1c]
mov cx, word [eax + 0xc]
mov di, word [eax + 0xa]
mov bx, word [eax + 8]
mov bp, word [eax + 0xe]
push esi
mov word [esp + 0x36], cx
call fcn.00410590
movzx edx, word [esp + 0x36]
push edx
movzx eax, bp
push eax
movzx ecx, bx
push ecx
movzx edx, di
push edx
lea eax, [esp + 0x2c]
push str._d._d._d._d
push eax
call fcn.00407020
mov ebp, dword [esp + 0x34]
add esp, 0x1c
lea esi, [ebp - 0x10]
push esi
call fcn.004029e0
mov edi, dword [esp + 0x28]
add eax, 0x10
or edx, 0xffffffff
lea ecx, [esi + 0xc]
mov dword [esp + 0x44], edx
mov dword [edi], eax
add esp, 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4071ee
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0040ff3c
add esp, 0x30
ret
Function at 0x408270
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x41da48
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x426ae4]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
mov eax, dword [0x426ae4]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x98]
push 0x41
lea eax, [esp + 0x44]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
call fcn.00410a20
xor eax, eax
add esp, 0xc
push eax
push 0x41fa20
mov ecx, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
call fcn.00406340
test esi, esi
je 0x4083ce
mov ebx, dword [esi + 8]
mov esi, dword [esi + 4]
push 0xf0000000
push 1
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
call dword [section..rdata]
test eax, eax
je 0x4083ce
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x8004
push eax
call dword [0x41f03c]
test eax, eax
je 0x4083ce
mov ecx, dword [esp + 0x10]
push 0
push ebx
push esi
push ecx
call dword [0x41f040]
test eax, eax
je 0x4083ce
mov ecx, dword [esp + 0x10]
xor eax, eax
push eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], al
lea eax, [esp + 0x30]
push eax
push 2
push ecx
mov dword [esp + 0x28], 0x14
call dword [0x41f02c]
test eax, eax
je 0x4083ce
xor esi, esi
mov edi, edi
movzx edx, byte [esp + esi + 0x28]
xor eax, eax
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
lea eax, [esp + 0x20]
push str._02x
push eax
call fcn.004021c0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x50]
push 0x41
push edx
call fcn.0041049c
inc esi
add esp, 0x18
cmp esi, 0x14
jb 0x408390
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
call fcn.00407880
push eax
mov ecx, ebp
mov dword [esp + 0x94], 0
call fcn.00406a90
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40841a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x408429
push eax
call dword [0x41f028]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x408442
push 0
push eax
call dword [0x41f024]
mov ecx, dword [ebp]
mov eax, dword [ecx - 0xc]
jmp 0x408448
mov edx, dword [ebp]
mov eax, dword [edx - 0xc]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0040ff3c
add esp, 0x84
ret
Function at 0x408e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41dba8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x426ae4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
sub eax, 0x10
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
cmp dword [eax + 0xc], 1
mov byte [esp + 0x17], 0
jle 0x408ecc
mov eax, dword [eax + 4]
push eax
call fcn.00402eb0
mov esi, dword [esi]
push edi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
push 2
push 0x400
push esi
push 1
call dword [0x41f05c]
cmp eax, edi
je 0x408ff5
mov ebx, dword [0x41f070]
mov ebp, 0x1e
xor esi, esi
mov edi, edi
mov eax, dword [esp + 0x1c]
push esi
push eax
call dword [0x41f058]
mov edi, eax
test edi, edi
je 0x408ff5
mov eax, dword [edi + 0xc]
test eax, eax
je 0x408ff2
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x30]
mov esi, dword [eax + 0x1c]
mov eax, dword [eax + 0x34]
cmp edx, ecx
jne 0x408f7e
cmp ecx, 4
jb 0x408f5a
mov edx, dword [esi]
cmp edx, dword [eax]
jne 0x408f7e
sub ecx, 4
add eax, 4
add esi, 4
cmp ecx, 4
jae 0x408f46
test ecx, ecx
je 0x408f8a
mov dl, byte [eax]
cmp dl, byte [esi]
jne 0x408f7e
cmp ecx, 1
jbe 0x408f8a
mov dl, byte [eax + 1]
cmp dl, byte [esi + 1]
jne 0x408f7e
cmp ecx, 2
jbe 0x408f8a
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
je 0x408f8a
push edi
dec ebp
mov esi, edi
call ebx
test ebp, ebp
jg 0x408f10
jmp 0x408ff5
mov edx, dword [0x42820c]
mov eax, dword [edx + 0xc]
mov ecx, 0x42820c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x3c], 0
call fcn.00408270
add esp, 4
lea esi, [esp + 0x18]
call fcn.00408ce0
test al, al
je 0x408fca
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408ff2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call ebx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x409006
push 0
push eax
call dword [0x41f074]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x409015
push eax
call dword [0x41f06c]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x40a220
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x41dd78
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
mov eax, dword [0x426ae4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0x10]
mov dword [esp + 0x58], ebx
call fcn.00408990
lea eax, [esp + 0x60]
push eax
mov ecx, esi
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x64], 1
call fcn.004068e0
push 0x38
lea eax, [esp + 0x28]
push ebx
push eax
mov byte [esp + 0x70], 2
call fcn.00410a20
mov eax, dword [esp + 0x24]
add esp, 0x18
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x40
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp dword [eax - 4], 1
jle 0x40a2b3
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x10]
call fcn.00402eb0
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x41fd24
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 5
mov dword [esp + 0x38], ebx
call dword [0x41f24c]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x58], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a2ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x58], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a323
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov dword [esp + 0x58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a34b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x50
ret
Function at 0x40c400
Capabilities:
Reference cloudflare dns server

Disassembly:
push esi
push 0x41ff78
call dword [0x41f228]
mov esi, eax
test esi, esi
jne 0x40c41c
push 0x8007000e
call fcn.00401110
push esi
call dword [0x41f224]
push eax
push esi
call dword [0x41f218]
mov ecx, dword [esp + 0xc]
push esi
mov dword [ecx], eax
call dword [0x41f234]
xor eax, eax
pop esi
ret 8

Function at 0x40d3e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x41e199
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x426ae4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [0x42820c]
mov edx, dword [eax + 0xc]
mov ecx, 0x42820c
mov dword [esp + 0x28], ebx
call edx
mov ecx, dword [esp + 0x30]
add eax, 0x10
mov dword [ecx], eax
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
sub eax, 0x10
mov edi, 1
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], edi
call fcn.00402a50
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], esi
cmp dword [esi - 4], edi
mov dword [esp + 0x28], edi
jle 0x40d469
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00403aa0
mov esi, dword [esp + 0x14]
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
mov ebx, dword [0x41f1f8]
push 0xfde9
call ebx
mov ebp, eax
xor ecx, ecx
lea eax, [ebp + 1]
mov edx, 2
mul edx
seto cl
push 0x428250
neg ecx
or ecx, eax
push ecx
call fcn.00410b3b
mov edi, eax
add esp, 8
test edi, edi
je 0x40d529
lea eax, [ebp + ebp + 2]
push eax
push 0
push edi
call fcn.00410a20
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x40d4d0
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00403aa0
mov esi, dword [esp + 0x14]
push ebp
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
push edi
lea ecx, [esp + 0x20]
call fcn.00408680
mov ebx, dword [esp + 0x30]
push eax
mov ecx, ebx
mov byte [esp + 0x2c], 2
call fcn.00406a90
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d51e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call fcn.00410590
add esp, 4
jmp 0x40d52d
mov ebx, dword [esp + 0x30]
add esi, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d54e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x40dd20
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
cmp dword [ecx], 0
je 0x436150
mov ebx, dword [ecx + 4]
cmp eax, dword [ebx + 0x18]
jne 0x40dd5b
mov ebp, dword [ebx + 0x14]
mov dword [ebp], 1
mov dword [ebp + 4], edx
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 8]
pop ecx
pop ebp
pop ebx
ret
add esp, 0xfffffff0
mov ecx, ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040dd80
add esp, 0xc
pop ebp
pop ebx
ret
push dword [ecx + 8]
push edx
push 1
push eax
call fcn.00425916
add esp, 0x14
pop ebp
pop ebx
ret
Function at 0x413d50
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
push ebp
mov ebx, edx
cmp dword [ecx], 0
je 0x436370
mov ebp, dword [ecx + 4]
push ebx
push eax
push dword [ebp + 0x1c]
mov esi, dword [ebp + 0x14]
call fcn.00421410
add esp, 0xc
mov dword [esi], 2
mov dword [esi + 4], ebx
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 8]
pop ebp
pop ebx
pop esi
ret
push dword [ecx + 0xc]
push ebx
push 1
push eax
call fcn.00425b1b
add esp, 0x10
pop ebp
pop ebx
pop esi
ret
Function at 0x4244d0
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
sub esp, 0x110
xor ebx, ebx
mov eax, dword [0x402670]
lea ebp, [esp + 4]
xor eax, esp
mov dword [ebp + 0x108], eax
mov dword [esp], ebx
push 0x105
push ebx
push ebp
call fcn.00424690
add esp, 0xc
cmp dword [0x434b00], 0
je 0x424651
push 0x434b00
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x403420], 0xffffffff
je 0x42462a
push 0x105
push ebp
push 0x40d4a4
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x42454a
push 0x40d4b0
push 0x105
push ebp
call fcn.00432f54
add esp, 0xc
push 0x40d4bc
push 0x105
push ebp
call fcn.00432f54
add esp, 0xc
lea eax, [esp]
push eax
push ebp
push 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
cmp dword [esp], 0
je 0x42460c
mov ebp, 1
push dword [ebp*8 + 0x403424]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4245d1
mov dword [ebp*8 + 0x403420], eax
inc ebp
cmp ebp, 0x32
jl 0x424579
mov dword [0x403420], 0xffffffff
push 0x434b00
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x10c]
xor ecx, esp
cmp ecx, dword [0x402670]
jne 0x4245cc
mov eax, ebx
add esp, 0x110
pop ebp
pop ebx
ret
call fcn.0042ac06
mov eax, dword [ebp*8 + 0x403420]
test eax, eax
je 0x4245f0
cmp eax, ebp
jge 0x424595
mov eax, dword [eax*8 + 0x403420]
mov dword [ebp*8 + 0x403420], eax
jmp 0x424595
mov eax, dword [0x403428]
test eax, eax
je 0x424595
push dword [ebp*8 + 0x403424]
push 0x40d4e0
call eax
add esp, 8
jmp 0x424595
push ebx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [esp], eax
test eax, eax
jne 0x424574
mov ebx, 0xffffffff
jmp 0x42459b
push 0x434b00
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x10c]
xor ecx, esp
cmp ecx, dword [0x402670]
jne 0x4245cc
xor eax, eax
add esp, 0x110
pop ebp
pop ebx
ret
push 0x434b00
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x42450a
Function at 0x42d338
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x402670]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0042a8ec
mov dword [ebp - 0x14], eax
cmp dword [0x434178], esi
jne 0x42d42b
push 0x800
push esi
push 0x409788
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x42d3b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42d50b
push esi
push esi
push 0x409788
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x42d50b
push 0x4097a0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42d50b
push eax
call ebx
push 0x4097ac
push edi
mov dword [0x434178], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4097bc
push edi
mov dword [0x43417c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4097d0
push edi
mov dword [0x434180], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x434188], eax
test eax, eax
je 0x42d428
push 0x4097ec
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x434184], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42d450
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42d443
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x42d465
push 4
pop eax
jmp 0x42d50d
cmp dword [ebp - 0x14], esi
je 0x42d465
push dword [0x434178]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42d44a
mov eax, dword [0x434184]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x42d4c3
cmp dword [0x434188], edi
je 0x42d4c3
push eax
call ebx
push dword [0x434188]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42d4c3
test eax, eax
je 0x42d4c3
call ecx
test eax, eax
je 0x42d4b8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42d4b8
test byte [ebp - 8], 1
jne 0x42d4c3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x42d4f3
mov eax, dword [0x43417c]
cmp eax, edi
je 0x42d4f0
push eax
call ebx
test eax, eax
je 0x42d4f0
call eax
mov esi, eax
test esi, esi
je 0x42d4f0
mov eax, dword [0x434180]
cmp eax, edi
je 0x42d4f0
push eax
call ebx
test eax, eax
je 0x42d4f0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x434178]
call ebx
test eax, eax
je 0x42d50b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x42d50d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ac06
mov esp, ebp
pop ebp
ret
Function at 0x1023085
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push 2
push edi
push edi
push edi
push 0x1002698
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x102310c
push dword [ebp + 0xc]
push 0x1002670
push edi
push dword [ebp - 4]
call fcn.01024cf0
mov esi, eax
cmp esi, edi
jl 0x1023101
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
push 1
push edi
push 0x1002688
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
jne 0x10230f3
xor esi, esi
jmp 0x1023101
jle 0x10230ff
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x102311a
jle 0x1023118
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x100443c7
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0x2be24
jmp 0x10044438
push eax
push ecx
call 0x1004424c
push es
mov word [esp + 1], bp
push dword [esp + 2]
jmp 0x10044450
call fcn.100443e5
mov word [esp + 0xa], si
jmp 0x10044344
mov dword [esp + 0xc], edx
call fcn.1004432e
mov byte [esp], ch
lea esp, [esp + 2]
mov dword [esp + 0xc], esp
pushfd
mov dword [esp], ebp
jmp 0x10044386
jmp 0x100443b9
lea esp, [esp + 2]
lea esp, [esp + 2]
mov dword [esp + 8], ebp
pushfd
push word [esp]
jl 0x10044370
lea esp, [esp + 2]
mov dword [esp + 8], esi
jmp 0x100443c1
lea esp, [esp + 2]
mov dword [esp + 8], esi
call 0x100443c7
fdiv st(7), st(0)
je 0x100443ee
add dword [ebp - 0x2a], edi
mov word [esp + 3], dx
mov word [esp + 1], cx
mov word [esp + 4], si
jmp 0x10044428
or byte [ecx + 0x66fffffe], 0x89
je 0x1004441b
or cl, byte [ecx - 0x16f3dbac]
inc edi
push dword [esp + 4]
mov dword [esp + 0x10], edi
lea esp, [esp + 0x10]
jmp 0x10044432
add esp, dword [esi - 0x77]
dec esp
and al, 1
mov word [esp + 4], si
jmp 0x10044401
push dword [esp + 4]
mov dword [esp + 0x10], edi
jmp 0x10044409
pushfd
jmp 0x100440ed
lea ebp, [ecx*4]
neg cx
jge 0x100444a1
jl 0x10044472
fcomp qword [eax - 0x32]
test eax, 0x2435df58
push edi
mov esi, 0xfe21840f
invalid
je 0x10044277
jne 0x10044277
neg ebp
jge 0x1004447e
lea eax, [ebp - 0xc607]
rcl edx, 3
jmp 0x100444c9
neg di
lea ecx, [ebp*4]
jmp 0x100444ab
lea eax, [ebp - 0xc607]
rcl edx, 3
jmp 0x100444c9
neg dh
sub esp, 0xc0
jmp 0x10044530
neg di
lea ecx, [ebp*4]
mov esi, dword [esp + 0x2c]
mov ah, ch
jmp 0x1004445c
neg dh
jmp 0x1004448b
lea ebp, [esp]
mov di, bp
neg dx
js 0x10044489
jns 0x100444b3
pop ebp
invalid
mov edi, esp
mov eax, dword [esp]
push dx
mov cl, 0xc3
lea esp, [esp + 2]
jmp 0x10044514

Function at 0x10058792
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x100587d7
mov byte [esp + 5], bl
lea esp, [esp + 3]
lea edi, [edi + 0x2d]
call fcn.10058794
mov esi, ecx
jmp 0x10058824