joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4516fd
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push ebx
xor edi, edi
mov dword [ebp - 0x238], eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x451740
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 3
push dword [ebp - 0x238]
push esi
call fcn.0045c793
mov esi, eax
lea eax, [ebp - 0x234]
push eax
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x238], esi
call fcn.0045c632
mov eax, dword [ebp - 0x234]
add esp, 0x18
mov dword [ebp - 0x23c], eax
test eax, eax
jle 0x4517e2
lea eax, [ebp - 0x234]
push eax
push edi
push esi
call fcn.0045c632
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x4517a0
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.0045158e
pop ecx
pop ecx
jmp 0x4517d9
push dword [ebp - 8]
call fcn.00537df9
push 3
push dword [ebp - 8]
mov esi, eax
push esi
push edi
push dword [ebp - 0x238]
call fcn.0045cb48
push dword [ebp - 0x28]
lea eax, [ebp - 0x230]
push dword [ebp - 8]
push esi
push ebx
push eax
call fcn.004513fa
mov esi, dword [ebp - 0x238]
add esp, 0x2c
inc edi
cmp edi, dword [ebp - 0x23c]
jl 0x451778
push esi
call fcn.0045bf4d
pop ecx
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret

Function at 0x452883
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044ed03
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x4528ff
lea eax, [ebp - 0x14]
push eax
call fcn.00451eb4
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x4528db
push 0
call fcn.00421550
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4528ff
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00421550
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x452910
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x45299a
cmp dword [esi + 0x10], 0
je 0x45299a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00541750
mov ebx, esp
test ebx, ebx
je 0x45299a
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.004476fa
mov ecx, dword [esi + 0x10]
xor eax, eax
push 1
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.0044cefa
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00449d1b
test al, al
je 0x45299a
mov ecx, dword [esi + 0x10]
call fcn.0044ec1d
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret 0x10

Function at 0x452fe7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00450294
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x45306b
lea eax, [ebp - 0x14]
push eax
call fcn.00451eb4
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x453047
push 0
call fcn.00421550
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45306b
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00421550
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret 0x14
Function at 0x45bb58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x694], edi
je 0x45bbc4
cmp dword [ebp + 8], 0x100
jne 0x45bbb3
cmp word [ebp + 0xc], 0xd
jne 0x45bbb3
cmp byte [esi + 0x69a], 0
je 0x45bb98
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x45bbb3
cmp byte [esi + 0x69b], 0
jne 0x45bbb3
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x45bbaf
push 1
push edi
push edi
push edi
push str.return
push esi
call fcn.0044cefa
xor eax, eax
jmp 0x45bbc7
mov eax, dword [esi + 0x694]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x45bf97
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x45c04d
movzx eax, word [esi]
test ax, ax
je 0x45c04d
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x45bfd7
cmp ax, 0x5c
jne 0x45bfd9
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x45bfcb
cmp edi, esi
je 0x45c020
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.00540e9f
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x45c05d
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0045bf97
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00540d7a
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00540d4b
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret
call fcn.00543338
int3

Function at 0x45c70b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x45c787
cmp dword [edi + 4], 0xffffffff
jne 0x45c787
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x5d3620
push esi
call fcn.00540d4b
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x45c759
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x45c759
mov eax, 0x2000000
jmp 0x45c78c
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0045ec11
add esp, 0x10
test eax, eax
jne 0x45c777
mov eax, dword [ebp - 4]
jmp 0x45c78c
push eax
call fcn.0045f318
mov dword [edi], eax
mov eax, dword [0x5f4748]
pop ecx
jmp 0x45c78c
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45ed1e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x45ed52
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45ed4d
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x45ed79
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x45ed62
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.0053da30
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x45eeec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x45eefa
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x45efb5
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x585418]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x585418]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x585418]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x585418]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x585418]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x585418]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x585418]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x585418]
dec edi
jne 0x45ef18
pop edi
test esi, esi
je 0x45efce
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x585418]
inc edx
dec esi
jne 0x45efb9
not ecx
pop esi
mov eax, ecx
pop ebx
pop ebp
ret
Function at 0x45ff9f
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x57a879
call fcn.00540c52
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.00460332
call fcn.00449b46
push eax
lea ecx, [ebp - 0x94]
call fcn.00447588
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00449b4c
mov ecx, eax
call fcn.00447ded
test al, al
je 0x4600b5
push ebx
lea ecx, [ebp - 0x94]
call fcn.0044787a
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00447c90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x460026
push str.Error_opening_file
jmp 0x460196
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x46012f
cmp edi, 0x400000
ja 0x460140
and dword [ebp - 0x2c8], 0
push edi
call fcn.00537df9
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x46009e
push ebx
call fcn.0053ece1
pop ecx
mov ecx, esi
call fcn.00460332
push 0
push str.Could_not_read_file
jmp 0x460196
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004601e5
push dword [ebp - 0x2cc]
jmp 0x4601c4
call fcn.00449b4c
push eax
lea ecx, [ebp - 0x94]
call fcn.004477f5
call fcn.00449d0e
test al, al
je 0x4600d6
call fcn.00449b52
jmp 0x4600ed
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00447c90
push eax
call fcn.0045c793
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x4600fe
push eax
push str.Error_opening_zip_file
jmp 0x460196
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.0045c0eb
add esp, 0x14
test eax, eax
je 0x460125
push 0
push str.Could_not_find_ziped_file
jmp 0x460196
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x460138
push 0
push str.File_is_empty
jmp 0x460196
cmp ebx, 0x400000
jbe 0x460149
push 0
push 0x586ea0
jmp 0x460196
push ebx
call fcn.00537df9
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.0045cb48
add esp, 0x18
test eax, eax
je 0x4601a1
cmp eax, 0x600
je 0x4601a1
push dword [ebp - 0x2c8]
call fcn.0053ece1
pop ecx
call fcn.00449d0e
test al, al
jne 0x46018f
push edi
call fcn.0045bf4d
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0046035a
mov bl, al
jmp 0x4601cc
call fcn.00449d0e
test al, al
jne 0x4601b1
push edi
call fcn.0045bf4d
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.004601e5
push edi
mov bl, al
call fcn.0053ece1
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00447670
mov al, bl
call fcn.00540c10
ret 8
Function at 0x46d4c7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x46d4eb
cmp dword [esi + 8], edi
jge 0x46d4e3
push esi
call fcn.004698cf
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x46d511
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x46d4f7
mov dword [esi + 8], edx
jmp 0x46d526
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x46d51c
xor dl, dl
jmp 0x46d521
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x46d511
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x46d560
push str.zlib_corrupt
call fcn.004697f8
add esp, 4
jmp 0x46d5a0
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x46d570
push str.read_past_buffer
jmp 0x46d556
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x46d58a
push edi
push ecx
push esi
call fcn.0047002e
add esp, 0xc
test eax, eax
je 0x46d5a0
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0053da30
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x48078b
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x57b3f8
call fcn.00540c52
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x6e8], ebx
cmp dword [edi + 4], ebx
jne 0x48081d
lea eax, [ebp - 0xa8]
push eax
call fcn.004803f8
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00421520
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.00446d51
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00465226
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.004496d7
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00447ded
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.00447670
mov esi, 0x6d8
test bl, bl
je 0x48085c
mov eax, dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.00540c10
ret 4

