joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a420
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x57cb6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x30]
mov eax, 1
mov dword [esi], 0x5d0324
mov byte [esi + 4], al
mov dword [esp + 0x28], 0
mov dword [esi], 0x5d0334
mov dword [esp + 0x28], eax
push section..text
push 0x40a510
push 0x18
push 0xc
lea eax, [esi + 0x10]
push eax
mov dword [esi], 0x5d0350
call fcn.00574ef7
mov byte [esp + 0x28], 2
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xc], ecx
push 0x5d0304
lea ecx, [esp + 8]
call dword [0x58e220]
mov byte [esp + 0x28], 3
mov edx, dword [0x619c48]
mov eax, dword [edx + 0x5c]
mov ecx, 0x619c48
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 4]
push ecx
mov ecx, eax
call edx
mov dword [esi + 8], eax
mov byte [esp + 0x28], 2
lea ecx, [esp + 4]
call dword [0x58e21c]
mov dword [esp + 0x28], 0xffffffff
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x42035c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5872d8
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov esi, ecx
test dword [esi + 0x11c], 0x1000
push edi
mov edi, esi
je 0x420372
mov esi, eax
jmp 0x420374
mov edi, eax
mov eax, dword [edi + 0x5c]
mov eax, dword [eax]
push eax
call fcn.005604a8
fstp dword [esp + 0xc]
mov edx, dword [edi]
mov eax, dword [edx + 0x70]
add esp, 4
mov ecx, edi
call eax
fstp dword [esp + 0x44]
mov edi, dword [esp + 0x48]
lea ecx, [esp + 0x24]
push ecx
call fcn.0040a280
mov dword [esp + 0x38], 0
fld dword [esp + 0x44]
push ecx
lea edx, [esp + 0x1c]
fstp dword [esp]
push edx
mov ecx, eax
call fcn.0040a170
mov byte [esp + 0x38], 1
fld dword [esp + 0x4c]
fdiv dword [esp + 8]
push ecx
lea ecx, [esp + 0x10]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp dword [esp]
push ecx
mov ecx, eax
call fcn.0040a170
mov byte [esp + 0x38], 3
mov edi, 0x5cf904
mov dword [esp + 0x18], edi
mov byte [esp + 0x38], 4
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x28], edi
call edx
push 0x5d08c8
push esi
call fcn.004bfb00
test al, al
je 0x420472
push esi
call fcn.004bfba0
test eax, eax
jne 0x420428
fldz
fstp dword [esp + 0x44]
jmp 0x420436
push eax
call dword [0x58e3f0]
fstp dword [esp + 0x48]
add esp, 4
fld dword [esp + 0x10]
push ecx
fld dword [esp + 0x18]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fstp dword [esp]
call fcn.00401df0
fld dword [esp + 0x48]
add esp, 4
fcompp
fnstsw ax
test ah, 0x41
jp 0x420472
mov eax, dword [esp + 0x40]
push esi
push eax
call fcn.004204a0
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret 0x10
Function at 0x433d00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57c752
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
fldz
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov dword [edi], 0x5d1370
fst dword [edi + 0xc]
mov ecx, 0x5cf904
fst dword [edi + 0x10]
mov dword [edi + 8], ecx
xor edx, edx
mov dword [esp + 0x20], edx
fst dword [edi + 0x18]
fst dword [edi + 0x1c]
mov dword [edi + 0x14], ecx
mov byte [esp + 0x20], 1
fst dword [edi + 0x34]
fst dword [edi + 0x38]
mov dword [edi + 0x30], ecx
mov byte [esp + 0x20], 2
fst dword [edi + 0x40]
fst dword [edi + 0x44]
mov dword [edi + 0x3c], ecx
mov byte [esp + 0x20], 3
fst dword [edi + 0x4c]
fstp dword [edi + 0x50]
mov dword [edi + 0x48], ecx
mov byte [esp + 0x20], 4
lea ebx, [edi + 0x60]
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
mov byte [esp + 0x20], 5
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
fld dword [eax + 0xc]
fstp dword [edi + 0xc]
xor ebp, ebp
fld dword [eax + 0x10]
fstp dword [edi + 0x10]
fld dword [eax + 0x18]
fstp dword [edi + 0x18]
fld dword [eax + 0x1c]
fstp dword [edi + 0x1c]
mov ecx, dword [eax + 0x20]
mov dword [edi + 0x20], ecx
fld dword [eax + 0x24]
fstp dword [edi + 0x24]
mov ecx, dword [eax + 0x28]
mov dword [edi + 0x28], ecx
mov cl, byte [eax + 0x2c]
mov byte [edi + 0x2c], cl
fld dword [eax + 0x34]
fstp dword [edi + 0x34]
fld dword [eax + 0x38]
fstp dword [edi + 0x38]
fld dword [eax + 0x40]
fstp dword [edi + 0x40]
fld dword [eax + 0x44]
fstp dword [edi + 0x44]
fld dword [eax + 0x4c]
fstp dword [edi + 0x4c]
fld dword [eax + 0x50]
fstp dword [edi + 0x50]
fld dword [eax + 0x54]
fstp dword [edi + 0x54]
fld dword [eax + 0x58]
fstp dword [edi + 0x58]
fld dword [eax + 0x5c]
fstp dword [edi + 0x5c]
mov esi, dword [edi + 0x28]
mov ecx, dword [esi + 0x38]
cmp ecx, edx
jne 0x433e05
xor eax, eax
jmp 0x433e0d
mov eax, dword [esi + 0x3c]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jge 0x433eb0
cmp ecx, edx
je 0x433e25
mov eax, dword [esi + 0x3c]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x433e2b
call dword [0x58e3e0]
mov eax, dword [edi + 0x28]
mov edx, dword [esi + 0x38]
mov esi, dword [edx + ebp*4]
add eax, 4
push eax
call fcn.004552b0
test al, al
je 0x433ea6
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov ecx, dword [ebx + 4]
test ecx, ecx
mov dword [esp + 0x2c], eax
jne 0x433e59
xor esi, esi
jmp 0x433e61
mov esi, dword [ebx + 8]
sub esi, ecx
sar esi, 2
test ecx, ecx
je 0x433e86
mov edx, dword [ebx + 0xc]
sub edx, ecx
sar edx, 2
cmp esi, edx
jae 0x433e86
mov ecx, dword [ebx + 8]
mov dword [ecx], eax
add ecx, 4
add ebp, 1
mov dword [ebx + 8], ecx
xor edx, edx
jmp 0x433df7
mov esi, dword [ebx + 8]
cmp ecx, esi
jbe 0x433e93
call dword [0x58e3e0]
push esi
push ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov eax, ebx
call fcn.0045a370
add ebp, 1
xor edx, edx
jmp 0x433df7
mov dword [esp + 0x20], 0xffffffff
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 8
Function at 0x43eff0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58a6d8
push eax
mov dword fs:[0], esp
mov eax, dword [esi + 0x194]
sub esp, 0x50
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
je 0x43f237
cmp byte [esi + 0x188], bl
jne 0x43f237
lea ecx, [eax + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esi + 0x194]
cmp byte [ecx + 0xa4], bl
jne 0x43f069
cmp al, bl
je 0x43f237
cmp ecx, ebx
je 0x43f052
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x194], ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop edi
pop ebx
add esp, 0x5c
ret
mov edx, dword [esi]
xor eax, eax
cmp byte [esi + 0x190], bl
mov ecx, esi
sete al
lea eax, [eax + eax - 1]
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov eax, dword [edx + 0x88]
fstp dword [esp + 0x14]
call eax
mov ecx, dword [esi + 0x15c]
fstp dword [esp + 0xc]
fld dword [esi + 0x18c]
fmul dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [ecx + 0x200]
fstp dword [esp + 0x10]
call fcn.00404bf0
fld dword [eax + 0x2c]
fstp dword [esp + 0x18]
fld dword [esp + 0x10]
fmul dword [esp + 0x14]
fmul dword [esp + 0x18]
fadd dword [esp + 8]
fstp dword [esp + 8]
fld dword [esp + 8]
fdiv dword [esp + 0xc]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esi + 0x18c]
fldz
fcomp st(1)
fnstsw ax
test ah, 1
je 0x43f1f0
fld1
fcompp
fnstsw ax
test ah, 0x41
jnp 0x43f1f2
mov eax, esi
call fcn.0043ed30
mov edx, dword [eax + 8]
lea ecx, [eax + 8]
mov eax, dword [edx + 0xc]
call eax
fld dword [eax + 4]
fstp dword [esp + 0x20]
mov edi, 0x5cf904
fld dword [eax + 8]
mov dword [esp + 0x1c], edi
fstp dword [esp + 0x24]
mov dword [esp + 0x60], ebx
mov eax, esi
call fcn.0043ed50
mov edx, dword [eax + 8]
lea ecx, [eax + 8]
mov eax, dword [edx + 0xc]
call eax
fld dword [eax + 4]
fstp dword [esp + 0x2c]
mov dword [esp + 0x28], edi
fld dword [eax + 8]
fstp dword [esp + 0x30]
mov byte [esp + 0x60], 1
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x2c]
call fcn.0040a100
mov byte [esp + 0x60], 2
fld dword [esi + 0x18c]
push ecx
lea edx, [esp + 0x44]
fstp dword [esp]
push edx
mov ecx, eax
call fcn.0040a170
mov byte [esp + 0x60], 3
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
lea edx, [esp + 0x20]
call fcn.0040a090
mov byte [esp + 0x60], 5
mov dword [esp + 0x40], edi
mov byte [esp + 0x60], 6
mov ecx, dword [esi + 0x194]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x50], edi
call edx
mov byte [esp + 0x60], 1
mov dword [esp + 0x34], edi
mov byte [esp + 0x60], bl
mov dword [esp + 0x28], edi
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop edi
pop ebx
add esp, 0x5c
ret
fstp st(0)
cmp byte [esi + 0x190], bl
mov eax, esi
je 0x43f20e
call fcn.0043ed30
mov cl, 1
mov edi, eax
call fcn.0043cec0
fldz
jmp 0x43f21e
call fcn.0043ed50
mov cl, 1
mov edi, eax
call fcn.0043cec0
fld1
mov eax, dword [esi + 0x194]
fstp dword [esi + 0x18c]
mov byte [eax + 0xa4], bl
mov byte [esi + 0x188], 1
mov ecx, dword [esp + 0x58]
pop edi
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret
Function at 0x43f770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x579b3a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
xor ebx, ebx
lea eax, [esp + 0xc]
mov dword [esp + 4], ebx
mov ecx, dword [esi + 0x15c]
push eax
push ecx
call fcn.0043e350
mov dword [esp + 0x30], ebx
cmp dword [eax + 0x14], ebx
mov dword [esp + 4], 1
jbe 0x43f7d0
mov edx, dword [esi + 0x15c]
fld dword [edx + 0x200]
fstp dword [esp + 8]
fldz
fcomp dword [esp + 8]
fnstsw ax
test ah, 5
jp 0x43f7d0
mov bl, 1
mov dword [esp + 0x30], 0xffffffff
mov eax, 1
mov dword [esp + 4], eax
and eax, 0xfffffffe
lea ecx, [esp + 0xc]
mov dword [esp + 4], eax
call dword [0x58e21c]
mov ecx, dword [esp + 0x28]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x43f820
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57c5e0
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
mov edx, 1
mov dword [eax], 0x5d0324
mov byte [eax + 4], dl
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [eax], 0x5d0334
mov dword [esp + 8], edx
fld dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
fstp dword [eax + 0xc]
fld dword [esp + 0x20]
mov dword [eax + 8], edx
mov dl, byte [esp + 0x24]
fstp dword [eax + 0x10]
fld dword [esp + 0x18]
mov byte [eax + 0x1c], dl
mov edx, dword [esp + 0x28]
fstp dword [eax + 0x14]
fld dword [0x5ec678]
mov dword [eax + 0x18], edx
or edx, 0xffffffff
fst dword [eax + 0x38]
fstp dword [eax + 0x34]
mov dword [eax], 0x5d1950
mov dword [eax + 0x24], ecx
mov byte [eax + 0x28], cl
mov byte [eax + 0x29], cl
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], edx
mov dword [eax + 0x20], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 0x1c

