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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100bf594]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x1008f908
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10064210
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
test edx, edx
je 0x1008f908
mov ecx, ebx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008f877
sub ecx, esi
mov eax, 0x103
sar ecx, 1
sub eax, ecx
cmp edx, eax
jae 0x1008f908
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x1008f8a0
mov eax, dword [0x100a3f2c]
mov esi, ebx
mov dword [edi], eax
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x1008f8b5
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1008f8d0
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c1b4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1002c1b4
mov esp, ebp
pop ebp
ret
Function at 0x1008f920
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x100bf594]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push edi
push 0x80
push 0
push eax
call fcn.10064210
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.1008ede0
lea ecx, [ebp - 0x188]
mov edi, esi
mov eax, ecx
add esp, 0x18
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1008f98a
mov al, byte [edi + ecx]
test al, al
je 0x1008f98a
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x1008f971
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x104
mov byte [eax], 0
lea eax, [ebp - 0x188]
cmp byte [eax], 0
je 0x1008f9ab
inc eax
sub ecx, 1
jne 0x1008f9a0
mov edx, 0x104
mov edi, ecx
mov eax, edx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x1008fa00
lea ecx, [ebp - 0x188]
lea ecx, [ecx + edi]
sub edx, edi
je 0x1008f9f5
lea edi, [ebp - 0x84]
mov eax, 0x7fffffff
sub edi, ecx
push ebx
nop dword [eax + eax]
test eax, eax
je 0x1008f9f4
mov bl, byte [edi + ecx]
test bl, bl
je 0x1008f9f4
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x1008f9e0
pop ebx
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], 1
push 0
push eax
call fcn.10064210
add esp, 0xc
mov dword [ebp - 0x28c], 0x100
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x100afcdc
push str.SoftwareComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x1008faba
lea eax, [ebp - 0x288]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1008fa84
test cl, cl
je 0x1008fa80
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1008fa84
add eax, 2
add esi, 2
test cl, cl
jne 0x1008fa64
xor eax, eax
jmp 0x1008fa89
sbb eax, eax
or eax, 1
test eax, eax
je 0x1008faba
lea ecx, [ebp - 0x288]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008fa96
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
push 1
push str.mid_old
push str.SoftwareComMaster
push 0x80000002
call edi
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008fac3
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
push 1
push 0x100afcdc
push str.SoftwareComMaster
push 0x80000002
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1002c1b4
mov esp, ebp
pop ebp
ret
Function at 0x1009206b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1002c800
mov eax, dword [0x100bf594]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100737ab
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100920ad
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10092209
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1002cf60
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100c4b20]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1007670f
mov ecx, dword [esi*4 + 0x100c4b20]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x10092202
cmp eax, dword [ecx + edi + 0x24]
jne 0x10092202
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10092202
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1007670f
add esp, 0x14
test edx, edx
jl 0x10092202
jg 0x10092178
test eax, eax
jb 0x10092202
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10092202
jl 0x10092192
cmp dword [ebp - 0x1008], eax
ja 0x10092202
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100921b0
test ebx, ebx
je 0x100921e9
cmp ecx, edi
jae 0x100921e9
mov al, byte [ecx]
cmp al, 0xd
jne 0x100921ca
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100921d6
cmp byte [ecx + 1], 0xa
jne 0x100921d6
inc ecx
jmp 0x100921d6
movzx eax, al
movsx eax, byte [eax + 0x100bfb40]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100921b0
cmp edx, ebx
jne 0x100921b0
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10092207
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1002c1b4
leave
ret
Function at 0x42f89d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
and al, 0x8b
insd dword es:[edi], dx
sub eax, 0xd8afe53
sub al, byte [edx]
rol byte [edi + edx*8 - 0x22], 0xb8
invalid
add edx, ebp
fisub word [edx - 0x6d]
or al, 0xb9
loop 0x42f8e9
das
adc eax, dword [ebx + 0xa442936]
int 0x54
mov ebp, 0xf3918328
fcmovnu st(0), st(4)
mov eax, 0x1a6f548d
and edx, esi
mov fs, eax
add eax, 0xc6570e28
and esi, 0x3de0ea7d
loopne 0x42f8dc
loopne 0x42f8dc
jl 0x42f849
or dword [0x9fdeb360], 0x2113479b
xchg esi, eax
loop 0x42f907
mov ebp, 0xce0aaf09
mov al, 0xbb
sub dh, bl
jge 0x42f872
mov ch, 0x59
push 0x7fe513a1
imul ebp, ebx, 0xffffff88
retf 0xba3e
ljmp 0xd86:0x238ebeb7
aad 0x99
inc dx
inc edx
sub dword [eax - 0x4a589c7f], 0xffffffa7
invalid
push ss
mov ecx, 0x142dd0f4
mov edi, 0xa480936
cmc
inc esp
mov ch, 0xb7
invalid

Function at 0x45d7c9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
fnstenv [eax + ebp*4]
pushal
fst qword [edx*4 + 0x68a05ff9]
pop edi
invalid
invalid
iretd

Function at 0x45d7e1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sbb dword [ecx], eax
pop esp
inc esp
push edx
clc
jg 0x45d7a0
pop es
mov edi, 0x4d65f8ec
dec ebp
test eax, 0x48df0d5
inc eax
invalid

Function at 0x4bc6b9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c53c8
cmp edx, dword [eax]
je 0x4bc6db
add eax, 8
inc ecx
cmp eax, 0x4c5458
jl 0x4bc6cc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c53c8]
jne 0x4bc809
mov eax, dword [0x4cadd0]
cmp eax, 1
je 0x4bc7e3
test eax, eax
jne 0x4bc70c
cmp dword [0x4c52f0], 1
je 0x4bc7e3
cmp edx, 0xfc
je 0x4bc809
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bc743
lea eax, [ebp - 0x1a4]
push 0x4c1a40
push eax
call fcn.004bd0a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bd530
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bc786
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bd530
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1a3c
push edi
call fcn.004bf400
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1a20
push eax
call fcn.004bd0a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bd0b0
lea eax, [ebp - 0xa0]
push 0x4c1a1c
push eax
call fcn.004bd0b0
push dword [esi + 0x4c53cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bd0b0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c19f4
push eax
call fcn.004bf374
add esp, 0x2c
pop edi
jmp 0x4bc809
lea eax, [ebp + 8]
lea esi, [esi + 0x4c53cc]
push 0
push eax
push dword [esi]
call fcn.004bd530
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
Function at 0x513060
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbc000]
push edi
jmp 0x51307a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x513081
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x513070
mov eax, 1
add ebx, ebx
jne 0x513093
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5130a4
jne 0x5130c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5130c3
dec eax
add ebx, ebx
jne 0x5130b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x513088
add ebx, ebx
jne 0x5130bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x513115
xor ecx, ecx
sub eax, 3
jb 0x5130db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51314a
sar eax, 1
mov ebp, eax
jmp 0x5130e6
add ebx, ebx
jne 0x5130e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5130b4
inc ecx
add ebx, ebx
jne 0x5130f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5130b4
add ebx, ebx
jne 0x513101
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5130f6
jne 0x513112
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5130f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x513134
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x513126
jmp 0x513076
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x513134
add edi, ecx
jmp 0x513076
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x513152
cmp byte [edi], 0x11
jne 0x513152
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 0x513157
lea edi, [esi + 0x10c000]
mov eax, dword [edi]
or eax, eax
je 0x5131cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14d0d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14d254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x513184
mov ecx, edi
jns 0x5131b3
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 + 0x14d258]
or eax, eax
je 0x5131c9
mov dword [ebx], eax
add ebx, 4
jmp 0x5131a1
call dword [esi + 0x14d268]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x513200
cmp al, 0xef
ja 0x5131f3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5131d5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5131e2
mov ebp, dword [esi + 0x14d25c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x513234
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x414f80
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x48c0bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, 0xe3b4
call fcn.00488480
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x416ca8
cmp byte [esi], 0
je 0x416ca8
mov ebx, dword [0x4a2b4c]
mov edi, dword [ebp + 8]
mov dword [esp + 0xcc], ebx
test ebx, ebx
jne 0x414fdd
mov eax, dword [edi + 0x4b4]
mov dword [0x4a0a28], eax
push 0x4000
lea ecx, [esp + 0x46d]
push 0
push ecx
mov byte [esp + 0x474], 0
call fcn.004812e0
add esp, 0xc
lea eax, [esp + 0xa3b8]
mov dword [esp + 0x5c], eax
xor eax, eax
push 0x49588a
lea edx, [esp + 0x4474]
push esi
lea ecx, [esp + 0x150]
mov dword [esp + 0x54], edx
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov byte [esp + 0xf0], al
call fcn.004759ff
test eax, eax
je 0x415056
fldz
push 0
sub esp, 8
fstp qword [esp]
push esi
push 0
push str.EXE_corrupted
jmp 0x416ca0
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0xe4]
push edx
push str._AUTOHOTKEY_SCRIPT_
lea ecx, [esp + 0x154]
call fcn.00475dd7
test eax, eax
jne 0x415083
mov byte [edi + 0x4d1], al
jmp 0x4150b3
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0xe4]
push ecx
push str._AHK_WITH_ICON_
lea ecx, [esp + 0x154]
call fcn.00475dd7
test eax, eax
jne 0x416c82
mov byte [edi + 0x4d1], 1
lea ecx, [esp + 0x148]
call fcn.00475be4
lea esi, [esp + 0x84]
call fcn.004135d0
mov dword [esp + 0x84], vtable.TextMem.0
mov byte [esp + 0xac], 0
xor eax, eax
mov dword [esp + 0xe3fc], eax
mov dword [esp + 0x8c], eax
push 0xc
lea eax, [esp + 0xe4]
mov edx, esi
push eax
mov ecx, esi
mov dword [esp + 0x5c], edx
call dword [0x494024]
test al, al
je 0x415122
mov eax, 0xfde9
mov ebx, 0xc
mov ecx, esi
call fcn.00461f30
mov ebx, dword [esp + 0xcc]
inc dword [0x4a2b4c]
lea eax, [esp + 0x84]
xor ecx, ecx
lea edx, [esp + 0x4470]
mov byte [esp + 0x53], 0
mov byte [esp + 0x75], 0
mov byte [esp + 0x7a], 0
mov dword [edi + 0x58], ebx
mov dword [esp + 0xc4], 0xffffffff
call fcn.00416f10
push 2
lea ecx, [esp + 0x4474]
push 0x49214c
push ecx
mov dword [esp + 0x64], eax
call fcn.00478e34
add esp, 0xc
test eax, eax
sete al
mov byte [esp + 0x63], al
test al, al
je 0x415192
mov byte [esp + 0x4470], 0
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x148]
call fcn.00475be4
fldz
push 0
sub esp, 8
fstp qword [esp]
push esi
push 0
push str.Could_not_extract_script_from_EXE.
call fcn.00468330
add esp, 0x18
Function at 0x4217a0
Capabilities:
Check for time delay via gettickcount
Check os version
Find taskbar
Get number of processors
Move file
Print debug messages
Resolve function by parsing pe exports
Set environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x48c03b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x528
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0x94], ecx
test eax, eax
jne 0x4217d6
lea eax, [esp + 0x78]
mov ebx, dword [0x49d3c8]
mov edx, eax
mov esi, ecx
mov dword [esp + 0x54], eax
mov dword [edx], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x30], esi
test ecx, ecx
je 0x421ad3
mov edi, dword [esp + 0x78]
mov edi, edi

Function at 0x427020
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4a0b94]
sub esp, 0x84
push ebx
push esi
push edi
cmp eax, dword [0x49d334]
jl 0x42704a
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [0x4a13a4]
cmp byte [esi + 0x17], 0
jne 0x427059
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x427066
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x427072
mov eax, dword [esi + 8]
jmp 0x427082
cmp al, 2
jne 0x42707d
call fcn.00401000
jmp 0x427082
mov eax, 0x4a2ba4
push 0x7f
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0047a8e0
mov eax, dword [0x49d3c8]
inc dword [0x4a0b94]
add eax, 0xd8
mov edi, eax
mov byte [esp + 0x9b], 0
mov ecx, 0x36
mov esi, 0x49f708
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov esi, eax
xor edi, edi
mov dword [0x49d3c8], eax
push edi
mov eax, 0x4a2c18
mov dword [esi + 0x2c], edi
call fcn.00414620
mov dword [0x4a30f0], edi
mov dword [0x4a30f4], edi
cmp dword [0x4a0bbc], edi
je 0x4270ee
push 0x4a13a8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
or eax, 0xffffffff
cmp byte [esi + 0xc6], 0
jne 0x427109
mov byte [esi + 0xc6], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
cmp dword [0x4a30fc], edi
je 0x427119
cmp dword [0x4a30f8], edi
jne 0x427122
cmp byte [esi + 0xc6], 0
je 0x42715a
cmp byte [esi + 0xc6], 0
mov byte [esi + 0xc4], 0
jne 0x42715a
cmp dword [0x4a30fc], edi
jge 0x427142
mov dword [esi + 0xb8], eax
jmp 0x42715a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xb4], eax
mov edx, dword [0x4a30fc]
mov dword [esi + 0xb8], edx
mov eax, dword [ebp + 0xc]
mov edi, dword [0x4a3088]
mov ebx, dword [0x4a30c0]
mov dword [0x4a3088], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
push 0
push 0xffffffffffffffff
push 0
push ecx
mov dword [0x4a3104], eax
mov dword [0x4a3100], eax
mov dword [0x4a30c0], eax
call fcn.0044f1f0
mov esi, eax
cmp esi, 1
jne 0x4271a4
mov edx, dword [ebp + 8]
push edx
call fcn.00425cf0
mov esi, eax
mov ecx, dword [0x4a13a4]
dec dword [0x4a0b94]
sub dword [0x49d3c8], 0xd8
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push eax
mov dword [0x4a3088], edi
mov dword [0x4a30c0], ebx
call fcn.004668b0
push 0
mov eax, 0x4a2c18
call fcn.00414620
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x403e10
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4278db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x648
mov eax, dword [0x4332fc]
mov ecx, dword [0x434080]
mov dword [esp + 0x644], eax
mov eax, dword [esp + 0x658]
push 1
push eax
push ecx
lea ecx, [esp + 0xc]
call fcn.00403c00
mov edx, dword [esp + 4]
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 4]
mov dword [esp + 0x650], 0
call fcn.00409a00
push eax
call fcn.0041b66b
int3

Function at 0x406160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [0x4332fc]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov edi, ecx
mov esi, 0xf
push 0x42a2ef
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00401890
push esi
push str.ApplicationPath
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00401890
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0x180]
mov byte [esp + 0x74], 1
call fcn.00416ba0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.004017a0
cmp dword [esp + 0x40], 0x10
jb 0x40620e
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x24], 0x10
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x6c], 3
jb 0x406233
mov eax, dword [esp + 0x10]
push eax
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x58], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
je 0x40625b
lea ecx, [esp + 0x44]
push ecx
call fcn.0040fb40
add esp, 4
test al, al
je 0x40625b
mov ebx, 1
cmp dword [esp + 0x5c], 0x10
mov dword [edi + 0x34], ebx
pop edi
pop esi
pop ebx
jb 0x406275
mov edx, dword [esp + 0x3c]
push edx
call fcn.0041aebd
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x54]
mov eax, 1
call fcn.0041b6dc
add esp, 0x64
ret
Function at 0x406620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x428300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
push ebx
mov esi, ecx
push 0x42a2ef
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00401890
push 0xb
push str.FAMILY_NAME
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.00401890
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x50], 1
call fcn.00416ba0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0xc0]
call fcn.004017a0
mov eax, dword [esp + 0x20]
mov esi, 0x10
cmp eax, esi
jb 0x4066c1
mov edx, dword [esp + 0xc]
push edx
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x3c], esi
pop esi
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
mov dword [esp + 0x1c], 0xf
pop ebx
jb 0x4066e6
mov eax, dword [esp + 0x20]
push eax
call fcn.0041aebd
add esp, 4
mov ecx, dword [esp + 0x38]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x44
ret

Function at 0x406700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x428300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
push ebx
mov esi, ecx
push 0x42a2ef
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00401890
push 0xc
push str.FAMILY_MNAME
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.00401890
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x50], 1
call fcn.00416ba0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0xdc]
call fcn.004017a0
mov eax, dword [esp + 0x20]
mov esi, 0x10
cmp eax, esi
jb 0x4067a1
mov edx, dword [esp + 0xc]
push edx
call fcn.0041aebd
add esp, 4
cmp dword [esp + 0x3c], esi
pop esi
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
mov dword [esp + 0x1c], 0xf
pop ebx
jb 0x4067c6
mov eax, dword [esp + 0x20]
push eax
call fcn.0041aebd
add esp, 4
mov ecx, dword [esp + 0x38]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x44
ret