joyce8/EMBER2024-capa huggingface dataset:
Function at 0x67da00
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ecx
push ebp
mov ecx, dword [esp + 0x4c]
push esi
or esi, 0xffffffff
push edi
lea eax, [ecx + 1]
sub esi, ecx
movsx ecx, byte [ebx]
test ecx, ecx
je 0x67da23
inc ebx
mov edx, ecx
add eax, 8
sar edx, 7
and dl, 1
xor byte [eax - 9], dl
mov edx, ecx
sar edx, 6
and dl, 1
xor byte [eax - 8], dl
mov edx, ecx
sar edx, 5
and dl, 1
xor byte [eax - 7], dl
mov edx, ecx
sar edx, 4
and dl, 1
xor byte [eax - 6], dl
mov edx, ecx
sar edx, 3
and dl, 1
xor byte [eax - 5], dl
mov edx, ecx
sar edx, 2
and dl, 1
xor byte [eax - 4], dl
mov edx, ecx
sar edx, 1
and dl, 1
and cl, 1
xor byte [eax - 3], dl
mov dl, byte [eax - 2]
xor dl, cl
lea ecx, [esi + eax]
mov byte [eax - 2], dl
cmp ecx, 0x40
jl 0x67da1b
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x10]
mov ecx, 0xe
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov edx, 0x76d4d0
mov al, byte [esp + 0x14]
mov ecx, 0x1b
lea esi, [esp + 0x15]
lea edi, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x2f], al
mov al, byte [esp + 0x30]
mov ecx, 0x1b
lea esi, [esp + 0x31]
lea edi, [esp + 0x30]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x4b], al
mov eax, dword [edx]
cmp eax, 2
jne 0x67db00
mov al, byte [esp + 0x14]
mov ecx, 0x1b
lea esi, [esp + 0x15]
lea edi, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x2f], al
mov al, byte [esp + 0x30]
mov ecx, 0x1b
lea esi, [esp + 0x31]
lea edi, [esp + 0x30]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x4b], al
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x76d520]
inc eax
cmp eax, 0x30
mov cl, byte [esp + ecx + 0x13]
mov byte [eax + ebp - 1], cl
jl 0x67db02
add edx, 4
add ebp, 0x30
cmp edx, 0x76d510
jl 0x67da9d
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
push 1
push edx
call fcn.0067d690
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
Function at 0x67db50
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x40
xor eax, eax
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0x10]
push 0x7a9cc4
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, ebx
call fcn.0067da00
lea edx, [esp + 0x10]
push 0x7a9cfc
push edx
push eax
mov ecx, ebx
call fcn.0067da00
lea ecx, [esp + 0x10]
push 0x7a9d34
push ecx
push eax
mov ecx, ebx
call fcn.0067da00
lea edx, [esp + 0x10]
push 0x7a9d6c
push edx
push eax
mov ecx, ebx
call fcn.0067da00
mov ecx, 0xe
lea esi, [esp + 0x10]
lea edi, [esp + 0x10]
mov ebp, ebx
rep movsd dword es:[edi], dword [esi]
mov edx, 0x76d4d0
mov al, byte [esp + 0x10]
mov ecx, 0x1b
lea esi, [esp + 0x11]
lea edi, [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x2b], al
mov al, byte [esp + 0x2c]
mov ecx, 0x1b
lea esi, [esp + 0x2d]
lea edi, [esp + 0x2c]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x47], al
mov eax, dword [edx]
cmp eax, 2
jne 0x67dc2b
mov al, byte [esp + 0x10]
mov ecx, 0x1b
lea esi, [esp + 0x11]
lea edi, [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x2b], al
mov al, byte [esp + 0x2c]
mov ecx, 0x1b
lea esi, [esp + 0x2d]
lea edi, [esp + 0x2c]
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x47], al
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x76d520]
inc eax
cmp eax, 0x30
mov cl, byte [esp + ecx + 0xf]
mov byte [eax + ebp - 1], cl
jl 0x67dc2d
add edx, 4
add ebp, 0x30
cmp edx, 0x76d510
jl 0x67dbc8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
Function at 0x681970
Capabilities:
Get file size
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x75b210
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], 0xffffffff
mov dword [ebp - 4], eax
push eax
push 0x8000027
push 3
push eax
push 1
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffffff
jne 0x6819d7
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x20], eax
jmp 0x681ad0
lea ecx, [ebp - 0x18]
push ecx
push edi
call dword [sym.imp.kernel32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x681a8f
cmp eax, 4
jbe 0x681a8f
add eax, 0xfffffffc
mov dword [ebp - 0x38], eax
push eax
push 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x28], esi
push 0
lea edx, [ebp - 0x2c]
push edx
push 4
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x681a25
push esi
jmp 0x681a89
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push esi
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x681a3e
push esi
jmp 0x681a89
mov dword [ebx], 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp ecx, dword [ebp - 0x38]
jae 0x681a7d
mov al, byte [ecx + esi]
mov byte [ebp - 0x34], al
mov eax, dword [ebx]
mov edx, eax
and edx, 0xff
mov ebx, dword [ebp - 0x34]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x7a9e88]
xor edx, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], edx
inc ecx
jmp 0x681a46
mov eax, dword [ebx]
not eax
ror byte [ecx - 0x23bac6fd], 1
Function at 0x681d30
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x681d67
lea esi, [ebx + 4]
mov ebp, 0x100
mov eax, dword [esi]
test eax, eax
je 0x681d5a
push eax
mov ecx, edi
call fcn.006820e0
add esi, 4
dec ebp
jne 0x681d4c
push ebx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov ebx, dword [sym.imp.kernel32.dll_GlobalAlloc]
push 0x404
push 0x40
mov dword [edi + 4], 0
call ebx
test eax, eax
mov dword [edi + 4], eax
je 0x681e7c
mov edx, dword [esp + 0x20]
mov ax, word [0x7a456c]
mov cl, byte [0x7a456e]
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push edx
mov word [esp + 0x2c], ax
mov byte [esp + 0x2e], cl
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x681e7c
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.kernel32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x681e75
test esi, esi
je 0x681e75
lea ecx, [esi + 1]
push ecx
push 0x40
call ebx
lea edx, [esp + 0x14]
push 0
mov edi, eax
push edx
push esi
push edi
push ebp
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x681e75
lea eax, [esp + 0x10]
mov byte [edi + esi], 0
push eax
push edi
call fcn.00728aa9
mov ebx, dword [sym.imp.user32.dll_CharLowerA]
add esp, 8
push eax
call ebx
mov esi, eax
test esi, esi
je 0x681e58
mov eax, dword [esp + 0x24]
test eax, eax
je 0x681e36
mov ecx, dword [esp + 0x28]
push esi
push ecx
call eax
add esp, 8
mov ecx, dword [esp + 0x18]
push esi
call fcn.00681cd0
lea edx, [esp + 0x10]
push edx
push 0
call fcn.00728aa9
add esp, 8
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x681e23
push ebp
call dword [sym.imp.kernel32.dll_CloseHandle]
push edi
call dword [sym.imp.kernel32.dll_GlobalFree]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 0xc
push ebp
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 0xc
Function at 0x6825b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x75b273
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x76dee8
mov ecx, dword [esi + 0x1c]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x14], 1
je 0x6825ec
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 0x30]
cmp eax, ebx
mov byte [esp + 0x14], bl
je 0x682617
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x68260e
cmp al, 0xff
je 0x68260e
dec al
mov byte [ecx], al
jmp 0x682617
push ecx
call fcn.00726ea6
add esp, 4
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.006f8240
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x685770
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x75b781
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.006f81d0
push 0x4605a0
push 0x460490
push 3
lea eax, [esi + 0x38]
xor ebx, ebx
push 0x68
push eax
mov dword [esp + 0x38], ebx
call fcn.00727513
mov cl, byte [esp + 0xe]
lea edi, [esi + 0x170]
mov byte [esp + 0x24], 1
mov dword [esp + 0x14], edi
mov byte [edi + 4], cl
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
lea edx, [esp + 0xe]
lea eax, [esp + 0xf]
push edx
lea ecx, [edi + 0x14]
push ebx
push eax
mov byte [esp + 0x30], 2
mov dword [esp + 0x24], ecx
call fcn.0068ff00
mov byte [esp + 0x24], 4
mov dword [edi], 0x76633c
push 0x460de0
push 0x460dd0
push 0x20
lea ecx, [esi + 0x3a8]
push 8
push ecx
mov byte [esp + 0x38], 5
call fcn.00727513
lea ecx, [esi + 0x5b8]
mov byte [esp + 0x24], 6
call fcn.00449720
mov byte [esp + 0x24], 7
lea edi, [esi + 0x1a8]
mov ecx, 8
xor eax, eax
mov dword [esi], 0x76df30
mov dword [esi + 0x1a4], ebx
xor edx, edx
rep stosd dword es:[edi], eax
mov dword [esi + 0x20], edx
or edi, 0xffffffff
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x390], ebx
mov dword [esi + 0x394], ebx
mov dword [esi + 0x398], 1
mov dword [esi + 0x39c], ebx
mov dword [esi + 0x3a0], ebx
mov byte [esi + 0x3a4], bl
mov byte [esi + 0x3a5], bl
mov byte [esi + 0x3a6], bl
mov dword [esi + 0x384], ebx
mov dword [esi + 0x388], ebx
mov dword [esi + 0x38c], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [0x93c98c]
mov dword [eax + 0x48c], edi
mov ecx, dword [0x93c98c]
mov dword [ecx + 0x494], edi
push 0x44
call fcn.00726f70
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 8
je 0x6858d6
mov ecx, eax
call fcn.00643350
jmp 0x6858d8
xor eax, eax
mov byte [esp + 0x24], 7
push 0x28
mov dword [esi + 0x2c], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 9
je 0x685900
mov ecx, eax
call fcn.0069fc90
jmp 0x685902
xor eax, eax
mov byte [esp + 0x24], 7
push 0x80
mov dword [esi + 0x30], eax
call fcn.00726f70
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xa
je 0x68592d
mov ecx, eax
call fcn.006f34a0
jmp 0x68592f
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x24], 7
mov dword [esi + 0x34], eax
mov dword [esp + 0x24], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x69bc60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x75c768
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x34
call fcn.00726f70
mov esi, eax
xor ebp, ebp
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esi + 4], ebp
mov dword [esi + 0x30], 1
mov ebx, esi
call fcn.007376fa
mov eax, dword [0x93c5b8]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
jne 0x69bcbe
mov dword [0x93c5b8], esi
mov dword [esi], ebp
mov eax, dword [0x93c5b8]
xor ebx, ebx
mov dword [eax + 8], ebp
mov ecx, dword [0x93c5b4]
inc ecx
mov dword [0x93c5b4], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00737796
cmp ebx, ebp
je 0x69bce9
push ebx
call fcn.00726ea6
add esp, 4
mov esi, dword [0x93c5b8]
push 0x34
call fcn.00726f70
mov dword [eax + 4], esi
mov dword [eax + 0x30], ebp
mov ecx, dword [esp + 0x18]
mov dword [edi + 4], eax
mov dword [edi + 0xc], ebp
mov dword [eax], eax
mov edi, dword [edi + 4]
add esp, 4
mov dword [edi + 8], edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x69e2a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x44c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x69e2c2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44c
ret 4
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x2c]
mov ecx, dword [esi + 0x34]
mov ebx, dword [esi + 0x18]
sub eax, edx
sub ecx, edi
test ebx, ebx
jne 0x69e2de
mov ebx, 0x765608
mov ebp, dword [esi + 4]
push 0
push ebp
mov ebp, dword [esi + 8]
push 0
push ebp
push ecx
push eax
push edi
push edx
push 0x40000000
push ebx
push 0x7aabcc
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
lea ecx, [esp + 0x20]
mov dword [esi + 0xc], eax
push ecx
push eax
call dword [sym.imp.user32.dll_GetClientRect]
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.user32.dll_UpdateWindow]
push edx
call edi
mov eax, dword [esi + 0xc]
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x69e33e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44c
ret 4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x69e34c
push eax
call dword [sym.imp.gdi32.dll_DeleteObject]
mov eax, dword [esp + 0x460]
mov dword [esi + 0x10], 0
test eax, eax
je 0x69e452
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x69e36d
push 0
call edi
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
push 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
sub edi, eax
sub ebx, ecx
call dword [sym.imp.user32.dll_GetDC]
push 0
mov ebp, eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov dword [esp + 0x10], eax
xor eax, eax
push eax
lea ecx, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x40]
push eax
push edx
push ebp
mov dword [esp + 0x4c], 0x28
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x5a], 0x10
mov word [esp + 0x58], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x5c], 3
mov dword [esp + 0x74], 0xf800
mov dword [esp + 0x78], 0x7e0
mov dword [esp + 0x7c], 0x1f
call dword [sym.imp.gdi32.dll_CreateDIBSection]
mov dword [esp + 0x14], eax
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.gdi32.dll_SelectObject]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push ecx
push edx
push ebp
push ebx
push edi
mov edi, dword [esp + 0x28]
push 0
push 0
push edi
call dword [sym.imp.gdi32.dll_BitBlt]
push edi
call dword [sym.imp.gdi32.dll_DeleteDC]
push ebp
push 0
call dword [sym.imp.user32.dll_ReleaseDC]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44c
ret 4
Function at 0x69e6f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x100
push ebx
push esi
mov esi, 0x16
mov eax, 5
mov dword [esp + 0x78], esi
mov dword [esp + 0xa0], esi
mov esi, dword [esp + 0x10c]
push edi
mov dword [esp + 0x88], eax
mov dword [esp + 0xcc], eax
mov ebx, 3
mov edi, 7
mov edx, 1
mov ecx, 0x19
xor eax, eax
mov dword [esp + 0xc], 0x1a
test esi, esi
mov dword [esp + 0x10], 0x1f
mov dword [esp + 0x14], 0x11
mov dword [esp + 0x18], 0xa
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], 0x1d
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], 0x14
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x3c], 0x1c
mov dword [esp + 0x40], 0xb
mov dword [esp + 0x44], 0xd
mov dword [esp + 0x48], 4
mov dword [esp + 0x4c], 0x13
mov dword [esp + 0x50], 0x17
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 0xe
mov dword [esp + 0x60], 0x1b
mov dword [esp + 0x64], 6
mov dword [esp + 0x68], 0x12
mov dword [esp + 0x6c], 0x15
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 9
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], 0x12
mov dword [esp + 0x90], 0x1d
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0xa0], 0x1f
mov dword [esp + 0xa8], 0x1b
mov dword [esp + 0xac], 9
mov dword [esp + 0xb0], 0x1a
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], 0xd
mov dword [esp + 0xbc], 0x13
mov dword [esp + 0xc0], 0xe
mov dword [esp + 0xc4], 0x14
mov dword [esp + 0xc8], 0xb
mov dword [esp + 0xd0], 2
mov dword [esp + 0xd4], 0x17
mov dword [esp + 0xd8], 0x10
mov dword [esp + 0xdc], 0xa
mov dword [esp + 0xe0], 0x18
mov dword [esp + 0xe4], 0x1c
mov dword [esp + 0xe8], 0x11
mov dword [esp + 0xec], 6
mov dword [esp + 0xf0], 0x1e
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0x15
mov dword [esp + 0xfc], 0xc
mov dword [esp + 0x100], 8
mov dword [esp + 0x104], 4
mov dword [esp + 0x108], edx
jbe 0x69e991
mov bl, byte [esp + 0x114]
xor edi, edi
mov ecx, esi
mov edx, esi
and ecx, 0xfffffffe
sub edx, ecx
shr esi, 1
test edx, edx
je 0x69e98a
test bl, bl
je 0x69e97f
mov ecx, dword [esp + edi + 0xc]
jmp 0x69e986
mov ecx, dword [esp + edi + 0x8c]
shl edx, cl
add eax, edx
add edi, 4
test esi, esi
ja 0x69e966
pop edi
pop esi
pop ebx
add esp, 0x100
ret 8

Function at 0x69e9a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x69e9c4
mov cl, byte [esp + 4]
test cl, cl
je 0x69e9bb
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
ret 4
push 0
push eax
call dword [sym.imp.user32.dll_ShowWindow]
ret 4
Function at 0x69e9f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x75ca7b
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x1c]
lea eax, [esi + 0x20]
xor ebx, ebx
push eax
mov dword [esi], 0x76e4a8
mov dword [esi + 4], 0x76e46c
mov dword [esi + 8], 0x76e430
mov dword [esi + 0xc], 0x76e408
mov dword [esi + 0x10], 0x76e3ec
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebx
call dword [sym.imp.user32.dll_SetRectEmpty]
push 0xc
call fcn.00726f70
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x69ea69
mov dword [eax], 0x76e3d0
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
jmp 0x69ea6b
xor eax, eax
mov dword [esp + 0x14], 0xffffffff
mov dword [esi + 0x30], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4

Function at 0x69fc10
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.kernel32.dll_ReadFile]
push esi
mov esi, ecx
push edi
lea eax, [esp + 0x14]
push 0
lea edi, [esi + 8]
push eax
push 0x10
push edi
push ebx
call ebp
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esi + 4]
push 2
push edx
push ebx
call ebp
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
jle 0x69fc50
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], eax
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jle 0x69fc5e
mov dword [edi], ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov edx, dword [edi]
mov ecx, dword [esi + 0x14]
shl eax, 2
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
shl edx, 2
shl ecx, 2
shl eax, 2
mov dword [edi], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x69fdc0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x75cb5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov ebx, ecx
call fcn.0069ff10
mov eax, dword [esp + 0x2c]
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push ebp
push closesocket
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
jne 0x69fe1f
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
lea ecx, [esp + 0x14]
push ebp
push ecx
lea edx, [esp + 0x14]
push 4
push edx
push esi
mov dword [esp + 0x20], ebp
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], ebp
cmp eax, ebp
jle 0x69fee5
push edi
jmp 0x69fe4c
xor ebp, ebp
push 0x18
call fcn.00726f70
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov dword [esp + 0x28], ebp
je 0x69fe80
lea edx, [eax + 8]
xor ecx, ecx
mov dword [eax], 0x76e4cc
mov word [eax + 4], 1
mov dword [edx], ecx
mov ebp, eax
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
push esi
mov ecx, ebp
mov dword [esp + 0x2c], 0xffffffff
call fcn.0069fc10
mov esi, dword [ebx + 8]
push 0xc
mov edi, dword [esi + 4]
call fcn.00726f70
add esp, 4
mov ecx, esi
test esi, esi
jne 0x69fea8
mov ecx, eax
test edi, edi
mov dword [eax], ecx
jne 0x69feb0
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x69fec4
mov dword [eax], ebp
mov esi, dword [ebx + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
inc esi
inc eax
mov dword [ebx + 0xc], esi
mov esi, dword [esp + 0x14]
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x69fe4a
pop edi
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x6a01c0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.kernel32.dll_ReadFile]
push esi
mov esi, ecx
push edi
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 0x44]
push 0x50
push ecx
push ebx
call ebp
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esi + 0x94]
push 2
push eax
push ebx
call ebp
lea ecx, [esp + 0x14]
push 0
lea edi, [esi + 0x98]
push ecx
push 0x10
push edi
push ebx
call ebp
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0xa4]
cmp eax, ecx
jge 0x6a0222
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa4], eax
mov eax, dword [edi]
mov ecx, dword [esi + 0xa0]
cmp eax, ecx
jle 0x6a0236
mov dword [edi], ecx
mov dword [esi + 0xa0], eax
mov edx, dword [esi + 0x9c]
mov ecx, dword [edi]
mov eax, dword [esi + 0xa4]
shl edx, 2
mov dword [esi + 0x9c], edx
mov edx, dword [esi + 0xa0]
shl ecx, 2
shl eax, 2
shl edx, 2
mov dword [edi], ecx
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa0], edx
pop edi
pop esi
pop ebp
pop ebx
ret 4