Function at 0x443100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57c629
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x619c48]
mov edx, dword [eax + 0x5c]
push ebx
push esi
push edi
mov ecx, 0x619c48
call edx
push 0x5d05e0
lea ecx, [esp + 0x10]
mov edi, eax
call dword [0x58e220]
mov dword [esp + 0x30], 0
mov eax, dword [0x619c48]
mov edx, dword [eax + 0x68]
mov ecx, 0x619c48
call edx
mov ebx, eax
mov eax, dword [edi]
mov esi, dword [ebx]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
add esi, 0xc
call edx
push eax
mov eax, dword [esi]
mov ecx, ebx
call eax
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call dword [0x58e21c]
fld1
push ecx
fstp dword [esp]
push 0
push 0x5d1b1c
call fcn.00480740
mov ecx, dword [esp + 0x34]
add esp, 0xc
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x443890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x588e0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [esp + 0x34]
push edi
push 0x5cfa37
lea ecx, [esp + 0x10]
call dword [0x58e220]
mov dword [esp + 0x30], 0
fld dword [esp + 0x3c]
push ecx
fstp dword [esp]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00480290
mov byte [esp + 0x30], 2
lea ecx, [esp + 0xc]
call dword [0x58e21c]
fldz
mov dword [esi], 0x5d1cc4
mov dword [esi + 0x2c], 0x5d1d24
fst dword [esi + 0x7c]
mov eax, 0x5cf904
fst dword [esi + 0x80]
mov dword [esi + 0x78], eax
mov byte [esp + 0x30], 3
fst dword [esi + 0x88]
fstp dword [esi + 0x8c]
mov dword [esi + 0x84], eax
mov byte [esp + 0x30], 4
push 0x5cfd64
lea ecx, [esp + 0x10]
call dword [0x58e220]
mov byte [esp + 0x30], 5
mov ecx, dword [0x619870]
push eax
call fcn.00455dd0
mov dword [esi + 0x70], eax
mov byte [esp + 0x30], 4
lea ecx, [esp + 0xc]
call dword [0x58e21c]
mov eax, dword [esi + 0x70]
mov ebx, 1
add eax, 8
mov dword [eax + 0x18], esi
mov byte [eax + 0x28], bl
push 0x14
mov byte [esi + 0x74], bl
mov byte [esi + 0x75], bl
mov byte [esi + 0x76], 0
mov byte [esi + 0x54], bl
call fcn.00574f62
add esp, 4
mov dword [esp + 0x3c], eax
mov byte [esp + 0x30], 6
test eax, eax
je 0x4439ab
fld dword [0x5ec988]
sub esp, 0xc
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
push eax
call fcn.004c4be0
mov edi, eax
jmp 0x4439ad
xor edi, edi
mov byte [esp + 0x30], 4
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x4439c0
mov edx, dword [ecx]
mov eax, dword [edx]
push ebx
call eax
mov dword [esi + 0x68], edi
mov dword [esi + 0x90], 0
call fcn.00404bf0
mov edx, dword [0x619c48]
mov eax, dword [edx + 0x1c]
mov ecx, 0x619c48
call eax
fstp dword [esi + 0x94]
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 8

