joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18103a38
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
lea eax, [ebx + 4]
push eax
call fcn.180dc644
imul edx, dword [ebx], 0x1000193
mov esi, dword [edi + 0xc]
xor eax, edx
and eax, dword [edi + 0x18]
mov dword [ebp + 0xc], eax
push eax
mov esi, dword [esi + eax*8]
jmp 0x18103a77
lea ecx, [esi + 8]
mov edx, ebx
call fcn.18103b10
test al, al
jne 0x18103aa7
mov esi, dword [esi]
push dword [ebp + 0xc]
lea eax, [ebp - 4]
mov ecx, edi
push eax
call fcn.180dddaf
cmp esi, dword [eax]
jne 0x18103a64
mov esi, dword [edi + 4]
mov eax, esi
cmp esi, eax
jne 0x18103aba
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
push ecx
push dword [ebp + 8]
mov ecx, edi
call fcn.181055fe
mov eax, dword [ebp + 8]
jmp 0x18103ac3
lea edx, [esi + 8]
mov ecx, ebx
call fcn.18103b10
test al, al
je 0x18103a86
mov eax, dword [edi + 4]
jmp 0x18103a8b
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x181077bb
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 4], esi
lea eax, [edi + 4]
push eax
call fcn.180dc644
imul edx, dword [edi], 0x1000193
mov ebx, eax
lea eax, [ebp - 8]
mov ecx, esi
xor ebx, edx
and ebx, dword [esi + 0x18]
push ebx
push eax
call fcn.180dddaf
mov edi, dword [eax]
jmp 0x18107803
mov edi, dword [edi + 4]
mov ecx, dword [ebp + 0xc]
lea edx, [edi + 8]
call fcn.18103b10
test al, al
jne 0x18107823
mov ecx, dword [esi + 0xc]
cmp edi, dword [ecx + ebx*8]
jne 0x181077f1
mov esi, dword [ebp + 0x10]
cmp edi, dword [esi]
je 0x1810783d
push dword [esi]
push esi
push edi
call fcn.18044ed5
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xc]
jmp 0x18107840
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 4]
call fcn.18107997
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 0
jmp 0x18107889
mov edx, dword [ebp - 4]
mov eax, dword [ecx + ebx*8]
cmp eax, dword [edx + 4]
jne 0x18107854
mov dword [ecx + ebx*8], esi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx*8 + 4], esi
jmp 0x18107879
cmp eax, edi
jne 0x1810785d
mov dword [ecx + ebx*8], esi
jmp 0x18107879
mov eax, dword [ecx + ebx*8 + 4]
mov eax, dword [eax]
mov dword [ecx + ebx*8 + 4], eax
cmp eax, esi
je 0x18107879
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + ebx*8 + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx*8 + 4], eax
mov ecx, edx
call fcn.181078e4
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1811b6cf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x181cd008]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, edx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [esp + 0x18], ecx
push ecx
mov ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
call fcn.180d2413
mov eax, dword [eax + 0x28]
test eax, eax
je 0x1811b790
mov ecx, dword [esp + 0xc]
sub esp, 0xc
push edi
push dword [esp + 0x24]
call fcn.180d1b9c
mov dword [esp + 0xc], eax
mov edi, ebx
cmp dword [eax + 4], ebx
jle 0x1811b75e
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + edi*4 + 4]
mov eax, dword [esi + 4]
mov dword [esp + 0x18], ecx
cmp dword [esi + 8], eax
je 0x1811b747
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x1811b754
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, esi
call fcn.1800a56c
mov eax, dword [esp + 0xc]
inc edi
cmp edi, dword [eax + 4]
jl 0x1811b72c
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.180fd1c3
push dword [eax + 0x18]
push dword [esi + 4]
push dword [esi]
call fcn.1811c98b
mov ecx, dword [esp + 0x90]
add esp, 0xc
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.181450cb
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.180fd1c3
mov ebx, dword [esp + 0xc]
mov edx, eax
push edx
mov dword [esp + 0x14], edx
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
call dword [eax + 4]
push edi
push dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov ecx, ebx
lea eax, [esp + 0x28]
push eax
call fcn.180d1d52
mov ecx, ebx
jmp 0x1811b82d
mov ecx, dword [esp + 0x18]
push 0
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, eax
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x10]
mov edx, ebx
push dword [eax + 0x18]
call fcn.1811b86e
mov eax, dword [esp + 0x14]
mov edx, ebx
pop ecx
lea ecx, [esp + 0x48]
mov eax, dword [eax + 0x18]
add eax, 0x30
push eax
call fcn.1811b9c6
mov eax, dword [esi + 4]
pop ecx
mov dword [esp + 0x1c], ebx
cmp dword [esi + 8], eax
je 0x1811b80e
mov dword [eax], ebx
add dword [esi + 4], 4
jmp 0x1811b81b
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, esi
call fcn.1800a56c
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [esp + 0xc]
push edi
push dword [esp + 0x18]
lea eax, [esp + 0x58]
push eax
call fcn.180d1da7
mov ecx, dword [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
mov edx, dword [ecx]
call dword [edx + 0x10]
lea ecx, [esp + 0x50]
mov bl, al
call fcn.180cdf45
test bl, bl
je 0x1811b7c3
lea ecx, [esp + 0x20]
call fcn.180cdf45
mov bl, 1
jmp 0x1811b762
Function at 0x1811e231
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181cd008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 8
mov ebx, ecx
lea edi, [ebp - 0x24]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push 0x20
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x1811e274
push ecx
mov ecx, 0x181d1670
call fcn.1803f8dc
mov eax, 0x80040884
jmp 0x1811e317
push esi
call fcn.18004041
push eax
lea ecx, [ebp - 0x28]
call fcn.1800710c
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
call fcn.1800ce9b
push dword [ebx]
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
call fcn.1811ea65
movzx eax, byte [ebx + 0x10]
mov esi, dword [ebp - 0x28]
push esi
push eax
mov eax, dword [ebx]
add eax, 0xc
push str._d:_S
push eax
call fcn.1800f26f
mov edx, dword [ebx]
lea ecx, [ebp - 0x28]
add esp, 0x1c
call fcn.1800dc77
mov ecx, dword [ebx]
push eax
add ecx, 0x10
call fcn.18006d7c
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.180046a5
push 0
push 0x3f
lea ecx, [ebx + 4]
call fcn.18006cc7
mov ecx, str._1cup2key_2cup2hreq_3
cmp eax, 0xffffffff
jne 0x1811e2f4
mov ecx, str._1_cup2key_2cup2hreq_3
mov eax, dword [ebx]
push dword [eax + 0x10]
push dword [eax + 0xc]
add eax, 0x14
push dword [ebx + 4]
push ecx
push eax
call fcn.18039952
add esp, 0x14
lea ecx, [esi - 0x10]
call fcn.180046a5
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.181450cb
leave
ret
Function at 0x1811ee3c
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x181cd008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x124], edi
mov esi, ebx
lea edx, [edi + 0x10]
movzx ecx, byte [edx]
lea edx, [edx + 4]
movzx eax, byte [edx - 3]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx - 2]
shl eax, 8
or ecx, eax
movzx eax, byte [edx - 1]
or ecx, eax
mov dword [ebp + esi*4 - 0x104], ecx
inc esi
cmp esi, 0x10
jl 0x1811ee61
push 0x40
pop eax
cmp esi, eax
jge 0x1811eee9
sub eax, esi
lea ebx, [ebp + esi*4 - 0x10c]
mov dword [ebp - 0x108], eax
mov edi, eax
mov ecx, dword [ebx - 0x34]
mov esi, ecx
mov edx, dword [ebx]
mov eax, ecx
rol esi, 0xe
lea ebx, [ebx + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub edi, 1
jne 0x1811eea7
mov edi, dword [ebp - 0x124]
xor ebx, ebx
mov eax, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x120], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x10c], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x118], eax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x11c], eax
mov eax, dword [edi + 0x6c]
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x108], eax
mov ecx, edx
mov esi, edi
xor ecx, edi
ror esi, 0xd
and ecx, dword [ebp - 0x114]
and edx, edi
xor ecx, edx
mov eax, edi
rol eax, 0xa
xor esi, eax
mov eax, edi
ror eax, 2
xor esi, eax
add esi, ecx
mov ecx, dword [ebp - 0x10c]
mov edx, ecx
mov eax, ecx
rol eax, 7
ror edx, 0xb
xor edx, eax
mov eax, ecx
ror eax, 6
not ecx
and ecx, dword [ebp - 0x11c]
xor edx, eax
mov eax, dword [ebp - 0x118]
and eax, dword [ebp - 0x10c]
xor ecx, eax
mov eax, dword [ebp - 0x11c]
add edx, ecx
mov ecx, dword [ebp - 0x120]
add edx, dword [ebx + 0x181a2410]
add edx, dword [ebp + ebx - 0x104]
add ebx, 4
add edx, dword [ebp - 0x108]
mov dword [ebp - 0x108], eax
add ecx, edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x110], edi
lea edi, [edx + esi]
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x114], eax
cmp ebx, 0x100
jl 0x1811ef3d
mov eax, dword [ebp - 0x12c]
add eax, edi
mov edi, dword [ebp - 0x124]
add dword [edi + 0x60], ecx
add dword [edi + 0x54], edx
mov ecx, dword [ebp - 0x118]
add dword [edi + 0x64], ecx
mov edx, dword [ebp - 0x114]
add dword [edi + 0x58], edx
mov ecx, dword [ebp - 0x11c]
add dword [edi + 0x68], ecx
mov ecx, dword [ebp - 0x108]
add dword [edi + 0x6c], ecx
mov edx, dword [ebp - 0x120]
add dword [edi + 0x5c], edx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x50], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.181450cb
leave
ret
Function at 0x1811f05f
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 8], 0
and dword [eax + 0xc], 0
mov dword [eax], fcn.1811f05f
mov dword [eax + 0x50], 0x6a09e667
mov dword [eax + 0x54], 0xbb67ae85
mov dword [eax + 0x58], 0x3c6ef372
mov dword [eax + 0x5c], 0xa54ff53a
mov dword [eax + 0x60], 0x510e527f
mov dword [eax + 0x64], 0x9b05688c
mov dword [eax + 0x68], 0x1f83d9ab
mov dword [eax + 0x6c], 0x5be0cd19
pop ebp
ret

