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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov dword [esp + 0x2c], ebp
mov ebx, ecx
mov dword [esp + 0x18], ebx
test ebp, ebp
je 0x467724
test ebx, ebx
je 0x4675ae
cmp dword [ebx + 0x200], 0
jne 0x4675bd
mov eax, 0xffff
add word [ebp + 0x28], ax
jne 0x467724
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], edi
test edi, edi
je 0x4676c9
lea esp, [esp]
mov eax, dword [edi + 0x14]
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x4675e8
cmp dword [ebx + 0x200], 0
jne 0x467696
mov esi, dword [edi]
mov ecx, esi
mov dword [esp + 0x1c], esi
test esi, esi
je 0x46760e
cmp byte [esi], 0
je 0x467606
lea esp, [esp]
inc ecx
cmp byte [ecx], 0
jne 0x467600
sub ecx, esi
and ecx, 0x3fffffff
mov ebp, dword [edi + 0x18]
add ebp, 0x18
mov dword [esp + 0x24], ebp
mov eax, dword [ebp]
mov dword [esp + 0x20], eax
test eax, eax
je 0x46766e
xor edi, edi
mov dword [esp + 0x10], esi
mov ebp, ecx
test ecx, ecx
jle 0x467656
mov ebx, esi
movzx eax, byte [ebx]
lea edx, [edi*8]
dec ebp
lea ebx, [ebx + 1]
movzx esi, byte [eax + 0x5ad690]
xor esi, edx
xor edi, esi
test ebp, ebp
jg 0x467631
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, edi
mov ebp, dword [esp + 0x24]
xor edx, edx
mov edi, dword [esp + 0x14]
div dword [esp + 0x20]
mov eax, edx
mov dword [esp + 0x10], edx
jmp 0x467674
xor eax, eax
mov dword [esp + 0x10], eax
push eax
push ecx
mov edx, esi
mov ecx, ebp
call fcn.00434c90
add esp, 8
test eax, eax
je 0x467696
push dword [esp + 0x10]
mov edx, eax
mov ecx, ebp
call fcn.00434d40
add esp, 4
mov edx, dword [edi + 0x24]
mov ecx, ebx
call fcn.0045eaf0
mov edx, dword [edi + 0x10]
mov ecx, ebx
call fcn.00431240
mov edx, edi
mov ecx, ebx
call fcn.00431240
mov eax, dword [esp + 0x28]
mov edi, eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4675d0
mov ebp, dword [esp + 0x2c]
mov edx, ebp
mov ecx, ebx
call fcn.004732f0
mov edx, ebp
mov ecx, ebx
call fcn.00467510
mov edx, dword [ebp]
mov ecx, ebx
call fcn.00431240
mov edx, dword [ebp + 0x14]
mov ecx, ebx
call fcn.00431240
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x467708
mov edx, esi
mov ecx, ebx
call fcn.0047c420
mov edx, esi
mov ecx, ebx
call fcn.00431240
mov edx, dword [ebp + 0x18]
mov ecx, ebx
call fcn.0045f690
mov edx, ebp
mov ecx, ebx
call fcn.0048bbc0
mov edx, ebp
mov ecx, ebx
call fcn.00431240
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467730
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
shl edx, 4
mov ecx, dword [esp + 0x1c]
push esi
push edi
add edx, dword [ebp + 0x10]
mov esi, ecx
mov dword [esp + 0x1c], ebp
test ecx, ecx
je 0x467760
cmp byte [ecx], 0
je 0x467758
inc esi
cmp byte [esi], 0
jne 0x467752
sub esi, ecx
and esi, 0x3fffffff
mov ebx, dword [edx + 0xc]
xor edi, edi
add ebx, 8
mov dword [esp + 0x18], ebx
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4677b4
mov ebx, esi
mov ebp, ecx
test esi, esi
jle 0x4677a2
mov edi, edi
movzx eax, byte [ebp]
lea ecx, [edi*8]
dec ebx
lea ebp, [ebp + 1]
movzx edx, byte [eax + 0x5ad690]
xor edx, ecx
xor edi, edx
test ebx, ebx
jg 0x467780
mov ecx, dword [esp + 0x24]
mov eax, edi
mov ebx, dword [esp + 0x18]
xor edx, edx
mov ebp, dword [esp + 0x1c]
div dword [esp + 0x14]
mov edi, edx
push edi
mov edx, ecx
mov ecx, ebx
push esi
call fcn.00434c90
add esp, 8
test eax, eax
je 0x4677d8
mov esi, dword [eax + 8]
mov edx, eax
push edi
mov ecx, ebx
call fcn.00434d40
add esp, 4
jmp 0x4677da
xor esi, esi
mov edx, esi
mov ecx, ebp
call fcn.00467580
or dword [ebp + 0x18], 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x469660
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
add edx, edx
push ebx
mov ebx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
push ebp
mov eax, dword [ebx]
push esi
push edi
mov dword [esp + 0x1c], ebx
mov eax, dword [eax + 0x10]
mov esi, dword [eax + edx*8]
mov eax, 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], eax
nop
push eax
push str.sqlite_stat_d
lea eax, [esp + 0x3c]
push eax
push 0x18
call fcn.00432b50
mov eax, dword [ebx]
lea ecx, [esp + 0x44]
add esp, 0x10
mov dword [esp + 0x18], eax
xor ebp, ebp
cmp byte [esp + 0x34], 0
je 0x4696ce
inc ecx
cmp byte [ecx], 0
jne 0x4696c8
lea edx, [esp + 0x34]
xor ebx, ebx
sub ecx, edx
mov dword [esp + 0x20], ebx
mov edx, dword [eax + 0x14]
and ecx, 0x3fffffff
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], edx
test edx, edx
jle 0x469815
mov edi, ebx
cmp ebx, 2
jge 0x4696fd
xor edi, 1
test esi, esi
je 0x46975d
mov ecx, dword [esp + 0x18]
mov edx, edi
add edx, edx
mov eax, esi
mov ecx, dword [ecx + 0x10]
mov esi, dword [ecx + edx*8]
mov ecx, dword [esp + 0x10]
mov cl, byte [ecx]
test cl, cl
je 0x46973d
jmp 0x469720
movzx edx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x5ad690]
cmp cl, byte [edx + 0x5ad690]
jne 0x46973d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x469720
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx eax, byte [eax + 0x5ad690]
movzx ecx, byte [ecx + 0x5ad690]
sub eax, ecx
jne 0x4697d0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
add edi, edi
mov ebp, dword [eax + edi*8 + 0xc]
cmp dword [ebp + 0x14], 0
je 0x4697ae
xor esi, esi
lea ebx, [esp + 0x34]
mov edi, ecx
test ecx, ecx
jle 0x4697a1
jmp 0x469780
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x5ad690]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x469780
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, esi
xor edx, edx
div dword [ebp + 8]
jmp 0x4697b0
xor edx, edx
push edx
push ecx
lea edx, [esp + 0x3c]
lea ecx, [ebp + 8]
call fcn.00434c90
add esp, 8
test eax, eax
je 0x4697ce
mov ebp, dword [eax + 8]
test ebp, ebp
jne 0x4697ef
jmp 0x4697d0
xor ebp, ebp
mov ecx, dword [esp + 0x14]
inc ebx
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
cmp ebx, dword [esp + 0x30]
jl 0x4696f3
test ebp, ebp
je 0x469815
push dword [esp + 0x28]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x38]
push dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
push eax
push esi
push str.DELETE_FROM__Q._s_WHERE__s_Q
push ebx
call fcn.00466de0
add esp, 0x18
jmp 0x469819
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, 4
jle 0x4696a0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00564de8
add esp, 0x44
ret
Function at 0x4871f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
add edx, edx
mov ecx, dword [esp + 0x1c]
push esi
push edi
mov eax, dword [ebp + 0x10]
mov esi, ecx
mov dword [esp + 0x1c], ebp
mov ebx, dword [eax + edx*8 + 0xc]
add ebx, 0x28
mov dword [esp + 0x18], ebx
test ecx, ecx
je 0x48722e
cmp byte [ecx], 0
je 0x487226
lea esp, [esp]
inc esi
cmp byte [esi], 0
jne 0x487220
sub esi, ecx
and esi, 0x3fffffff
mov eax, dword [ebx]
xor edi, edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x487276
mov ebx, esi
mov ebp, ecx
test esi, esi
jle 0x487264
movzx eax, byte [ebp]
lea ecx, [edi*8]
dec ebx
lea ebp, [ebp + 1]
movzx edx, byte [eax + 0x5ad690]
xor edx, ecx
xor edi, edx
test ebx, ebx
jg 0x487242
mov ecx, dword [esp + 0x24]
mov eax, edi
mov ebx, dword [esp + 0x18]
xor edx, edx
mov ebp, dword [esp + 0x1c]
div dword [esp + 0x14]
mov edi, edx
push edi
mov edx, ecx
mov ecx, ebx
push esi
call fcn.00434c90
add esp, 8
test eax, eax
je 0x487302
mov esi, dword [eax + 8]
mov edx, eax
push edi
mov ecx, ebx
call fcn.00434d40
add esp, 4
test esi, esi
je 0x487302
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
jne 0x4872c4
mov ecx, esi
call fcn.00487020
lea ecx, [eax + 0x40]
mov eax, dword [ecx]
cmp eax, esi
je 0x4872bd
lea ecx, [eax + 0x20]
mov eax, dword [ecx]
cmp eax, esi
jne 0x4872b4
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
mov edx, dword [esi + 0x1c]
mov ecx, ebp
call fcn.00486110
mov edx, dword [esi]
mov ecx, ebp
call fcn.00431240
mov edx, dword [esi + 4]
mov ecx, ebp
call fcn.00431240
mov edx, dword [esi + 0xc]
mov ecx, ebp
call fcn.0045eaf0
mov edx, dword [esi + 0x10]
mov ecx, ebp
call fcn.0046b1e0
mov edx, esi
mov ecx, ebp
call fcn.00431240
or dword [ebp + 0x18], 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x49fbc0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x58bc8e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x54]
mov bl, 1
and eax, 0xc
cmp al, 0xc
je 0x49fd7e
mov eax, dword [esi + 0x5c]
cmp eax, 1
jne 0x49fc7f
push 0x2c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
lea ecx, [esp + 0x10]
push dword [esi + 0x60]
call fcn.0049ca30
mov dword [esp + 0x50], 0
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x18]
call fcn.004a0270
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x10], 0x5b95f8
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x49fd7e
push ecx
call fcn.00564d4d
jmp 0x49fd7e
cmp eax, 2
jne 0x49fcf9
push 0x34
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
lea ecx, [esp + 0x10]
push dword [esi + 0x60]
call fcn.004adb50
mov dword [esp + 0x50], 6
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x18]
call fcn.004a02f0
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x10], 0x5b9f1c
mov dword [esp + 0x50], 0xffffffff
lea eax, [esp + 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x24]
test eax, eax
je 0x49fd7e
push eax
call fcn.00564d4d
jmp 0x49fd7e
push str.http:__jifen.yl234.com_jifen_p5
lea ecx, [esp + 0x14]
call fcn.00403a70
mov dword [esp + 0x50], 0xc
lea eax, [esp + 0x10]
cmp dword [esp + 0x24], 8
push 1
cmovae eax, dword [esp + 0x14]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x49fd4c
or byte [esi + 0x58], 2
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x49fd67
push dword [esp + 0x10]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00564de8
add esp, 0x48
ret
Function at 0x4a2600
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x10
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x4a2670
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [esp + 0x10], eax
call esi
push dword [edi + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0xc]
push ecx
push esi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00564de8
add esp, 0x10
ret
shr ecx, 2
test cl, 1
je 0x4a26b3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
movzx ecx, si
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00564de8
add esp, 0x10
ret
push 1
push 0
push 0
push dword [edi + 0x28]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x4a26e4
or byte [edi + 0x58], 2
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x18]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00564de8
add esp, 0x10
ret
Function at 0x4a3990
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58b76e
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 4], ecx
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [esp + 8], eax
mov dword [eax + 0xc], 0
mov dword [esp + 0x14], 1
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [esp + 0x14], 4
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx], 0x5b9aa0
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x34], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, ecx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 0x14
Function at 0x4a51c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x58c3f6
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 4], ecx
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [esp + 8], eax
mov dword [eax + 0xc], 0
mov dword [esp + 0x14], 1
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [esp + 0x14], 4
mov dword [ecx], fcn.004a2d70
mov dword [ecx + 0x20], 0
mov byte [ecx + 0x24], 0
mov dword [esp + 0x14], 5
mov dword [ecx], 0x5b9bd4
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, ecx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret
Function at 0x4a6b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58c713
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x10], ebx
lea eax, [ebx + 8]
mov dword [ebx + 4], 0
mov dword [esp + 0x14], eax
mov dword [eax + 0xc], 0
mov dword [esp + 0x20], 1
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [esp + 0x20], 4
lea esi, [ebx + 0x3c]
mov dword [ebx + 0x20], 0x5b9ea8
push ecx
mov dword [ebx], 0x5b9ef4
mov ecx, esi
mov dword [ebx + 0x20], 0x5b9ec4
mov dword [ebx + 0x30], 0
mov dword [esp + 0x18], esi
call fcn.0049fdd0
mov byte [esp + 0x20], 5
mov edi, dword [esp + 0x2c]
or dword [esi + 0x54], 4
mov dword [esi], 0x5b9908
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], edi
mov byte [esp + 0x20], 6
lea esi, [ebx + 0xa0]
push ecx
mov ecx, esi
mov dword [esp + 0x30], esi
call fcn.0049fdd0
mov byte [esp + 0x20], 7
or dword [esi + 0x54], 4
mov dword [esi], 0x5b9908
mov dword [esi + 0x5c], 1
mov dword [esi + 0x60], edi
mov byte [esp + 0x20], 8
lea esi, [ebx + 0x104]
push ecx
mov ecx, esi
mov dword [esp + 0x30], esi
call fcn.0049fdd0
mov byte [esp + 0x20], 9
or dword [esi + 0x54], 4
mov dword [esi], 0x5b9908
mov dword [esi + 0x5c], 2
mov dword [esi + 0x60], edi
mov byte [esp + 0x20], 0xa
lea ecx, [ebx + 0x168]
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
mov dword [eax + 0xc], 0
mov byte [esp + 0x20], 0xc
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov byte [esp + 0x20], 0xd
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ecx + 0x20], eax
mov byte [esp + 0x20], 0xf
mov dword [ecx], 0x5b9f08
mov byte [esp + 0x20], 0x10
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x19c], eax
mov dword [ebx + 0x1a0], edi
lea esi, [ebx + 0x1a4]
mov dword [esi], 0
mov dword [esp + 0x2c], esi
mov dword [esi + 4], 0
call fcn.004a4520
mov dword [esi], eax
mov byte [esp + 0x20], 0x15
xor eax, eax
mov dword [ebx + 0x1c8], 7
mov dword [ebx + 0x1c4], 0
mov word [ebx + 0x1b4], ax
mov byte [esp + 0x20], 0x16
mov dword [ebx + 0x1e0], eax
mov dword [ebx + 0x1e4], eax
mov dword [ebx + 0x1e8], eax
mov byte [esp + 0x20], 0x17
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x190], 0x46
mov dword [ebx + 0x194], eax
mov dword [ebx + 0x198], eax
mov dword [ebx + 0x1ac], eax
mov word [ebx + 0x1cc], 1
mov word [ebx + 0x1d9], ax
mov dword [ebx + 0x1d0], 0xf
mov dword [ebx + 0x1d4], eax
mov byte [ebx + 0x1d8], al
mov dword [ebx + 0x1dc], eax
mov byte [ebx + 0x1db], 1
mov word [ebx + 0x1b0], 0x101
mov dword [esp + 0x20], 0xffffffff
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x4ad2c0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x58d168
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x1a0]
call fcn.004128f0
test al, al
je 0x4ad363
push 0x60
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
lea ecx, [esp + 0xc]
push dword [esi + 0x1a0]
call fcn.004aea50
mov dword [esp + 0x78], 0
push ecx
push dword [esi + 4]
lea ecx, [esp + 0x14]
call fcn.004ad690
push 0
call fcn.005690e1
mov ecx, dword [esi + 0x1a0]
add esp, 4
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x114], edx
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004aeb70
mov ecx, dword [esi + 0x1a0]
cmp byte [ecx + 0x108], 0
je 0x4ad3ac
mov eax, dword [ecx + 0x110]
or eax, dword [ecx + 0x114]
je 0x4ad3ac
xor eax, eax
mov bl, 1
cmp byte [ecx + 0x109], al
push 0
setne al
push eax
push 0xf1
push 0x43a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4ad3ae
xor bl, bl
xor eax, eax
mov ecx, 5
test bl, bl
cmovne eax, ecx
push eax
push 0x43a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00564de8
add esp, 0x70
ret 0x10

Function at 0x4adb50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58b76e
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [esp + 4], edx
lea eax, [edx + 8]
mov dword [edx + 4], 0
mov dword [esp + 8], eax
mov dword [eax + 0xc], 0
mov dword [esp + 0x14], 1
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [esp + 0x14], 4
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov dword [edx], 0x5b9f1c
mov dword [edx + 0x24], eax
mov dword [edx + 0x30], 0
mov eax, dword [ecx + 0xe8]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0xec]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 4
Function at 0x4b7220
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5cd9f0
push 0x56f180
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x5e173c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00403bf0
mov edx, esi
mov ecx, edi
call fcn.004b7380
mov bl, al
mov byte [ebp - 0x431], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x4b72b5
test bl, bl
jne 0x4b735d
cmp edi, 0x1a
jne 0x4b735d
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x4b72d7
mov eax, dword [esi]
jmp 0x4b72d9
mov eax, esi
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x430], ax
push 0x40e
push eax
lea eax, [ebp - 0x42e]
push eax
call fcn.0056cbb0
add esp, 0xc
push 0x207
lea eax, [ebp - 0x430]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp word [ebp - 0x430], 0
jne 0x4b7321
xor ecx, ecx
jmp 0x4b733f
lea ecx, [ebp - 0x430]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b7330
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x430]
push eax
mov ecx, esi
call fcn.00404a80
movzx ebx, bl
mov eax, 1
cmp dword [esi + 0x10], 0
cmovne ebx, eax
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00564de8
mov esp, ebp
pop ebp
ret

Function at 0x4b8050
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push edi
mov edi, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x4b807e
xor al, al
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00564de8
add esp, 8
ret 4
push esi
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b80b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4b80b9
pop esi
xor al, al
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00564de8
add esp, 8
ret 4
mov ecx, dword [esp + 8]
xor eax, eax
add eax, esi
mov dword [edi], eax
mov al, 1
adc ecx, 0
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0xc]
pop esi
pop edi
xor ecx, esp
call fcn.00564de8
add esp, 8
ret 4