Function at 0x445b80
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
fld dword [esp + 0x10]
push 0xffffffffffffffff
push 0x579928
push eax
mov dword fs:[0], esp
mov eax, dword [edi + 0x20]
push esi
mov esi, dword [esp + 0x14]
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x28]
fstp dword [esp + 4]
fld dword [esp + 0x24]
fstp dword [esp]
push eax
push esi
call fcn.00448010
xor eax, eax
mov dword [esp + 0xc], eax
fld dword [esp + 0x24]
fstp dword [esi + 0x30]
mov dword [esi], 0x5d1dcc
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], eax
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x14
Function at 0x4482f0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57972f
push eax
mov al, byte [esp + 0x20]
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov dword [esi], 0x5d0324
mov byte [esi + 4], al
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 8], 0x5d1ddc
mov byte [esp + 0x14], 1
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esi], 0x5d1f58
mov dword [esi + 8], 0x5d1f68
call dword [0x58e244]
mov byte [esp + 0x14], 2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esi + 0xc], ecx
push edx
mov ecx, edi
call dword [0x58e23c]
fld dword [0x5ec678]
mov al, byte [esp + 0x28]
fst dword [esi + 0x30]
mov cl, byte [esp + 0x30]
fstp dword [esi + 0x34]
mov byte [esi + 0x2c], 1
mov byte [esi + 0x38], bl
mov byte [esi + 0x39], bl
mov byte [esi + 0x3a], bl
mov byte [esi + 0x3b], bl
mov byte [esi + 0x3c], al
mov byte [esi + 0x3d], cl
mov dword [esi + 0x40], ebx
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x18

