joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002dabb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 4
mov eax, 0x1007f859
call fcn.1005b11c
mov esi, ecx
lea eax, [esi + 0x48]
lea edi, [esi + 0x4c]
mov dword [ebp - 0x10], eax
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 8]
and dword [ebp - 4], 0
mov ecx, esi
call sym.soui.dll_protected:_int___thiscall_SOUI::SResProviderMgr::IsFileType_wchar_t_const__
push dword [ebp + 0xc]
test eax, eax
je 0x1002dafe
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
jmp 0x1002db10
push dword [ebp + 8]
mov ecx, esi
call sym.soui.dll_public:_struct_SOUI::IResProvider____thiscall_SOUI::SResProviderMgr::GetMatchResProvider_wchar_t_const___wchar_t_const__
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
call fcn.1005b0f6
ret 8

Function at 0x1002f67b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edi, ecx
sub eax, 9
je 0x1002f6dc
sub eax, 1
je 0x1002f6be
sub eax, 3
je 0x1002f6be
test dword [edi + 0x3ac], 0x2000
je 0x1002f6f7
push esi
call fcn.1006e46d
pop ecx
test eax, eax
jne 0x1002f6f7
cmp esi, 0x2d
je 0x1002f6f7
cmp esi, 0x2e
je 0x1002f6f7
cmp esi, 0x2c
je 0x1002f6f7
jmp 0x1002f712
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x1002f6f7
test dword [edi + 0x3ac], 0x1000
jmp 0x1002f6f5
test byte [edi + 0x3b0], 0x80
jne 0x1002f6f7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1002f712
mov eax, dword [edi + 0x3bc]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1002f980
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0xd
push esi
mov esi, ecx
jne 0x1002f9b0
test dword [esi + 0x3ac], 0x1000
jne 0x1002f9b0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x1002f9b0
and dword [esi + 0x10], 0
jmp 0x1002f9cb
mov eax, dword [esi + 0x3bc]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop esi
pop ebp
ret 0xc
Function at 0x10053494
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x25c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100534fc
mov ecx, esi
call sym.soui.dll_protected:_void___thiscall_SOUI::SMenuEx::HideSubMenu_void_
push 0
push dword [esi + 0x25c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x3ec]
test ecx, ecx
je 0x100534d7
push 0
call sym.soui.dll_public:_void___thiscall_SOUI::SWindow::SetCheck_int_
and dword [esi + 0x3ec], 0
mov ecx, dword [0x100f48f8]
lea ecx, [ecx + 8]
call fcn.10035b46
mov ecx, dword [esi + 0x3e4]
test ecx, ecx
je 0x100534fc
pop esi
mov ecx, dword [ecx + 0x188]
pop ebp
jmp sym.soui.dll_protected:_void___thiscall_SOUI::SMenuEx::OnSubMenuHided_int_
pop esi
pop ebp
ret 4

Function at 0x1005a821
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
pop ebp
ret 8

Function at 0x1007579a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10075619

Function at 0x10077e3b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10077afb
Function at 0x431006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, section..3ean
nop
mov ebx, 0x40915c
nop
mov ecx, 0xb34849
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
mov eax, section..7LWLf
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x452f76f2
nop
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret

Function at 0x4162b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4162ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4162d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4162c0
mov eax, 1
add ebx, ebx
jne 0x4162e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4162d8
jne 0x4162f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4162d8
xor ecx, ecx
sub eax, 3
jb 0x416308
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41637a
mov ebp, eax
add ebx, ebx
jne 0x416313
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416344
inc ecx
add ebx, ebx
jne 0x416330
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416325
jne 0x416341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416325
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416355
jmp 0x4162c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416364
add edi, ecx
jmp 0x4162c6
pop esi
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4163c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1606c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416381
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16074]
or eax, eax
je 0x4163bd
mov dword [ebx], eax
add ebx, 4
jmp 0x41639e
call dword [esi + 0x16070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4163f4
cmp al, 0xef
ja 0x4163e7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4163c9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4163d6
mov ebp, dword [esi + 0x16078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x416428
sub esp, 0xffffff80
jmp 0x405dd2

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x418f10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420de0], ecx
add edx, 1
cmp edx, 0x100
jb 0x418f12
cmp edx, 0x800
jae 0x418ffb
mov edi, edi
mov eax, dword [edx*4 + 0x4209e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420de0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x420ddc], eax
jb 0x418fd0
mov dword [0x420dbc], 0x4196b0
call fcn.00419140
test eax, eax
jne 0x419018
mov dword [0x420dbc], 0x4195d0
ret

Function at 0x45bf9d
Capabilities:
Encode data using xor

Disassembly:
pop ebp
pop es
fstp dword ss:[esi]
xor esp, dword [esp + edi*8 + 0x3a]
cmp bh, byte [edi]
push esi
popal
xchg ebx, eax
mov bl, 0x2a
add al, bh
loope 0x45bf87

Function at 0x4ba8f1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33d8
cmp edx, dword [eax]
je 0x4ba913
add eax, 8
inc ecx
cmp eax, 0x4c3468
jl 0x4ba904
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33d8]
jne 0x4baa41
mov eax, dword [0x4c7d84]
cmp eax, 1
je 0x4baa1b
test eax, eax
jne 0x4ba944
cmp dword [0x4c3300], 1
je 0x4baa1b
cmp edx, 0xfc
je 0x4baa41
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba97b
lea eax, [ebp - 0x1a4]
push 0x4bfb50
push eax
call fcn.004bb2d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb760
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba9be
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb760
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bfb4c
push edi
call fcn.004bd630
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bfb30
push eax
call fcn.004bb2d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb2e0
lea eax, [ebp - 0xa0]
push 0x4bfb2c
push eax
call fcn.004bb2e0
push dword [esi + 0x4c33dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb2e0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bfb04
push eax
call fcn.004bd5a4
add esp, 0x2c
pop edi
jmp 0x4baa41
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33dc]
push 0
push eax
push dword [esi]
call fcn.004bb760
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 0x422c20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
jmp 0x422c3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422c41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422c30
mov eax, 1
add ebx, ebx
jne 0x422c53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422c48
jne 0x422c64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422c48
xor ecx, ecx
sub eax, 3
jb 0x422c78
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422cea
mov ebp, eax
add ebx, ebx
jne 0x422c83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422c90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x422cb4
inc ecx
add ebx, ebx
jne 0x422ca0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x422c95
jne 0x422cb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422c95
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x422cd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x422cc5
jmp 0x422c36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x422cd4
add edi, ecx
jmp 0x422c36
pop esi
mov edi, esi
mov ecx, 0x4b1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x422cf2
cmp byte [edi], 7
jne 0x422cf2
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 0x422cf7
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x422d66
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22754]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22834]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422d24
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2283c]
or eax, eax
je 0x422d60
mov dword [ebx], eax
add ebx, 4
jmp 0x422d41
call dword [esi + 0x22838]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x422d97
cmp al, 0xef
ja 0x422d8a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x422d6c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x422d79
mov ebp, dword [esi + 0x22840]
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 0x422dcb
sub esp, 0xffffff80
jmp 0x404d23

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10017c10
Capabilities:
Print debug messages

Disassembly:
cmp ecx, 0xc00002b6
jg 0x10017c87
je 0x10017c81
cmp ecx, 0xc0000022
jg 0x10017c4d
je 0x10017c47
add ecx, 0x3fffffff
cmp ecx, 0x1c
ja case.0x10017ca6.1071775737
movzx eax, byte [ecx + 0x10017d24]
jmp dword [eax*4 + 0x10017d0c]
mov eax, 0x88760872
ret
mov eax, 0x8876086a
ret
add ecx, 0x3fffff6a
cmp ecx, 0x97
ja case.0x10017ca6.1071775737
movzx eax, byte [ecx + 0x10017d58]
jmp dword [eax*4 + 0x10017d44]
mov eax, 0x80070057
ret
mov eax, 0x8007000e
ret
mov eax, 0x88760871
ret
mov eax, 0x88760879
ret
mov eax, 0x88760870
ret
cmp ecx, 0xc01e0109
jg 0x10017cd6
je 0x10017cd0
add ecx, 0x3fe1fffa
cmp ecx, 0xfc
ja case.0x10017ca6.1071775737
movzx eax, byte [ecx + 0x10017e04]
jmp dword [eax*4 + 0x10017df0]
mov eax, 0x8876021c
ret
mov eax, 0x8876017c
ret
push 0x100043e8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, 0x80004005
ret
mov eax, 0xc0262109
ret
test ecx, ecx
jg 0x10017cfe
je case.0x10017ca6.1071775738
cmp ecx, 0xc01e0111
je 0x10017cf5
lea eax, [ecx + 0x3fe1feee]
cmp eax, 3
ja case.0x10017ca6.1071775737
mov eax, 0x88760873
ret
mov eax, 0xc0262111
ret
xor eax, eax
ret
cmp ecx, 0x103
jne case.0x10017ca6.1071775737
mov eax, 0x8000000a
ret
Function at 0x10017f10
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100a60a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
push edi
mov dword [ebp - 0x20], esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [edi + 4], 0
mov edx, eax
mov dword [ebp - 0x24], edx
mov ebx, edx
je 0x10018094
test esi, esi
je 0x10018094
mov esi, dword [edi + 0xcc]
sub eax, esi
mov ecx, dword [edi + 0xd0]
cmp eax, ecx
jae 0x10017f70
sub ecx, edx
add ecx, esi
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
mov edi, dword [edi]
mov ecx, dword [ecx + 0x2c]
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, ecx
cdq
and edx, 7
lea esi, [edx + eax]
sar esi, 3
mov dword [ebp - 0x18], esi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp dword [0x100a7550], eax
je 0x10017fb5
mov ecx, edi
call fcn.10016e30
test byte [edi + 0x8c], 2
jne 0x10018039
mov eax, dword [edi + 0xb30]
mov esi, dword [0x100a74c4]
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0xb3c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
call dword [0x100ac510]
call esi
mov esi, eax
mov edx, edi
mov ecx, esi
call fcn.1000f560
test eax, eax
jne 0x10018002
mov ecx, esi
call fcn.10017c10
test eax, eax
jne 0x10018092
mov eax, dword [edi + 0x116c]
mov edx, dword [ebp - 8]
cmp eax, 2
je 0x10018015
cmp eax, 4
jne 0x10018058
cmp byte [ebp - 0xc], 0
jne 0x10018058
mov ecx, dword [edi + 0x117c]
mov esi, dword [ebp - 0x18]
test ecx, ecx
je 0x1001805b
mov eax, dword [edi + 0x1180]
imul eax, edx
xor edx, edx
div ecx
mov edx, eax
jmp 0x1001805b
mov ecx, dword [0x100a74a0]
mov eax, 0x64
mov edx, ecx
add ecx, 0xa
cmp eax, ecx
sbb eax, eax
not eax
and eax, ecx
mov dword [0x100a74a0], eax
jmp 0x1001805b
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
add eax, edx
cmp eax, dword [ecx + 4]
jl 0x10018092
mov ecx, dword [ecx + 0xc]
cmp edx, ecx
jg 0x10018092
lea eax, [edx + esi]
cmp eax, ecx
jge 0x1001807e
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
sub eax, dword [ebp - 0x24]
cmp eax, 0x1e
jb 0x10017f98
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009ebb0
mov esp, ebp
pop ebp
ret
Function at 0x100201b0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x3c
mov esi, ecx
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x8000
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x10004fa8
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x10004fb4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test edi, edi
je 0x1002031e
test ebx, ebx
je 0x1002031e
push 0x10004fc4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10004fd4
push edi
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10004fe4
push edi
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10004ffc
push edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10005020
push edi
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10005044
push edi
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10005060
push edi
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000507c
push edi
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100050a0
push edi
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100050c0
push edi
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100050dc
push ebx
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [esi + 0x18], 0
mov dword [esi + 0x38], eax
je 0x1002031e
cmp dword [esi + 0x10], 0
je 0x1002031e
cmp dword [esi + 0x14], 0
je 0x1002031e
cmp dword [esi + 0x20], 0
je 0x1002031e
cmp dword [esi + 0x1c], 0
je 0x1002031e
mov ecx, dword [esi + 0x24]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x1002031e
cmp dword [esi + 0x28], 0
je 0x1002031e
cmp dword [esi + 0x2c], 0
je 0x1002031e
cmp dword [esi + 0x30], 0
je 0x1002031e
cmp dword [esi + 0x34], 0
je 0x1002031e
test eax, eax
je 0x1002031e
push 0
push 0
lea eax, [esi + 0xc]
push eax
call dword [0x100ac510]
call dword [ebp - 4]
test eax, eax
je 0x1002031e
push dword [ebp - 8]
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi], 0
jne 0x10020331
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10024090
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [edi], 0x10001068
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], 0
test eax, eax
jne 0x100240d7
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100ac510]
call esi
xor eax, eax
lea ecx, [eax + 1]
jmp 0x100240de
mov eax, 1
xor ecx, ecx
mov dword [edi + 4], ecx
lea esi, [edi + 0x84]
mov dword [edi + 8], eax
push 0xdc
push 0
push esi
mov dword [edi], 0x10001060
mov dword [edi + 0x1c], 0x1000104c
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x19c], 0
mov dword [edi + 0x1a0], 0xffffffff
mov dword [edi + 0x1b0], 0
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0xc]
add esp, 0xc
mov eax, dword [eax + 0x208]
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0xc0], 0xcc0020
mov dword [edi + 0x15c], 0x80004005
mov dword [edi + 0x1b4], eax
mov dword [edi + 0x1b8], eax
lea eax, [ebp - 4]
push eax
push 0x10004090
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10024230
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100054c8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100241f4
cmp dword [ebp - 0xc], eax
je 0x100241f4
or dword [edi + 0x194], 1
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100054d8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10024227
cmp dword [ebp - 0xc], eax
je 0x10024227
or dword [edi + 0x194], 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
mov dword [edi + 0x198], 0
push eax
push 0x100054e4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1002428b
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10005504
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10024282
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x198], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10005518
push 0
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [edi + 0x1ac], eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8