joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419b00
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret

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

Disassembly:
not edx
not edx
mov eax, 0
cld
clc
nop
cld
not ebp
not ebp
cld
dec esp
inc esp
cld
push eax
nop
sahf
wait
mov ch, ch
not dh
not dh
imul eax, eax, 0x10
stc
xchg dword [esp], eax
jmp 0x4295b6
add al, dl
lea edx, [edx + ebx]
sub cl, 0x31
push dword [edx + 0x20]
pop esi
lea esi, [ebx + esi]
jmp 0x42972c
cmp dh, 0x94
add esi, ebx
clc
ret 4
sahf
cmc
sub dword [esp], eax
cld
movzx eax, byte [edi]
sub edi, 0xffffffff
jmp 0x4297b3
mov edi, dword [edx + 0x1c]
cmp eax, 0xffffffa2
not eax
adc eax, 0xe68ae329
mov eax, 0x334a8761
cmp ah, 2
mov esi, dword [edx + 0x24]
dec dh
cld
add esi, ebx
xchg edx, edx
movzx eax, word [esi + ecx*2]
jmp 0x429671
mov dl, dh
add edi, ebx
mov esi, dword [edi + eax*4]
jmp 0x4295ad
lea ecx, [ecx]
not esi
not esi
not bl
not bl
jne 0x4250d3
xchg edx, edx
xchg edx, edx
lea ecx, [ecx]
xor eax, 0x69521502
jmp 0x4298e8
ret
push dword [ebx + 0x3c]
mov edx, ecx
cmp cl, 0xb8
xchg ecx, edi
xchg ecx, esi
nop
lahf
cld
sbb al, bl
pop eax
mov edi, ecx
mov edx, dword [eax + ebx + 0x78]
jmp 0x4294cc
add ecx, 1
cmp edi, 0xffffffa9
lodsd eax, dword [esi]
jmp 0x42979e
push 0xffffffffffffffff
xchg ah, al
cmp ah, dl
xchg edi, edi
not al
mov edi, esi
and al, dh
pop ecx
jmp 0x429720
lea edi, [eax + ebx]
xchg edx, ebp
xchg edx, ebp
cmp ecx, dword [edx + 0x18]
je 0x429700
jmp 0x4250be
sub dword [esp], eax
pop eax
test byte [edi], 0xff
jmp 0x429697
nop
sub eax, dword [esp + 4]
jne 0x429720
jmp 0x429617
Function at 0x40226a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0
mov eax, 0x4021d6
sub eax, 0x401cf5
mov dword [ebp - 4], eax
push 8
push 0x408008
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406350
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0x401cf5
lea eax, [ebp - 0x104]
push eax
call fcn.00406464
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406890
add esp, 0xc
call fcn.00401d3d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x406464
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x40648a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x10]
jge 0x40654c
mov edx, dword [ebp - 0xc]
add edx, 1
and edx, 0x800000ff
jns 0x4064ac
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, ecx
and edx, 0x800000ff
jns 0x4064ce
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov al, byte [ebp - 4]
mov byte [edx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x40651d
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov byte [ecx], dl
jmp 0x406481
mov esp, ebp
pop ebp
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x419b00
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
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 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a
Function at 0x44d390
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x44d3ae
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x44d3a3
pop esi
ret

Function at 0x44d3b0
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 0x44d41a
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 0x44d3ea
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x44d436
push ecx
push esi
call fcn.0044e2c0
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 0x44d4a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x44d532
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x44d524
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x44d51c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x44d4e5
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x480428
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebx, dword [esp + 0x24]
mov ecx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, ecx
mov edi, dword [ebx + 0x20]
add edi, ecx
xor esi, esi
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
xor eax, eax
rol eax, 7
xor al, byte [edx]
inc edx
cmp byte [edx], 0
jne 0x480447
cmp eax, dword [esp + 0x28]
je 0x48045e
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x48043e
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
mov dword [esp + 0x1c], edx
popal
ret 8
Function at 0x4026f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4371c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x34]
sub esp, 8
mov eax, esp
mov bl, 2
mov byte [esp + 0x28], bl
mov dword [esp + 0x1c], esp
mov dword [eax + 4], ecx
lea ecx, [esp + 0x34]
mov dword [eax], 0x43b780
call fcn.0040edf0
mov edx, dword [eax]
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call dword [edx + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.00421930
lea ecx, [esp + 0x30]
call fcn.0041d370
lea ecx, [esp + 0x10]
call fcn.0041f6b0
test al, al
je 0x4028b5
mov edi, dword [esp + 0x28]
push 5
mov ecx, edi
call fcn.00431d07
lea edx, [esp + 0x28]
push edx
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x80000000
push str.caption
call fcn.004239f0
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x1c]
push eax
call fcn.00420770
mov ecx, eax
mov byte [esp + 0x24], 3
call fcn.0041f3a0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00421930
lea ecx, [esp + 0x28]
call fcn.0041dc60
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], bl
call fcn.0041d370
lea ecx, [esp + 0xc]
call fcn.0041d3b0
cmp al, 0x28
jne 0x402807
push ecx
lea ecx, [esp + 0x10]
mov edx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0041eaf0
mov ecx, edi
call fcn.0040f500
lea eax, [esp + 0x28]
push eax
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x80000000
push 0x446224
call fcn.004239f0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00420770
mov ecx, eax
mov byte [esp + 0x24], 4
call fcn.0041f3a0
lea edx, [esp + 0x28]
lea ecx, [esp + 0xc]
push edx
call fcn.00421930
lea ecx, [esp + 0x28]
call fcn.0041dc60
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], bl
call fcn.0041d370
add esi, 0x660
push 0
push edi
mov ecx, esi
call fcn.0042dd57
lea ecx, [esp + 0xc]
call fcn.0041d3b0
cmp al, 0x28
jne 0x4028d0
lea eax, [esp + 0x28]
lea ecx, [esp + 0xc]
push eax
call fcn.0041eaf0
push 0
push 0
mov ecx, eax
mov byte [esp + 0x28], 5
call fcn.00422b90
push eax
push edi
mov ecx, esi
call fcn.0042dd09
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], bl
call fcn.00422980
jmp 0x4028d0
mov edi, dword [esp + 0x28]
push 0
mov ecx, edi
call fcn.00431d07
push 0
push edi
lea ecx, [esi + 0x660]
call fcn.0042dd57
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.0041dc60
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.0041d370
lea ecx, [esp + 0x2c]
call fcn.0041d2c0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x10
Function at 0x407790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x437af8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov ecx, dword [0x44ecc0]
mov dword [esp + 0xc], 0
push 0xfffffc13
mov dword [esp + 0x2c], 0
mov eax, dword [ecx]
call dword [eax]
mov ecx, eax
test ecx, ecx
mov dword [esp + 0xc], ecx
je 0x4077df
mov edx, dword [ecx]
push 2
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
push 0
push 0
lea edx, [esp + 0xc]
push str.__user_._Software_sclMed_medAdmin_Installation_
push edx
mov byte [esp + 0x38], 1
call dword [eax + 8]
push 0
lea eax, [esp + 0x18]
push str.val__nameredist_
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call fcn.004216a0
mov dword [esp + 8], 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call fcn.0041d3e0
test al, al
lea ecx, [esp + 0x30]
jne 0x40783b
push ecx
lea ecx, [esp + 0xc]
call fcn.00423280
jmp 0x407885
call fcn.0041d3e0
test al, al
je 0x407885
sub esp, 8
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x20], esp
mov byte [eax + 4], 0x28
mov dword [eax], 0x43b794
call fcn.0041d500
test al, al
jne 0x407885
lea edx, [esp + 0x10]
push 0
push edx
mov ecx, esi
call fcn.00407580
push eax
lea ecx, [esp + 0xc]
call fcn.00423280
lea ecx, [esp + 0x10]
call fcn.00422980
lea ecx, [esp + 8]
call fcn.0041d3e0
test al, al
jne 0x40798c
lea ecx, [esp + 4]
call fcn.00420710
test eax, eax
jle 0x4078c9
lea eax, [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0xc]
call fcn.00420f20
lea ecx, [esp + 0x18]
call fcn.0041d370
lea ecx, [esp + 4]
call fcn.00420710
test eax, eax
jg 0x4078a3
push 0x7ffffffe
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
lea edx, [esp + 0x10]
push 0
push edx
call fcn.0041e1b0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x80000000
push 0x446bf4
call fcn.004239f0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call fcn.00420d60
push ecx
mov byte [esp + 0x2c], 5
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0
push 0x80000000
push str.redist
call fcn.0041dcb0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x80000000
push str.name
call fcn.004239f0
lea ecx, [esp + 0x18]
call fcn.004202e0
push 0
push 1
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0041dc40
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 6
call fcn.0040edf0
mov edx, dword [eax]
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov byte [esp + 0x38], 5
call dword [edx + 0xc]
lea ecx, [esp + 0x18]
call fcn.00423f80
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.0041d370
lea ecx, [esp + 8]
mov byte [esp + 0x28], 3
call fcn.00422980
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.0041dc60
lea ecx, [esp + 4]
mov byte [esp + 0x28], 1
call fcn.0041d370
lea ecx, [esp + 0xc]
call fcn.0041d2c0
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00422980
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x409ef0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4381f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
lea eax, [esp + 4]
mov ecx, 0x44c560
push eax
mov dword [esp + 0x20], 0
call fcn.004079f0
push 0x7ffffffe
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x80000000
push 0x446fb4
mov byte [esp + 0x2c], 1
call fcn.004239f0
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call fcn.00420e50
push 0x7ffffffe
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0
push 0x80000000
push 0x4462f8
mov byte [esp + 0x30], 2
call fcn.0041dcb0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x43bd70
call fcn.00423a20
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
call fcn.00420d60
lea ecx, [esp + 8]
call fcn.0041d370
push 0x7ffffffe
lea eax, [esp + 0x10]
push str.sclMed.mdb
push eax
lea ecx, [esp + 0x30]
call fcn.00422a90
push ecx
mov byte [esp + 0x24], 3
mov ecx, esp
mov dword [esp + 0x18], esp
push 0
push eax
call fcn.0041e1b0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x43bd74
call fcn.00423a20
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.00420d60
lea ecx, [esp + 8]
call fcn.0041d370
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.00422980
push 0x7ffffffe
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0
push 0x80000000
push str.Microsoft.JET.OLEDB.4.0
call fcn.0041dcb0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x43bd78
call fcn.00423a20
lea edx, [esp + 0x18]
lea ecx, [esp + 0xc]
push edx
call fcn.00420d60
lea ecx, [esp + 0xc]
call fcn.0041d370
push 0
mov ecx, 0x44c560
call fcn.00407b90
lea ecx, [esp]
mov byte [esp + 0x1c], 1
call fcn.0041d370
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 0
call fcn.0041d370
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00422980
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x40cae0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x438728
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x20], 0
call fcn.00423230
push 0
mov ecx, esi
call fcn.00423f90
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call fcn.00423680
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x10