Function at 0x4499b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58683a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, dword [esp + 0x38]
push 0x5cfa37
lea ecx, [esp + 0x10]
call dword [0x58e220]
mov dword [esp + 0x30], 0
call fcn.00404bf0
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
fld dword [eax + 0x50]
fstp dword [esp + 8]
push ecx
fld dword [esp + 0xc]
lea eax, [esp + 0x10]
fsub qword [0x5ec640]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp]
push eax
push esi
call fcn.00480290
mov byte [esp + 0x30], 2
lea ecx, [esp + 0xc]
call dword [0x58e21c]
cmp dword [0x619868], 0
mov dword [esi], 0x5d215c
mov dword [esi + 0x2c], 0x5d21bc
mov byte [esi + 0x70], 1
jne 0x449a8a
push 0x5d1ffc
lea ecx, [esp + 0x10]
call dword [0x58e220]
mov byte [esp + 0x30], 3
mov edx, dword [0x619c48]
mov eax, dword [edx + 0x5c]
mov ecx, 0x619c48
call eax
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call edx
mov dword [0x619868], eax
mov byte [esp + 0x30], 2
lea ecx, [esp + 0xc]
call dword [0x58e21c]
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x74], eax
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x28]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x30
ret 8
Function at 0x401000
Capabilities:
Query environment variable
Query or enumerate registry value
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0x800
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareData_Access_WorldwideDataFlex18.2Defaults
push 0x80000002
call dword cs:[sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4010b1
lea eax, [ebp - 8]
push eax
push 0x7b50c9
push 0
push 0
push str.VdfRootDir
push dword [ebp - 4]
call dword cs:[sym.imp.advapi32.dll_RegQueryValueExA]
push eax
push dword [ebp - 4]
call dword cs:[sym.imp.advapi32.dll_RegCloseKey]
pop eax
test eax, eax
jne 0x4010b1
push str.Bin_
push 0x7b50c9
call dword cs:[sym.imp.msvcrt.dll_strcat]
add esp, 8
push 0x7b50c9
call dword cs:[sym.imp.msvcrt.dll_strlen]
add esp, 4
mov dword [ebp - 8], eax
push ecx
push 0x800
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0x7b50c9]
push eax
push str.PATH
call dword cs:[sym.imp.kernel32.dll_GetEnvironmentVariableA]
pop ecx
push 0x7b50c9
push str.PATH
call dword cs:[sym.imp.kernel32.dll_SetEnvironmentVariableA]
push str.vdfvm18.dll
call dword cs:[sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4010fd
push str._FlexRunProgramEx_4
push dword [ebp - 0xc]
call dword cs:[sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4010e3
push str.Orders18__07_08_2019_19:00:18__c__Power_Brakes_SA_Pty_Ltd
call dword cs:[ebp - 0x10]
push dword [ebp - 0xc]
call dword cs:[sym.imp.kernel32.dll_FreeLibrary]
test dword [ebp - 0x10], 0xffffffff
je 0x4010fd
mov eax, 0
jmp 0x401114
push 0x10
push 0
push str.Unable_to_locate_a_compatible_version_of_vdfvm18.dll__version_18.2__or_one_of_its_components.
push 0
call dword cs:[sym.imp.user32.dll_MessageBoxA]
mov eax, 1
push eax
call dword cs:[sym.imp.msvcrt.dll_exit]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41a7a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
jmp 0x41a7ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41a7c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41a7b0
mov eax, 1
add ebx, ebx
jne 0x41a7d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41a7c8
jne 0x41a7e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a7c8
xor ecx, ecx
sub eax, 3
jb 0x41a7f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41a86a
mov ebp, eax
add ebx, ebx
jne 0x41a803
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41a810
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41a834
inc ecx
add ebx, ebx
jne 0x41a820
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41a815
jne 0x41a831
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a815
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41a854
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41a845
jmp 0x41a7b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41a854
add edi, ecx
jmp 0x41a7b6
pop esi
mov edi, esi
mov ecx, 0x641
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41a872
cmp byte [edi], 0xb
jne 0x41a872
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 0x41a877
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x41a8ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1adc0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1aed8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41a8a4
mov ecx, edi
jns 0x41a8d3
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 + 0x1aedc]
or eax, eax
je 0x41a8e9
mov dword [ebx], eax
add ebx, 4
jmp 0x41a8c1
call dword [esi + 0x1aeec]
mov ebp, dword [esi + 0x1aee0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x41a923
sub esp, 0xffffff80
jmp 0x40fd88
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3

Function at 0x401ee5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4061a0
cmp edx, dword [eax]
je 0x401f07
add eax, 8
inc ecx
cmp eax, 0x406230
jl 0x401ef8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4061a0]
jne 0x402035
mov eax, dword [0x40655c]
cmp eax, 1
je 0x40200f
test eax, eax
jne 0x401f38
cmp dword [0x4060f4], 1
je 0x40200f
cmp edx, 0xfc
je 0x402035
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401f6f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004025a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402710
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x401fb2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402710
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053e0
push edi
call fcn.00403ab0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004025a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004025b0
lea eax, [ebp - 0xa0]
push 0x4053c0
push eax
call fcn.004025b0
push dword [esi + 0x4061a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004025b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403a21
add esp, 0x2c
pop edi
jmp 0x402035
lea eax, [ebp + 8]
lea esi, [esi + 0x4061a4]
push 0
push eax
push dword [esi]
call fcn.00402710
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret