joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4094d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp edi, 0xffffffff
je 0x409683
cmp dword [ebp + 0xc], ebx
je 0x409683
cmp dword [ebp + 0x10], ebx
je 0x409683
push esi
push 0x40
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40957a
push ebx
push ebx
push edi
call dword [sym.imp.MSVCR100.dll__lseek]
add esp, 0xc
cmp eax, 0xffffffff
je 0x409570
push 0x40
push esi
push edi
call dword [sym.imp.MSVCR100.dll__read]
add esp, 0xc
cmp eax, 0x40
jne 0x409570
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x40966d
mov eax, dword [esi + 0x3c]
lea ecx, [eax + 0x58]
add eax, 0x18
push ebx
push eax
push edi
mov dword [ebp - 8], ecx
call dword [sym.imp.MSVCR100.dll__lseek]
add esp, 0xc
cmp eax, 0xffffffff
je 0x409570
push 4
lea edx, [ebp - 4]
push edx
push edi
call dword [sym.imp.MSVCR100.dll__read]
add esp, 0xc
cmp eax, 4
je 0x409583
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x10b
cmp word [ebp - 4], ax
mov eax, dword [esi + 0x3c]
jne 0x409598
add eax, 0x98
jmp 0x40959d
add eax, 0xa8
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.MSVCR100.dll_free]
mov ecx, dword [ebp + 8]
push ebx
push ecx
push edi
call dword [sym.imp.MSVCR100.dll__lseek]
add esp, 0x10
cmp eax, 0xffffffff
je 0x40957a
push 8
lea edx, [ebp - 0x10]
push edx
push edi
call dword [sym.imp.MSVCR100.dll__read]
add esp, 0xc
cmp eax, 8
jne 0x40957a
mov esi, dword [sym.imp.MSVCR100.dll_malloc]
push 0x14
call esi
add esp, 4
cmp eax, ebx
je 0x40957a
mov ecx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
mov dword [eax], ecx
add ecx, 3
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
push 0x14
mov dword [edi], eax
call esi
add esp, 4
cmp eax, ebx
je 0x40957a
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
add ecx, 7
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov ecx, dword [edi]
mov dword [ecx + 0x10], eax
cmp dword [ebp - 0x10], ebx
je 0x409677
push 0x14
call esi
add esp, 4
cmp eax, ebx
je 0x40957a
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], ebx
mov dword [eax], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
lea ecx, [edx + ecx - 1]
mov dword [eax + 8], ecx
mov edx, dword [edi]
mov ecx, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
pop esi
pop edi
mov dword [eax], edx
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b682
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411e38]
jne 0x40b68c
repz ret
jmp fcn.0040bbe1
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x100113e
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
mov ax, word [esi]
cmp ax, 0x22
push 2
pop ecx
jne 0x1001171
add esi, ecx
mov ax, word [esi]
test ax, ax
je 0x1001169
cmp ax, 0x22
jne 0x1001159
cmp word [esi], 0x22
jne 0x1001189
jmp 0x1001187
cmp ax, 0x20
jbe 0x1001189
add esi, ecx
cmp word [esi], 0x20
ja 0x1001177
jmp 0x1001189
cmp ax, 0x20
ja 0x1001191
add esi, ecx
mov ax, word [esi]
test ax, ax
jne 0x1001181
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x18], 1
je 0x10011ab
movzx eax, word [ebp - 0x14]
jmp 0x10011ae
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call main
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x406f70
Capabilities:
Create directory
Get disk information
Query environment variable