Function at 0x480892
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044ed03
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x48090e
lea eax, [ebp - 0x14]
push eax
call fcn.004803f8
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6f0]
test eax, eax
je 0x4808ea
push 0
call fcn.00421550
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x48090e
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00421550
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4809f6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00450294
mov ecx, dword [ebx + 0x6f0]
test ecx, ecx
je 0x480a7a
lea eax, [ebp - 0x14]
push eax
call fcn.004803f8
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6f0]
test eax, eax
je 0x480a56
push 0
call fcn.00421550
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x480a7a
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00421550
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret 0x14
Function at 0x483891
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2cc
mov eax, 0x57b5d3
call fcn.00540c52
mov dword [ebp - 0x2d8], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2d0], ebx
call fcn.00449b46
push eax
lea ecx, [ebp - 0x94]
call fcn.00447588
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00449b4c
mov ecx, eax
call fcn.00447ded
test al, al
je 0x483988
push ebx
lea ecx, [ebp - 0x94]
call fcn.0044787a
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00447c90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x483922
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00447670
jmp 0x483a69
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x483939
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x48390e
push esi
mov dword [ebp - 0x2cc], edi
call fcn.00537df9
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2cc]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], esi
je 0x483a54
push edi
call fcn.0053ece1
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00447670
jmp 0x483a67
call fcn.00449b4c
push eax
lea ecx, [ebp - 0x94]
call fcn.004477f5
call fcn.00449d0e
test al, al
je 0x4839a9
call fcn.00449b52
jmp 0x4839c0
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00447c90
push eax
call fcn.0045c793
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x48390e
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push 1
push dword [ebp - 0x2d0]
push ebx
call fcn.0045c0eb
add esp, 0x14
test eax, eax
jne 0x48390e
mov esi, dword [ebp - 0x98]
test esi, esi
je 0x48390e
push esi
call fcn.00537df9
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x2d4]
push ebx
call fcn.0045cb48
add esp, 0x18
test eax, eax
je 0x483a44
cmp eax, 0x600
je 0x483a44
push edi
call fcn.0053ece1
pop ecx
call fcn.00449d0e
test al, al
jne 0x483974
push ebx
call fcn.0045bf4d
jmp 0x483973
call fcn.00449d0e
test al, al
jne 0x483a54
push ebx
call fcn.0045bf4d
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00447670
test edi, edi
jne 0x483ae4
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x483ae0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x483aa3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x483ae0
push esi
mov dword [ebp - 0x2c8], edi
call fcn.00537df9
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2c8]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], esi
je 0x483adc
push edi
call fcn.0053ece1
pop ecx
xor edi, edi
test edi, edi
jne 0x483ae4
xor eax, eax
jmp 0x483afc
mov ecx, dword [ebp - 0x2d8]
push esi
push edi
call fcn.00483b04
push edi
mov esi, eax
call fcn.0053ece1
pop ecx
mov eax, esi
call fcn.00540c10
ret 4
Function at 0x484830
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x484873
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERR:InternetGetConnectedState_fail_0x_x
push 1
push 0x32
push str.toolBaseRequest.cpp
push str.CBaseRequest::IsUseProxyConnect
call fcn.00490600
add esp, 0x18
xor al, al
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 4]
shr al, 2
and al, 1
mov esp, ebp
pop ebp
ret

Function at 0x484c30
Capabilities:
Receive http response
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0053f090
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor bl, bl
cmp dword [eax + 0x14], 8
push edi
mov edi, ecx
jb 0x484c59
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x484d0b
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + 0x6c]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x484d04
jmp 0x484cb0
mov eax, dword [ebp - 0x1008]
test eax, eax
je 0x484d02
push 0
lea ecx, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0
push ecx
push eax
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x484d04
lea eax, [ebp - 0x1008]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + 0x6c]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x484cb0
jmp 0x484d04
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret 4