joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c2160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70cf78
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edx, dword [0x829274]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], vtable.wxListItem.0
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], eax
call fcn.005c1e60
test al, al
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 8]
jne 0x5c220c
call fcn.005c1a30
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 4
mov esi, dword [esp + 0x2c]
call fcn.005c1a30
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 4

Function at 0x5c2360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70cf78
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x829274]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], vtable.wxListItem.0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], edx
call fcn.005fbb30
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 8]
mov dword [esp + 0x14], ecx
push edx
mov ecx, esi
mov dword [esp + 0x14], 6
call fcn.005c22a0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.005c1a30
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 0xc
Function at 0x5c24c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70cf78
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x829274]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], vtable.wxListItem.0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x50]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], 0x42
call fcn.005fbb30
mov eax, dword [esp + 0x58]
cmp eax, 0xffffffff
jle 0x5c2556
or dword [esp + 0x10], 0x20
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
lea ecx, [esp + 8]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.005c2430
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.005c1a30
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 0x10

Function at 0x5c31f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70cf78
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x829274]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], vtable.wxListItem.0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x54]
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], eax
call fcn.005fbb30
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
cmp eax, 0xffffffff
mov dword [esp + 0x10], 2
mov dword [esp + 0x18], ecx
jle 0x5c329d
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 6
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.005c30a0
lea ecx, [esp + 8]
movzx esi, al
mov dword [esp + 0x44], 0xffffffff
call fcn.005c1a30
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x40
ret 0x10
Function at 0x5c5910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70d341
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.wxLayoutConstraints.0
lea ecx, [esi + 0x120]
mov dword [esp + 0x14], 7
mov dword [ecx], vtable.wxObject.0
call fcn.005fd8d0
lea ecx, [esi + 0xf8]
mov byte [esp + 0x14], 6
mov dword [ecx], vtable.wxObject.0
call fcn.005fd8d0
lea ecx, [esi + 0xd0]
mov byte [esp + 0x14], 5
mov dword [ecx], vtable.wxObject.0
call fcn.005fd8d0
lea ecx, [esi + 0xa8]
mov byte [esp + 0x14], 4
mov dword [ecx], vtable.wxObject.0
call fcn.005fd8d0
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 3
mov dword [ecx], vtable.wxObject.0
call fcn.005fd8d0
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 2
mov dword [ecx], vtable.wxObject.0
call fcn.005fd8d0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
mov dword [ecx], vtable.wxObject.0
call fcn.005fd8d0
lea ecx, [esi + 8]
mov byte [esp + 0x14], 0
mov dword [ecx], vtable.wxObject.0
call fcn.005fd8d0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], vtable.wxObject.0
call fcn.005fd8d0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x5c9400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70d773
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi + 4], ebx
push 0x40
mov dword [esp + 0x28], ebx
mov dword [esi], vtable.wxPen.0
call fcn.005416ba
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 1
je 0x5c945c
mov ecx, eax
call fcn.005c8e40
jmp 0x5c945e
xor eax, eax
mov ebp, dword [esp + 0x2c]
lea edi, [eax + 0x28]
cmp edi, ebp
mov byte [esp + 0x24], bl
mov dword [esi + 4], eax
je 0x5c9478
push ebp
mov ecx, edi
call fcn.005fd950
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
movzx ecx, byte [ebp + 0xc]
mov byte [edi + 0xc], cl
movzx edx, byte [ebp + 0xd]
mov byte [edi + 0xd], dl
mov al, byte [ebp + 0xe]
mov byte [edi + 0xe], al
movzx ecx, byte [ebp + 0xf]
mov byte [edi + 0xf], cl
movzx edx, byte [ebp + 0x10]
mov ecx, dword [esp + 0x30]
mov byte [edi + 0x10], dl
mov eax, dword [esi + 4]
mov dword [eax + 8], ecx
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x34]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 4]
mov dword [ecx + 0x10], 0x7a
mov edx, dword [esi + 4]
mov dword [edx + 0x14], 0x82
mov eax, dword [esi + 4]
mov dword [eax + 0x20], ebx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x24], ebx
mov edx, dword [esi + 4]
mov ecx, esi
mov dword [edx + 0x3c], ebx
call fcn.005c8fd0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x5d1710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70e0a1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.005d1640
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 1
call fcn.005e8b20
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.005fd810
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x38], 0
call fcn.005d15e0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x5dd570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70ee1e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], vtable.wxPrintData.0
mov eax, dword [0x829274]
lea ecx, [esi + 0x20]
mov dword [esp + 0x18], ebx
mov dword [ecx], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov edx, dword [0x829274]
mov dword [esi + 0x3c], edx
mov eax, 1
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 3
mov dword [esi + 0x18], eax
mov byte [esi + 0x1c], bl
mov dword [esi + 0x14], eax
mov byte [esi + 0x1d], bl
mov eax, dword [0x829274]
push eax
mov byte [esp + 0x1c], 2
call fcn.005fc350
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x30], ebx
mov ecx, dword [0x823328]
mov dword [esi + 0x34], ecx
mov edx, dword [0x82332c]
mov dword [esi + 0x38], edx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
call fcn.005eb970
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
mov dword [esi + 0x48], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x5e2aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70fb78
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00402168
mov ecx, esi
mov dword [esp + 0x14], 0
mov dword [esi], vtable.wxListCtrl.0
call fcn.005c07e0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.005c1d10
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c
Function at 0x604ef0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x711e28
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00604970
mov ebx, dword [esp + 0x44]
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x38], edi
jne 0x604f3e
mov ebx, 0x7b6c48
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x604f43
sub eax, edx
movzx ebp, ax
mov dword [esp + 0x20], vtable.wxConvAuto.0
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x20]
push ecx
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 1
call fcn.00627a40
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call fcn.005a7e50
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
movzx ecx, word [esi + 6]
push ebp
push edx
movzx edx, word [esi + 4]
push eax
movzx eax, word [esi + 2]
push ecx
movzx ecx, word [esi]
push edx
push eax
push ecx
push 0x6054b50
lea ecx, [esp + 0x34]
call fcn.00627b60
mov ecx, eax
call fcn.00627ba0
mov ecx, eax
call fcn.00627ba0
mov ecx, eax
call fcn.00627ba0
mov ecx, eax
call fcn.00627ba0
mov ecx, eax
call fcn.00627b60
mov ecx, eax
call fcn.00627b60
mov ecx, eax
call fcn.00627ba0
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
movzx eax, bp
push eax
push ebx
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea ecx, [esp + 0x14]
mov bl, al
mov byte [esp + 0x38], 0
call fcn.00627a70
mov eax, dword [esp + 0x44]
push eax
call fcn.0054d3b5
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x607d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x71223e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x20]
mov dword [esi], vtable.wxZipEntry.0
mov byte [esi + 0xc], al
mov byte [esi + 0xd], 0x1c
mov word [esi + 0xe], 0x14
mov word [esi + 0x10], ax
mov word [esi + 0x12], 0xffff
mov edx, dword [ecx]
mov dword [esi + 0x18], edx
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x30], edx
mov edx, dword [esp + 0x28]
or ecx, 0xffffffff
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x34], edx
mov edx, dword [0x829274]
mov dword [esp + 0x14], eax
mov dword [esi + 0x38], edx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
mov ecx, dword [0x829274]
mov dword [esi + 0x50], ecx
mov ecx, dword [esp + 0x1c]
mov word [esi + 0x54], ax
mov word [esi + 0x56], ax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov edx, dword [ecx]
cmp dword [edx - 8], eax
mov byte [esp + 0x14], 2
je 0x607e38
push eax
push ecx
mov ecx, esi
call fcn.00607ae0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10
Function at 0x60ec70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x712a88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.wxBufferedInputStream.0
mov eax, dword [esi + 0x20]
mov edi, dword [eax + 8]
sub edi, dword [eax + 0xc]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
xor eax, eax
neg edi
adc eax, eax
push 1
neg eax
push eax
push edi
mov dword [esp + 0x24], 0
call edx
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x60ecd5
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0060e310
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x610360
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x712be2
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x820ac4]
xor eax, esp
mov dword [esp + 0xac], eax
push ebp
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov eax, dword [0x829274]
mov dword [esp + 0x14], ebx
mov dword [ebx], eax
push ebp
push ebp
mov dword [esp + 0xd0], ebp
mov dword [esp + 0x18], 1
mov edi, 0x7b5d88
call fcn.0055e4d6
add esp, 8
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x6104f5
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push 0x51
lea ecx, [esp + 0x1c]
push ecx
push 0x1f
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6104f5
xor edi, edi
xor esi, esi
lea ebp, [esp + 0x18]
movzx eax, word [ebp]
cmp ax, di
jne 0x610411
add esi, 1
add ebp, 2
jmp 0x610400
movzx ecx, ax
add ecx, 0xffffffb3
cmp ecx, 0x2c
ja case.0x610423.78
movzx edx, byte [ecx + 0x610528]
jmp dword [edx*4 + 0x610520]
movzx edi, ax
mov esi, 1
jmp 0x6104e6
test esi, esi
je 0x6104be
movzx eax, di
cmp eax, 0x4d
je 0x610491
cmp eax, 0x64
je 0x61046d
cmp eax, 0x79
jne case.default.0x610499
test esi, esi
jbe case.default.0x610499
cmp esi, 2
jbe 0x610466
cmp esi, 4
jne case.default.0x610499
push 0x7748a0
jmp 0x6104b3
push 0x774898
jmp 0x6104b3
lea eax, [esi - 1]
cmp eax, 3
ja case.default.0x610499
jmp dword [eax*4 + 0x610558]
push 0x7c796c
jmp 0x6104b3
push 0x7747f8
jmp 0x6104b3
push 0x7747f0
jmp 0x6104b3
lea eax, [esi - 1]
cmp eax, 3
ja case.default.0x610499
jmp dword [eax*4 + 0x610568]
push 0x774890
jmp 0x6104b3
push 0x7747e8
jmp 0x6104b3
push 0x7747e0
mov ecx, ebx
call fcn.0041ad71
xor edi, edi
xor esi, esi
movzx eax, word [ebp]
test ax, ax
je 0x6104f5
cmp ax, 0x25
jne 0x6104d8
push 0x25
push 1
mov ecx, ebx
call fcn.005fc2d0
movzx eax, word [ebp]
push eax
push 1
mov ecx, ebx
call fcn.005fc2d0
cmp word [ebp], 0
je 0x6104f5
add ebp, 2
jmp 0x610400
mov eax, ebx
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0054ae61
add esp, 0xbc
ret
Function at 0x6173d0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x7132d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
push 0
call fcn.006172c0
test al, al
mov esi, dword [esp + 0x34]
je 0x61753e
test esi, esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
je 0x61742a
cmp word [esi], 0
je 0x61742a
xor eax, eax
jmp 0x61742f
mov eax, 1
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg al
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
sbb eax, eax
not eax
and eax, esi
push eax
mov eax, dword [ebx]
push eax
call ebp
test eax, eax
mov dword [ebx + 0x10], eax
jne 0x61753e
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x617473
mov ecx, dword [esp + 0x38]
push eax
call fcn.005fd7c0
jmp 0x617534
mov edi, dword [esp + 0x38]
push eax
mov ecx, edi
call fcn.005fbd90
test esi, esi
je 0x61748d
cmp word [esi], 0
je 0x61748d
xor ecx, ecx
jmp 0x617492
mov ecx, 1
neg cl
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x20]
push eax
push 0
sbb ecx, ecx
not ecx
and ecx, esi
push ecx
mov ecx, dword [ebx]
push ecx
call ebp
mov ecx, edi
mov dword [ebx + 0x10], eax
call fcn.005fc3a0
cmp dword [esp + 0x18], 2
jne 0x617534
cmp byte [esp + 0x3c], 0
jne 0x617534
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0
push eax
call esi
mov ebp, eax
test ebp, ebp
setne al
test al, al
je 0x617530
mov edx, dword [0x829274]
mov dword [esp + 0x3c], edx
push ebp
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0
call fcn.00582a50
mov eax, dword [eax + 4]
mov ecx, dword [edi]
push ebp
push eax
push ecx
call esi
mov ecx, dword [esp + 0x1c]
call fcn.005fc3a0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.005fbb30
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00418698
mov esi, dword [esp + 0x34]
cmp dword [ebx + 0x10], 0
jne 0x61753e
mov al, 1
jmp 0x617576
call fcn.00600a10
test eax, eax
je 0x61755b
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.Cant_read_value_of__s
call eax
mov edi, eax
jmp 0x617560
mov edi, str.Cant_read_value_of__s
push ebx
call fcn.00617100
mov ecx, dword [ebx + 0x10]
push eax
push edi
push ecx
call fcn.0060b830
add esp, 0x10
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc

Function at 0x619330
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
movzx ecx, word [edx]
xor eax, eax
test cx, cx
je 0x61935d
mov edi, edi
movzx ecx, cx
add eax, ecx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
add edx, 2
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x619340
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x61b360
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x61b37c
test al, 0x10
jne 0x61b37c
mov eax, 1
ret
xor eax, eax
ret

Function at 0x61b4d0
Capabilities:
Copy file

Disassembly:
xor edx, edx
cmp byte [esp + 0xc], dl
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
sete dl
push edi
mov edi, dword [esp + 0xc]
mov ecx, dword [edi]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x61b536
mov esi, dword [esi]
mov edi, dword [edi]
call fcn.00600a10
test eax, eax
je 0x61b521
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push 0x776d30
call eax
push esi
push edi
push eax
call fcn.0060b870
add esp, 0xc
pop edi
xor al, al
pop esi
ret
push esi
mov eax, 0x776d30
push edi
push eax
call fcn.0060b870
add esp, 0xc
pop edi
xor al, al
pop esi
ret
pop edi
mov al, 1
pop esi
ret

Function at 0x61c530
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x61c5ae
mov eax, dword [esi]
test eax, eax
je 0x61c5ae
push ebx
push edi
mov edi, dword [esp + 0x14]
push eax
push edi
push 1
push ecx
call fcn.006ccef5
mov ebx, eax
add esp, 0x10
cmp ebx, edi
jae 0x61c5a6
mov eax, dword [esi]
push eax
call fcn.006cc971
add esp, 4
test eax, eax
je 0x61c5a6
mov esi, dword [esi + 4]
call fcn.00600a10
test eax, eax
je 0x61c597
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push str.Read_error_on_file__s
call eax
push esi
push eax
call fcn.0060b870
add esp, 8
pop edi
mov eax, ebx
pop ebx
pop esi
ret 8
mov eax, str.Read_error_on_file__s
push esi
push eax
call fcn.0060b870
add esp, 8
pop edi
mov eax, ebx
pop ebx
pop esi
ret 8
xor eax, eax
pop esi
ret 8
Function at 0x61c8d0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x7139f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esp + 0x28], 0
je 0x61c9a4
cmp dword [esi], 0
je 0x61c9a4
call fcn.0061c860
test edx, edx
jl 0x61c9a4
jg 0x61c923
test eax, eax
jb 0x61c9a4
mov ecx, esi
call fcn.0061c860
mov ecx, esi
mov edi, eax
mov dword [esp + 0x14], edx
call fcn.0061c860
xor ecx, ecx
cmp edi, eax
jne 0x61c9a4
cmp ecx, edx
jne 0x61c9a4
mov eax, dword [esi]
push eax
call fcn.006cd4af
add esp, 4
lea ecx, [edi + 1]
push ecx
lea ecx, [esp + 0x14]
call fcn.005bb2b0
mov edx, dword [esi]
push edx
push edi
mov edi, dword [esp + 0x18]
push 1
push edi
mov dword [esp + 0x30], 0
call fcn.006ccef5
mov ebp, eax
mov eax, dword [esi]
push eax
call fcn.006cc971
add esp, 0x14
test eax, eax
je 0x61c9bb
mov esi, dword [esi + 4]
push esi
push 0
push str.Read_error_on_file__s
call fcn.0040fbb8
add esp, 8
push eax
call fcn.0060b870
push edi
call fcn.0054d3b5
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8
mov edx, dword [esp + 0x2c]
mov byte [edi + ebp], 0
mov ecx, dword [0x77132c]
push ecx
push edx
push edi
lea ecx, [esp + 0x38]
call fcn.005fd4c0
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x24], 1
call fcn.00401bbd
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.00418698
push edi
call fcn.0054d3b5
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8