Disassembly:
mov eax, 0x4004
call fcn.0040af90
mov eax, dword [0x435040]
xor eax, esp
mov dword [esp + 0x4000], eax
mov eax, dword [esp + 0x4008]
push edi
push 0
push 0
push eax
call fcn.00407d60
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x406fc8
push str.LOADER:_failed_to_convert_runtime_tmpdir_to_a_wide_string._n
call fcn.00402400
add esp, 4
xor eax, eax
pop edi
mov ecx, dword [esp + 0x4000]
xor ecx, esp
call fcn.0040ac53
add esp, 0x4004
ret
push esi
push 0x1000
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
mov esi, eax
call fcn.0041256e
add esp, 4
test esi, esi
jne 0x40700f
push str.LOADER:_failed_to_expand_environment_variables_in_the_runtime_tmpdir._n
call fcn.00402400
add esp, 4
xor eax, eax
pop esi
pop edi
mov ecx, dword [esp + 0x4000]
xor ecx, esp
call fcn.0040ac53
add esp, 0x4004
ret
lea eax, [esp + 8]
push eax
call fcn.00407c10
add esp, 4
test eax, eax
je 0x4070a6
cmp word [esp + 0xc], 0x5c
je 0x407046
lea edi, [esp + 8]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x407033
mov eax, dword [0x429020]
mov dword [edi], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jg 0x407082
push eax
lea eax, [esp + 0xc]
push eax
push str.LOADER:_runtime_tmpdir_points_to_non_existent_drive__ls__type:__d___n
call fcn.00402400
add esp, 0xc
xor eax, eax
pop esi
pop edi
mov ecx, dword [esp + 0x4000]
xor ecx, esp
call fcn.0040ac53
add esp, 0x4004
ret
lea eax, [esp + 8]
push eax
call fcn.00414b43
add esp, 4
pop esi
pop edi
mov ecx, dword [esp + 0x4000]
xor ecx, esp
call fcn.0040ac53
add esp, 0x4004
ret
push 0x1000
lea eax, [esp + 0xc]
push eax
push 0
call fcn.00414fd4
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4070e6
push str.LOADER:_failed_to_obtain_the_absolute_path_of_the_runtime_tmpdir._n
call fcn.00402400
add esp, 4
xor eax, eax
pop esi
pop edi
mov ecx, dword [esp + 0x4000]
xor ecx, esp
call fcn.0040ac53
add esp, 0x4004
ret
push 0x5c
push esi
call fcn.0040c2a7
mov edi, eax
add esp, 8
test edi, edi
je 0x407146
nop word [eax + eax]
mov ecx, edi
lea eax, [esp + 0x2008]
push esi
sub ecx, esi
sar ecx, 1
push ecx
push 0x429140
push 0x1000
push eax
call fcn.00402300
add esp, 0x14
lea eax, [esp + 0x2008]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [edi + 2]
push 0x5c
push eax
call fcn.0040c2a7
mov edi, eax
add esp, 8
test edi, edi
jne 0x407100
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x407192
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x407192
push esi
push str.LOADER:_failed_to_create_runtime_tmpdir_path__ls__n
push str.CreateDirectory
call fcn.00402690
push esi
call fcn.0041256e
add esp, 0x10
xor eax, eax
pop esi
pop edi
mov ecx, dword [esp + 0x4000]
xor ecx, esp
call fcn.0040ac53
add esp, 0x4004
ret
mov ecx, dword [esp + 0x4008]
mov eax, esi
pop esi
pop edi
xor ecx, esp
call fcn.0040ac53
add esp, 0x4004
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..retplne
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x216e1fe8
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x188f12d9
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x2838058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.028381a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x283807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x283806a
add dl, dl
jne 0x2838089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x28380dc
xor eax, eax
add dl, dl
jne 0x2838096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x283817d
add dl, dl
jne 0x28380a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x28380b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x28380bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x28380c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x28380d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2838075
mov eax, 1
add dl, dl
jne 0x28380ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x28380f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x28380e1
sub eax, ebx
mov ebx, 1
jne 0x2838128
mov ecx, 1
add dl, dl
jne 0x283810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2838119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2838105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2838075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x283813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x283814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2838136
cmp eax, 0x7d00
jae 0x283816d
cmp eax, 0x500
jb 0x2838168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2838075
cmp eax, 0x7f
ja 0x2838170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2838075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x283819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x2838075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1000c060
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10171ddd
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10204014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
lea eax, [edi + 0x10]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
lea esi, [eax + 8]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
lea ecx, [esi + 0x60]
call fcn.10007f50
mov byte [ebp - 4], 6
lea ecx, [esi + 0x48]
call fcn.10007f50
mov byte [ebp - 4], 5
lea ecx, [esi + 0x30]
call fcn.10007f50
mov byte [ebp - 4], 4
lea ecx, [esi + 0x18]
call fcn.10007f50
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10007f50
mov dword [ebp - 4], 0xffffffff
mov esi, dword [edi + 8]
test esi, esi
je 0x1000c11c
mov eax, dword [esi]
test eax, eax
je 0x1000c10a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x1000c10a
mov dword [esi], 0
push 4
push esi
call fcn.1016eb33
add esp, 8
mov dword [edi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001bf90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101746be
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x10204014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.100290c0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.RC::RCHomePageLockFixBusiness.0
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov byte [ebp - 4], 1
lea esi, [ebx + 0x38]
mov dword [ebx + 0x30], 0
mov dword [ebp - 0x14], esi
mov word [esi], 0
mov dword [esi + 8], 0xe10
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0xa8c0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 3
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 2
add esi, 0x28
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10020b70
mov dword [esi], eax
mov byte [ebp - 4], 6
lea eax, [ebx + 0x68]
push 2
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
add esp, 8
mov byte [ebp - 4], 8
lea esi, [ebx + 0x98]
xor eax, eax
mov dword [ebp - 0x18], esi
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x101a7734
mov word [esi], ax
call fcn.10007fb0
mov byte [ebp - 4], 9
xor eax, eax
lea ecx, [esi + 0x18]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x101a7734
mov word [ecx], ax
call fcn.10007fb0
mov byte [ebp - 4], 0xa
mov word [esi + 0x30], 0
mov byte [ebp - 4], 0xb
lea eax, [ebx + 0xcc]
push 2
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
add esp, 8
mov byte [ebp - 4], 0xd
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001f0d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x1001f101
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1001f0f0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x10023e50
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1002406b
cmp eax, 0x7c
je 0x1002406b
cmp eax, 0x29
jne 0x10023e91
cmp dword [esi + 0x10], 0
jne 0x1002406b
cmp eax, eax
jne 0x10023e91
test dword [esi + 0x50], 0x10000000
je 0x10024078
jmp 0x10024024
cmp eax, 0x2e
jne 0x10023ef0
push 5
lea ecx, [esi + 0x24]
call fcn.100240d0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10023ee4
cmp word [eax], 0x5c
jne 0x10023edf
lea ecx, [eax + 2]
cmp ecx, edx
je 0x10023edf
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x10023ecb
movzx edi, word [ecx]
cmp edi, 0x28
je 0x10023edd
cmp edi, 0x29
je 0x10023edd
test dl, 0x10
jne 0x10023edf
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x10023edd
cmp edx, 0x7d
jne 0x10023edf
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.100229a0
jmp 0x10024056
cmp eax, 0x5c
jne 0x10023f4f
mov ecx, esi
call fcn.10023e00
test byte [esi + 0x50], 0x80
je 0x10023f43
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x10023f21
push 4
lea ecx, [esi + 0x24]
call fcn.100240d0
mov ecx, esi
call fcn.10023e00
jmp 0x1002405d
cmp eax, 0x42
jne 0x10023f43
push 4
lea ecx, [esi + 0x24]
call fcn.100240d0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10023e00
jmp 0x1002405d
mov ecx, esi
call fcn.10025320
jmp 0x10024056
cmp eax, 0x5b
jne 0x10023fb0
mov ecx, esi
call fcn.10023e00
lea ecx, [esi + 0x24]
call fcn.10027030
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x10023f7c
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10023e00
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x10023f9a
cmp eax, 0x5d
jne 0x10023f9a
push eax
lea ecx, [esi + 0x24]
call fcn.10027110
mov ecx, esi
call fcn.10023e00
mov ecx, esi
call fcn.10026bc0
cmp dword [esi + 0x4c], 0x5d
jne 0x1002407f
jmp 0x1002404f
cmp eax, 0x28
jne 0x10023fe0
mov ecx, esi
call fcn.10023e00
mov ecx, esi
call fcn.10025530
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x10024078
mov ecx, esi
call fcn.10023e00
test bl, bl
je 0x1002405d
jmp 0x10024056
cmp eax, 0x5e
jne 0x10023ff8
push 2
lea ecx, [esi + 0x24]
call fcn.100240d0
mov ecx, esi
call fcn.10023e00
jmp 0x1002405d
cmp eax, 0x24
jne 0x10024010
push 3
lea ecx, [esi + 0x24]
call fcn.100240d0
mov ecx, esi
call fcn.10023e00
jmp 0x1002405d
cmp eax, 0x2a
je 0x10024071
cmp eax, 0x2b
je 0x10024071
cmp eax, 0x3f
je 0x10024071
cmp eax, 0x7b
je 0x10024071
cmp eax, 0x7d
jne 0x10024034
test dword [esi + 0x50], 0x10000000
je 0x10024086
jmp 0x10024042
cmp eax, 0x5d
jne 0x10024042
test dword [esi + 0x50], 0x10000000
je 0x1002407f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.100257a0
mov ecx, esi
call fcn.10023e00
mov ecx, esi
call fcn.10025640
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10023e63
pop edi
pop esi
mov al, cl
pop ebx
ret
push 0xa
call fcn.10022990
push 5
call fcn.10022990
push 4
call fcn.10022990
push 6
call fcn.10022990
int3
Function at 0x1002c620
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10177150
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10204014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x19000
mov dword [ebp - 0x40], 0x19000
call fcn.1016eb69
mov edi, eax
add esp, 4
test edi, edi
jne 0x1002c66f
xor al, al
jmp 0x1002c7f5
push dword [ebp - 0x40]
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
push eax
push edi
push str.visited:
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov esi, eax
mov dword [ebp - 0x44], esi
test esi, esi
je 0x1002c7e3
mov eax, dword [edi + 4]
test eax, eax
je 0x1002c7cf
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x1002c7bd
push str._http:
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1002c6e7
push str._https:
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1002c7bd
lea esi, [eax + 2]
push 0x12c
push esi
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x1002c7ba
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov dword [ebp - 4], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 1
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002c730
sub eax, edx
lea ecx, [ebp - 0x3c]
sar eax, 1
push eax
push esi
call fcn.10007fb0
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x34]
push edi
mov dword [ebp - 0x20], eax
call fcn.1002c820
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x1002c7ab
mov esi, dword [ebx + 4]
lea eax, [ebp - 0x3c]
push eax
cmp dword [ebx + 8], esi
je 0x1002c7a3
mov ecx, esi
mov dword [ebp - 0x4c], esi
call fcn.10007680
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 1
add dword [ebx + 4], 0x28
jmp 0x1002c7ab
push esi
mov ecx, ebx
call fcn.1002d120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10007f50
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
push eax
push 0
push edi
mov dword [ebp - 0x40], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
push edi
push esi
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x1002c698
push edi
call fcn.1016eb64
add esp, 4
push esi
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1016e794
mov esp, ebp
pop ebp
ret 4
Function at 0x1002f430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10177c8c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10204014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
lea ecx, [esi + 0x30]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0
call fcn.10007f50
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
add esi, 8
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 8
lea ecx, [esi + 0xc]
call fcn.10007ba0
mov dword [ebp - 4], 0xffffffff
add esi, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xa
mov ecx, esi
call fcn.10032530
mov dword [ebp - 4], 0xffffffff
push 0x28
push dword [esi]
call fcn.1016eb33
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret