joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5063b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
test eax, eax
jle 0x5063e9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.005037ec
jmp 0x5063f2
mov eax, ebx
mov edx, esi
call fcn.00503750
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5063fc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.dll_GetLocaleInfoA
test eax, eax
jle 0x50641d
mov al, byte [esp]
jmp 0x50641f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5074d4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x507538
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00503940
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_GetACP
mov edx, eax
pop eax
call fcn.00505684
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50753f
lea eax, [ebp - 0xc]
call fcn.005036fc
ret
Function at 0x509630
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffba4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x358], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x148]
xor eax, eax
push ebp
push 0x509847
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0x24d]
mov edx, edi
call fcn.005057ec
xor edx, edx
push ebp
push 0x50981c
push dword fs:[edx]
mov dword fs:[edx], esp
push esi
lea eax, [ebp - 0x358]
mov edx, edi
call fcn.005038d4
lea eax, [ebp - 0x358]
mov edx, 0x509864
call fcn.00503974
mov eax, dword [ebp - 0x358]
call fcn.00503b54
push eax
call sub.KERNEL32.dll_FindFirstFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x5096d9
mov ecx, 0xab4
mov edx, 0x509870
mov eax, 0x5098ac
call fcn.005036dc
cmp dword [ebp - 8], 0xffffffff
jne 0x5096ee
xor eax, eax
mov dword [ebp - 4], eax
call fcn.00503160
jmp 0x509823
mov al, 1
jmp 0x5097f7
lea eax, [ebp - 0x458]
lea edx, [esi + 0x2c]
call fcn.00502830
lea eax, [ebp - 0x458]
mov edx, 0x5098c0
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.005026f4
je 0x5097e7
lea eax, [ebp - 0x45c]
lea edx, [esi + 0x2c]
call fcn.005038d4
mov eax, dword [ebp - 0x45c]
mov edx, 0x5098cc
call fcn.00503ab0
je 0x5097e7
lea edx, [ebp - 0x24d]
lea eax, [ebp - 0x352]
call fcn.005057ec
test byte [esi], 0x10
je 0x5097c2
lea edx, [esi + 0x2c]
lea eax, [ebp - 0x352]
call fcn.00505848
push 0xffffffffffffffff
lea eax, [ebp - 0x352]
push eax
call dword [0x6809a8]
cmp eax, 1
sbb eax, eax
inc eax
test al, al
test ebx, ebx
je 0x5097e7
lea edx, [ebp - 0x24d]
lea eax, [ebp - 0x352]
call fcn.005057ec
lea edx, [esi + 0x2c]
lea eax, [ebp - 0x352]
call fcn.00505848
mov edx, 0x5098d0
lea eax, [ebp - 0x352]
call fcn.00505848
push ebx
lea eax, [ebp - 0x352]
push eax
call fcn.00509630
mov dword [ebp - 4], eax
jmp 0x5097e7
lea edx, [esi + 0x2c]
lea eax, [ebp - 0x352]
call fcn.00505848
push 0
lea eax, [ebp - 0x352]
push eax
call dword [0x6809a8]
cmp eax, 1
sbb eax, eax
inc eax
test al, al
push esi
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x5096f5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x509823
cmp dword [ebp - 8], 0xffffffff
je 0x50981b
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50984e
lea eax, [ebp - 0x45c]
call fcn.005036fc
lea eax, [ebp - 0x358]
call fcn.005036fc
ret
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x781206fc
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x286f3461
nop
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x9f2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009f21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9f207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9f206a
add dl, dl
jne 0x9f2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9f20dc
xor eax, eax
add dl, dl
jne 0x9f2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9f217d
add dl, dl
jne 0x9f20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9f20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9f2075
mov eax, 1
add dl, dl
jne 0x9f20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9f20e1
sub eax, ebx
mov ebx, 1
jne 0x9f2128
mov ecx, 1
add dl, dl
jne 0x9f210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9f2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9f2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9f2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9f213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9f214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9f2136
cmp eax, 0x7d00
jae 0x9f216d
cmp eax, 0x500
jb 0x9f2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9f2075
cmp eax, 0x7f
ja 0x9f2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9f2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9f219e
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 0x9f2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1000bea0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10169ffd
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x101f9014]
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.10007d90
mov byte [ebp - 4], 6
lea ecx, [esi + 0x48]
call fcn.10007d90
mov byte [ebp - 4], 5
lea ecx, [esi + 0x30]
call fcn.10007d90
mov byte [ebp - 4], 4
lea ecx, [esi + 0x18]
call fcn.10007d90
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10007d90
mov dword [ebp - 4], 0xffffffff
mov esi, dword [edi + 8]
test esi, esi
je 0x1000bf5c
mov eax, dword [esi]
test eax, eax
je 0x1000bf4a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x1000bf4a
mov dword [esi], 0
push 4
push esi
call fcn.10166d53
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 0x1001bda0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016c8de
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x101f9014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.10028e80
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.10020930
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 0x1019e6d4
mov word [esi], ax
call fcn.10007df0
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 0x1019e6d4
mov word [ecx], ax
call fcn.10007df0
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 0x1001eee0
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 0x1001ef11
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1001ef00
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x10023c10
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 0x10023e2b
cmp eax, 0x7c
je 0x10023e2b
cmp eax, 0x29
jne 0x10023c51
cmp dword [esi + 0x10], 0
jne 0x10023e2b
cmp eax, eax
jne 0x10023c51
test dword [esi + 0x50], 0x10000000
je 0x10023e38
jmp 0x10023de4
cmp eax, 0x2e
jne 0x10023cb0
push 5
lea ecx, [esi + 0x24]
call fcn.10023e90
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x10023ca4
cmp word [eax], 0x5c
jne 0x10023c9f
lea ecx, [eax + 2]
cmp ecx, edx
je 0x10023c9f
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x10023c8b
movzx edi, word [ecx]
cmp edi, 0x28
je 0x10023c9d
cmp edi, 0x29
je 0x10023c9d
test dl, 0x10
jne 0x10023c9f
movzx edx, word [ecx]
cmp edx, 0x7b
je 0x10023c9d
cmp edx, 0x7d
jne 0x10023c9f
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.10022760
jmp 0x10023e16
cmp eax, 0x5c
jne 0x10023d0f
mov ecx, esi
call fcn.10023bc0
test byte [esi + 0x50], 0x80
je 0x10023d03
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x10023ce1
push 4
lea ecx, [esi + 0x24]
call fcn.10023e90
mov ecx, esi
call fcn.10023bc0
jmp 0x10023e1d
cmp eax, 0x42
jne 0x10023d03
push 4
lea ecx, [esi + 0x24]
call fcn.10023e90
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10023bc0
jmp 0x10023e1d
mov ecx, esi
call fcn.100250e0
jmp 0x10023e16
cmp eax, 0x5b
jne 0x10023d70
mov ecx, esi
call fcn.10023bc0
lea ecx, [esi + 0x24]
call fcn.10026df0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x10023d3c
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.10023bc0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x10023d5a
cmp eax, 0x5d
jne 0x10023d5a
push eax
lea ecx, [esi + 0x24]
call fcn.10026ed0
mov ecx, esi
call fcn.10023bc0
mov ecx, esi
call fcn.10026980
cmp dword [esi + 0x4c], 0x5d
jne 0x10023e3f
jmp 0x10023e0f
cmp eax, 0x28
jne 0x10023da0
mov ecx, esi
call fcn.10023bc0
mov ecx, esi
call fcn.100252f0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x10023e38
mov ecx, esi
call fcn.10023bc0
test bl, bl
je 0x10023e1d
jmp 0x10023e16
cmp eax, 0x5e
jne 0x10023db8
push 2
lea ecx, [esi + 0x24]
call fcn.10023e90
mov ecx, esi
call fcn.10023bc0
jmp 0x10023e1d
cmp eax, 0x24
jne 0x10023dd0
push 3
lea ecx, [esi + 0x24]
call fcn.10023e90
mov ecx, esi
call fcn.10023bc0
jmp 0x10023e1d
cmp eax, 0x2a
je 0x10023e31
cmp eax, 0x2b
je 0x10023e31
cmp eax, 0x3f
je 0x10023e31
cmp eax, 0x7b
je 0x10023e31
cmp eax, 0x7d
jne 0x10023df4
test dword [esi + 0x50], 0x10000000
je 0x10023e46
jmp 0x10023e02
cmp eax, 0x5d
jne 0x10023e02
test dword [esi + 0x50], 0x10000000
je 0x10023e3f
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.10025560
mov ecx, esi
call fcn.10023bc0
mov ecx, esi
call fcn.10025400
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10023c23
pop edi
pop esi
mov al, cl
pop ebx
ret
push 0xa
call fcn.10022750
push 5
call fcn.10022750
push 4
call fcn.10022750
push 6
call fcn.10022750
int3
Function at 0x1002c3e0
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016f370
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101f9014]
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.10166d89
mov edi, eax
add esp, 4
test edi, edi
jne 0x1002c42f
xor al, al
jmp 0x1002c5b5
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 0x1002c5a3
mov eax, dword [edi + 4]
test eax, eax
je 0x1002c58f
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x1002c57d
push str._http:
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1002c4a7
push str._https:
push dword [edi + 4]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1002c57d
lea esi, [eax + 2]
push 0x12c
push esi
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x1002c57a
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 0x1002c4f0
sub eax, edx
lea ecx, [ebp - 0x3c]
sar eax, 1
push eax
push esi
call fcn.10007df0
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x34]
push edi
mov dword [ebp - 0x20], eax
call fcn.1002c5e0
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x1002c56b
mov esi, dword [ebx + 4]
lea eax, [ebp - 0x3c]
push eax
cmp dword [ebx + 8], esi
je 0x1002c563
mov ecx, esi
mov dword [ebp - 0x4c], esi
call fcn.100074c0
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 0x1002c56b
push esi
mov ecx, ebx
call fcn.1002cee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10007d90
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 0x1002c458
push edi
call fcn.10166d84
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.101669b4
mov esp, ebp
pop ebp
ret 4
Function at 0x1002f0c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016fdec
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x101f9014]
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.10007d90
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.100079e0
mov dword [ebp - 4], 0xffffffff
add esi, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xa
mov ecx, esi
call fcn.10031ff0
mov dword [ebp - 4], 0xffffffff
push 0x28
push dword [esi]
call fcn.10166d53
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002fef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10170281
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x101f9014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x1002ffa1
mov eax, dword [esi]
test eax, eax
je 0x1002ffa1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 3
lea eax, [edi + 0x24]
lea ecx, [ebp - 0x20]
cmp ecx, eax
je 0x1002ffbc
push dword [ebp - 0x4c]
push dword [eax + 4]
push dword [eax]
call fcn.100145c0
mov byte [ebp - 4], 2
test esi, esi
je 0x1002ffd8
mov eax, dword [esi]
test eax, eax
je 0x1002ffd1
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
cmp esi, edi
jne 0x10030040
mov esi, dword [ebp - 0x40]
xor eax, eax
movups xmm0, xmmword [ebp - 0x3c]
mov word [ebp - 0x3c], ax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10007960
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10007d90
mov eax, esi
jmp 0x100300bf
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1003004a
mov eax, dword [esi]
mov edx, dword [ebp - 0x48]
mov ecx, edx
cmp dword [edx + 0x14], 8
jb 0x10030057
mov ecx, dword [edx]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x10030094
add esi, 0x18
cmp esi, edi
jne 0x10030040
mov esi, dword [ebp - 0x40]
movups xmm0, xmmword [ebp - 0x3c]
mov word [ebp - 0x3c], ax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 7
jmp 0x10030018
mov ecx, dword [ebp - 0x40]
push esi
call fcn.100074c0
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10007960
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10007d90
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101669b4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8