Function at 0x1812170e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push 9
sub edx, ecx
pop esi
mov eax, dword [edx + ecx]
xor eax, dword [ecx]
and eax, dword [ebp + 8]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x18121717
pop esi
pop ebp
ret
Function at 0x1812241c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov ecx, 0x181d1830
push edi
call fcn.18016ee6
mov ecx, 0x181d1730
mov dword [esi + 0xc], 0xc
call fcn.18016ee6
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.18004041
push eax
lea ecx, [ebp - 4]
call fcn.1800710c
push 0x181afd68
mov esi, 0x181b8b2c
lea eax, [ebp - 4]
push esi
push eax
call fcn.1800f26f
add esp, 0xc
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 4]
call fcn.181221f2
mov ebx, dword [ebp - 0x1c]
test eax, eax
js 0x181224f9
cmp ebx, dword [ebp - 0x18]
je 0x18122493
mov edi, 0x80040712
jmp 0x18122611
push str.uninstall
lea eax, [ebp - 4]
push esi
push eax
call fcn.1800f26f
add esp, 0xc
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 4]
call fcn.181221f2
mov ebx, dword [ebp - 0x1c]
test eax, eax
js 0x181224f9
cmp ebx, dword [ebp - 0x18]
je 0x181224c6
mov edi, 0xa0430721
jmp 0x18122611
push 0x181afd58
lea eax, [ebp - 4]
push esi
push eax
call fcn.1800f26f
add esp, 0xc
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 4]
call fcn.181221f2
mov ebx, dword [ebp - 0x1c]
test eax, eax
js 0x181224f9
cmp ebx, dword [ebp - 0x18]
je 0x181224f9
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
jne 0x18122503
mov edi, 0x80040706
jmp 0x18122611
push eax
lea ecx, [ebp - 8]
call fcn.18006dd4
mov esi, dword [ebp - 8]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x18122604
js 0x18122604
mov edx, str.GoogleUpdate.exe
mov ecx, esi
call fcn.1800c357
mov edi, eax
test edi, edi
je 0x18122604
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
je 0x18122604
push str.GoogleUpdate.exe
call fcn.1814bb43
pop ecx
add eax, edi
lea ecx, [ebp - 8]
push eax
mov dword [ebp - 0x10], eax
call fcn.18006f6c
push 0x22
pop ecx
cmp cx, ax
mov ecx, dword [ebp - 0x10]
jne 0x18122568
inc ecx
mov eax, dword [esi - 0xc]
sub eax, ecx
lea ecx, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.18009ebe
lea ecx, [ebp - 0xc]
call fcn.18031a52
mov edi, dword [ebp - 0x18]
and dword [ebp - 0x10], 0
sub edi, ebx
sar edi, 2
test edi, edi
je 0x181225e0
call fcn.18004041
push eax
lea ecx, [ebp - 8]
call fcn.1800710c
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 8]
mov ecx, dword [ebx + ecx*4]
call fcn.18010196
test eax, eax
js 0x181225ca
cmp dword [ebp - 0xc], 0
je 0x181225ca
push 0
push dword [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.1800dfda
cmp eax, 0xffffffff
jne 0x181225f2
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.180046a5
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, edi
jb 0x18122592
mov edi, 0x80040711
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.180046a5
jmp 0x18122609
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov edi, 0x80040710
jmp 0x181225e5
mov edi, 0x80040706
lea ecx, [esi - 0x10]
call fcn.180046a5
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.180046a5
test ebx, ebx
je 0x18122631
mov ecx, dword [ebp - 0x14]
sub ecx, ebx
and ecx, 0xfffffffc
push ecx
push ebx
call fcn.1800a6c6
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x18123a34
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x181cd008]
xor eax, ebp
mov dword [ebp - 4], eax
movzx ecx, byte [0x181d59e6]
push ebx
push esi
neg ecx
push edi
sbb ecx, ecx
push 7
pop edi
and ecx, 0x181d4bb0
je 0x18123a83
xor eax, eax
mov dword [ebp - 0x38], ecx
inc eax
mov dword [ebp - 0x34], edi
push eax
push edi
mov dword [ebp - 0x30], eax
call fcn.18005de9
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push str._StartService_
push eax
call fcn.180041e3
pop ecx
pop ecx
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
jne 0x18123aa4
call fcn.18013db1
mov ebx, eax
jmp 0x18123b21
lea ecx, [ebp - 0x24]
call fcn.1804c158
push 0x14
push dword [ebp - 0x24]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x18123ac5
call fcn.18013db1
jmp 0x18123b02
mov ecx, edi
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x18123ae9
cmp dword [ebp - 0x1c], 4
je 0x18123b04
cmp dword [ebp - 0x1c], 2
je 0x18123b04
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x18123b04
call fcn.18013db1
cmp eax, 0x80070420
je 0x18123b04
mov ebx, eax
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x18123b11
push esi
call edi
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.180046a5
push dword [ebp - 0x28]
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181450cb
leave
ret
Function at 0x18123fa6
Capabilities:
Delete directory
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x181cd008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], edi
call fcn.1800e824
mov esi, dword [eax]
xor eax, eax
mov word [ebp - 0x210], ax
test esi, esi
je 0x18124004
cmp word [esi], di
je 0x18124004
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.180046a5
cmp byte [ebx], 0
je 0x1812402d
call fcn.180b4b72
lea eax, [ebp - 0x21c]
push eax
call fcn.180b5682
xor ebx, ebx
inc ebx
jmp 0x18124041
call fcn.180b4b72
lea eax, [ebp - 0x220]
push eax
call fcn.180b4d96
push 2
pop ebx
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.18007189
mov edi, eax
test bl, 2
je 0x18124063
mov ecx, dword [ebp - 0x220]
and ebx, 0xfffffffd
lea ecx, [ecx - 0x10]
call fcn.180046a5
test bl, 1
je 0x18124079
mov ecx, dword [ebp - 0x21c]
and ebx, 0xfffffffe
lea ecx, [ecx - 0x10]
call fcn.180046a5
lea ecx, [edi + 0x10]
call fcn.18008f4c
mov eax, dword [ebp - 0x218]
cmp byte [eax], 0
je 0x181240d9
call fcn.180b4b72
call fcn.18004041
push eax
lea ecx, [ebp - 0x214]
call fcn.1800710c
lea eax, [ebp - 0x214]
push eax
push 0
push 0x181ae24c
lea ecx, [ebp - 0x218]
call fcn.18006dd4
push 0x26
mov edx, eax
pop ecx
call fcn.180b3f7b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x218]
lea ecx, [ecx - 0x10]
call fcn.180046a5
push 4
jmp 0x18124124
call fcn.180b4b72
call fcn.18004041
push eax
lea ecx, [ebp - 0x214]
call fcn.1800710c
lea eax, [ebp - 0x214]
push eax
push 0
push 0x181ae24c
lea ecx, [ebp - 0x218]
call fcn.18006dd4
push 0x1c
mov edx, eax
pop ecx
call fcn.180b3f7b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x218]
lea ecx, [ecx - 0x10]
call fcn.180046a5
push 8
mov eax, dword [ebp - 0x214]
pop ecx
or ecx, ebx
mov dword [ebp - 0x218], ecx
lea ecx, [eax - 0x10]
call fcn.18007189
mov ebx, dword [ebp - 0x218]
lea esi, [eax + 0x10]
test bl, 8
je 0x18124157
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.180046a5
test bl, 4
je 0x1812416a
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.180046a5
mov ecx, esi
call fcn.180081b7
test al, al
je 0x18124190
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
je 0x18124190
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x18124190
call fcn.18013db1
lea ecx, [esi - 0x10]
call fcn.180046a5
lea ecx, [edi]
call fcn.180046a5
cmp word [ebp - 0x210], 0
je 0x181241b6
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181450cb
leave
ret
Function at 0x18129a83
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push esi
mov dword [ebp - 4], esi
lea eax, [esi + 8]
push eax
call fcn.180aceeb
movzx edx, word [esi + 0xe8]
xor ebx, ebx
push ecx
push ecx
mov byte [esi + 0x20], bl
mov dword [esi + 0x24], ebx
mov ecx, dword [0x181d2e48]
push ebx
call fcn.1812ae30
add esp, 0xc
cmp dword [esi + 0x24], ebx
jge 0x18129ad6
test eax, eax
je 0x18129ada
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
test eax, eax
jne 0x18129ae4
mov eax, 0x80040e80
jmp 0x18129c2b
push dword [esi + 0x130]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi + 4]
call edi
push ecx
mov ecx, esi
call fcn.18129c30
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x7d7
push dword [esi + 4]
call ebx
mov esi, eax
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push dword [eax + 0x124]
push esi
call edi
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.18129c86
push 2
push 0xff
push 0
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 0
mov ecx, edi
call fcn.18007ffc
mov ecx, dword [edi]
lea eax, [esi + 0x134]
push eax
call fcn.18014971
sub esp, 0xc
lea ecx, [esi + 0x128]
push 0x5a
call fcn.1812a1eb
push ecx
push ecx
push dword [esi + 0x128]
push ecx
mov ecx, edi
call fcn.18126329
sub esp, 0x10
lea edi, [esi + 0x12c]
mov ecx, edi
push 0x96
call fcn.1812a1eb
push 0x7d7
push dword [esi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [edi]
push 0x30
push eax
call esi
mov eax, dword [ebp - 4]
push 0x7d8
push dword [eax + 4]
call ebx
push 1
push dword [edi]
push 0x30
push eax
call esi
mov eax, dword [ebp - 4]
push 0x7da
push dword [eax + 4]
call ebx
push 1
push dword [edi]
push 0x30
push eax
call esi
mov eax, dword [ebp - 4]
push 0x7db
push dword [eax + 4]
call ebx
push 1
push dword [edi]
push 0x30
push eax
call esi
mov esi, dword [ebp - 4]
push 0x7d1
push dword [esi + 4]
call ebx
push ecx
push eax
push dword [esi + 4]
lea ecx, [esi + 0x28]
call fcn.1812e249
push ecx
push ecx
lea ecx, [esi + 0xd4]
call fcn.1812e358
push 0
push 0x1812bbb5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnumChildWindows]
push 1
mov ecx, esi
call fcn.18129d27
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1812b54b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x181cd008]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x181d2e48]
push edi
push 0xf0
push eax
xor edi, edi
mov dword [ebp - 0x10c], ecx
push esi
inc edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1812b6b8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1812b6b8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1812b6b8
push ebx
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x1812b6b7
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x110], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x1812b632
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
call fcn.1802510c
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
inc eax
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x104]
cmp dword [ebp - 0x108], eax
je 0x1812b6a9
push dword [ebp - 0x108]
call fcn.1814ba06
pop ecx
jmp 0x1812b6a9
mov ecx, 0x1234
cmp cx, ax
jne 0x1812b6a9
or dword [ebp - 0x130], 0xffffffff
lea eax, [ebp - 0x104]
push 3
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x108], eax
call fcn.1802510c
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x12c], eax
cmp eax, ecx
je 0x1812b684
push eax
call fcn.1814ba06
pop ecx
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp - 0x10c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
inc eax
neg eax
sbb eax, eax
and edi, eax
add esi, dword [ebp - 0x110]
test edi, edi
jne 0x1812b5aa
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.181450cb
leave
ret 4

Function at 0x1812c024
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
cmp byte [esi], 0
jne 0x1812c09a
push edi
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
movzx ecx, byte [esi + 1]
mov edi, eax
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
cmp byte [esi + 2], cl
setne cl
push ecx
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 3], 0
je 0x1812c099
cmp byte [esi + 4], 0
je 0x1812c099
push 1
push edi
push 0x28
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x1812c099
or eax, 1
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop edi
pop esi
pop ebx
pop ebp
ret 8