Function at 0x1001070b
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5034]
mov eax, 0x5034
call fcn.1003b1e0
push 0xffffffffffffffff
push 0x1006829a
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp + 0x5030], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x5048]
mov esi, dword [ebp + 0x503c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x504c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x5050]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x5054]
mov dword [ebp - 0x64], eax
push 2
pop edi
xor ebx, ebx
mov dword [ebp - 4], 1
push 0x1000
lea eax, [ebp + 0x4030]
mov dword [ebp - 0x44], ebx
push ebx
push eax
mov dword [ebp - 0x4c], edi
call fcn.1003d660
push 0x4000
lea eax, [ebp + 0x30]
push ebx
push eax
call fcn.1003d660
push 0x10075a90
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.1004b341
add esp, 0x24
test eax, eax
jne 0x100107d9
push dword [ebp - 0x44]
lea eax, [ebp + 0x30]
push 0x4000
push 1
push eax
call fcn.1004c4a6
push dword [ebp - 0x44]
call fcn.1004bd7f
add esp, 0x14
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x60]
call fcn.100127e8
lea ecx, [ebp + 0x5040]
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x3c], ebx
call fcn.1000172b
test eax, eax
je 0x10010842
mov eax, dword [ebp + 0x5040]
test eax, eax
je 0x1001080c
mov eax, dword [eax]
jmp 0x1001080e
mov eax, ebx
push eax
push 0x10075a94
lea eax, [ebp + 0x4030]
push 0x1000
push eax
call fcn.10006c5f
lea eax, [ebp + 0x4030]
push 0x10075a9c
push eax
call fcn.1003f2ae
add esp, 0x18
test eax, eax
je 0x10010854
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x2c], 1
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x10010878
mov eax, dword [esi]
jmp 0x1001087a
lea eax, [ebp + 0x4030]
push 0x10075aa0
push eax
call fcn.1003f2ae
pop ecx
pop ecx
test eax, eax
je 0x10010849
xor ecx, ecx
inc ecx
mov dword [ebp - 0x3c], ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x10010849
mov eax, ebx
push eax
call fcn.1002de07
pop ecx
xor ecx, ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x38], ecx
test eax, eax
je 0x10010f9b
mov eax, dword [eax + 4]
mov ecx, 0x10075aa4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100108c5
test dx, dx
je 0x100108c1
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100108c5
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001089f
xor eax, eax
jmp 0x100108ca
sbb eax, eax
or eax, 1
test eax, eax
je 0x100108d6
xor edi, edi
inc edi
jmp 0x10010f9b
mov eax, dword [0x100c0c14]
test eax, eax
je 0x1001091b
mov edx, 0x10075ad4
mov ecx, eax
mov di, word [ecx]
cmp di, word [edx]
jne 0x1001090c
test di, di
je 0x10010908
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x1001090c
add ecx, 4
add edx, 4
test di, di
jne 0x100108e6
xor ecx, ecx
jmp 0x10010911
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x1001091b
mov byte [ebp - 0x11], 1
jmp 0x10010920
xor ecx, ecx
mov byte [ebp - 0x11], cl
test eax, eax
je 0x10010963
mov ecx, 0x10075ae4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10010951
test dx, dx
je 0x1001094b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10010951
add eax, 4
add ecx, 4
test dx, dx
jne 0x10010929
xor ecx, ecx
mov eax, ecx
jmp 0x10010958
sbb eax, eax
or eax, 1
xor ecx, ecx
test eax, eax
jne 0x10010965
mov al, 1
mov byte [ebp - 0x12], al
jmp 0x1001096a
xor ecx, ecx
mov al, cl
mov byte [ebp - 0x12], cl
cmp byte [ebp - 0x11], 0
jne 0x10010978
mov byte [ebp - 0x13], 1
test al, al
je 0x1001097b
mov byte [ebp - 0x13], cl
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xc]
jmp 0x10010dfe
mov eax, dword [eax + 4]
mov ecx, str.java
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100109b4
test dx, dx
je 0x100109b0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100109b4
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001098e
xor eax, eax
jmp 0x100109b9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10010df8
mov ebx, dword [ebp - 0x1c]
push str.version
push dword [ebx + 0x10]
call fcn.1002de99
push 0x10075b10
push dword [ebx + 0x10]
mov dword [ebp - 0x48], eax
call fcn.1002de99
push 0x10075b20
push dword [ebx + 0x10]
mov dword [ebp - 0x28], eax
call fcn.1002de99
push str.type
push dword [ebx + 0x10]
mov dword [ebp - 0x30], eax
call fcn.1002de99
push str.security_baseline
push dword [ebx + 0x10]
mov edi, eax
call fcn.1002de99
mov ebx, eax
mov eax, dword [ebp - 0x1c]
push str.fxversion
push dword [eax + 0x10]
call fcn.1002de99
add esp, 0x30
mov dword [ebp - 0x18], eax
test edi, edi
je 0x10010a6a
mov edx, 0x10075b6c
mov ecx, edi
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x10010a5b
test ax, ax
je 0x10010a55
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x10010a5b
add ecx, 4
add edx, 4
test ax, ax
jne 0x10010a33
xor ecx, ecx
mov eax, ecx
jmp 0x10010a62
sbb eax, eax
or eax, 1
xor ecx, ecx
test eax, eax
jne 0x10010a6c
mov dl, 1
jmp 0x10010a72
xor ecx, ecx
mov dl, cl
test edi, edi
je 0x10010aac
mov eax, 0x10075b7c
mov cx, word [edi]
cmp cx, word [eax]
jne 0x10010a9f
test cx, cx
je 0x10010a99
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x10010a9f
add edi, 4
add eax, 4
test cx, cx
jne 0x10010a77
xor ecx, ecx
mov eax, ecx
jmp 0x10010aa6
sbb eax, eax
or eax, 1
xor ecx, ecx
test eax, eax
mov al, 1
je 0x10010aae
mov al, cl
test dl, dl
jne 0x10010ab8
test al, al
jne 0x10010ab8
mov cl, 1
cmp byte [ebp - 0x11], 0
je 0x10010ac2
test dl, dl
jne 0x10010ad6
cmp byte [ebp - 0x12], 0
je 0x10010acc
test al, al
jne 0x10010ad6
cmp byte [ebp - 0x13], 0
je 0x10010ade
test cl, cl
je 0x10010ade
mov byte [ebp - 0x24], 1
xor edx, edx
jmp 0x10010ae3
xor edx, edx
mov byte [ebp - 0x24], dl
test ebx, ebx
je 0x10010b61
mov eax, 0x10075b8c
mov cx, word [ebx]
cmp cx, word [eax]
jne 0x10010b12
test cx, cx
je 0x10010b0e
mov cx, word [ebx + 2]
cmp cx, word [eax + 2]
jne 0x10010b12
add ebx, 4
add eax, 4
test cx, cx
jne 0x10010aec
mov eax, edx
jmp 0x10010b17
sbb eax, eax
or eax, 1
mov ebx, dword [ebp - 0x48]
test eax, eax
jne 0x10010b64
push ebx
lea ecx, [ebp]
call fcn.100125ed
mov edi, dword [ebp - 0x28]
lea ecx, [ebp + 0x18]
push edi
mov byte [ebp - 4], 3
call fcn.100125ed
mov ecx, dword [ebp - 0x64]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 4
push eax
call fcn.100120d6
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 2
call fcn.100144d4
lea ecx, [ebp]
call fcn.100144d4
jmp 0x10010b67
mov ebx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x28]
test ebx, ebx
je 0x10010df5
test edi, edi
jne 0x10010b7c
cmp dword [ebp - 0x30], edi
je 0x10010df5
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
test ecx, ecx
jne 0x10010cc8
test eax, eax
jne 0x10010cc8
lea ecx, [ebp + 0x4030]
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10010b9d
sub ecx, edx
sar ecx, 1
je 0x10010cc2
mov ecx, ebx
lea eax, [ebp + 0x4030]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10010be2
test dx, dx
je 0x10010bdc
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10010be2
add eax, 4
add ecx, 4
test dx, dx
jne 0x10010bba
xor edx, edx
mov eax, edx
jmp 0x10010be9
sbb eax, eax
or eax, 1
xor edx, edx
test eax, eax
jne 0x10010cc2
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ebx
cmp byte [ebp - 0x24], al
je 0x10010df8
mov ecx, dword [ebp + 0x5044]
test ecx, ecx
je 0x10010c60
cmp dword [ecx], edi
je 0x10010c1b
push dword [ecx]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x10010c1d
mov eax, edx
test eax, eax
je 0x10010c60
mov eax, dword [ebp + 0x5044]
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
mov dword [ecx], eax
mov eax, dword [ebp + 0x5044]
test eax, eax
je 0x10010c3d
lock inc dword [eax + 8]
mov edi, dword [ebp - 0x18]
push ecx
mov ecx, esp
mov byte [ebp - 4], 5
push edi
call fcn.1000154d
mov byte [ebp - 4], 2
call fcn.10017206
pop ecx
pop ecx
test eax, eax
je 0x10010df8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10010f98
push str.bundle
push dword [eax + 0x10]
call fcn.1002de99
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10010f3d
push ebx
push 0x10075ba8
mov ebx, 0x1000
push ebx
push dword [ebp - 0x50]
call fcn.10006c5f
push edi
push 0x10075bb0
push 0x10075c14
push ebx
push dword [ebp - 0x54]
call fcn.10006c5f
push 0x10075c34
push ebx
push dword [ebp - 0x58]
call fcn.10006c5f
add esp, 0x30
jmp 0x10010f89
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x20], 0
jne 0x10010d62
test ecx, ecx
je 0x10010d25
lea eax, [ebp + 0x4030]
push eax
push ebx
call fcn.1003f2ae
pop ecx
pop ecx
cmp eax, ebx
jne 0x10010df5
lea ecx, [ebp + 0x5044]
call fcn.1000172b
test eax, eax
je 0x10010e5a
mov eax, dword [ebp + 0x5044]
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
mov dword [ecx], eax
mov eax, dword [ebp + 0x5044]
test eax, eax
je 0x10010d1c
lock inc dword [eax + 8]
mov byte [ebp - 4], 6
jmp 0x10010dda
test eax, eax
je 0x10010df5
lea ecx, [ebp + 0x5044]
call fcn.1000172b
test eax, eax
je 0x10010e5a
mov eax, dword [ebp + 0x5044]
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
mov dword [ecx], eax
mov eax, dword [ebp + 0x5044]
test eax, eax
je 0x10010d5c
lock inc dword [eax + 8]
mov byte [ebp - 4], 7
jmp 0x10010dda
test ecx, ecx
je 0x10010e71
lea eax, [ebp + 0x4030]
push eax
push ebx
call fcn.1003f2ae
pop ecx
pop ecx
cmp eax, ebx
jne 0x10010df5
push dword [ebp - 0x34]
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push ebx
call fcn.100103d8
add esp, 0x10
test eax, eax
je 0x10010df5
mov ecx, dword [ebp + 0x5044]
test ecx, ecx
je 0x10010e5a
cmp dword [ecx], 0
je 0x10010db0
push dword [ecx]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x10010db2
xor eax, eax
test eax, eax
je 0x10010e5a
mov eax, dword [ebp + 0x5044]
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
mov dword [ecx], eax
mov eax, dword [ebp + 0x5044]
test eax, eax
je 0x10010dd6
lock inc dword [eax + 8]
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x18]
push ecx
mov ecx, esp
push edi
call fcn.1000154d
mov byte [ebp - 4], 2
call fcn.10017206
pop ecx
pop ecx
test eax, eax
jne 0x10010e5d
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x10010986
cmp dword [ebp - 0x2c], 0
je 0x10010c60
lea ecx, [ebp + 0x4030]
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10010e1e
sub ecx, edx
sar ecx, 1
je 0x10010c60
test ebx, ebx
je 0x10010e53
push 1
push 1
lea eax, [ebp + 0x4030]
push ebx
push eax
call fcn.100103d8
add esp, 0x10
test eax, eax
je 0x10010ed3
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10010ed5
mov edi, dword [ebp - 0x18]
mov al, byte [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x34], al
mov dword [ebp - 0x38], edi
jmp 0x10010df8
test eax, eax
je 0x10010df5
push dword [ebp - 0x34]
push dword [ebp - 0x24]
push dword [ebp - 0x10]
push ebx
call fcn.100103d8
add esp, 0x10
test eax, eax
je 0x10010df5
mov ecx, dword [ebp + 0x5044]
test ecx, ecx
je 0x10010e5a
cmp dword [ecx], 0
je 0x10010ea8
push dword [ecx]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x10010eaa
xor eax, eax
test eax, eax
je 0x10010e5a
mov eax, dword [ebp + 0x5044]
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
mov dword [ecx], eax
mov eax, dword [ebp + 0x5044]
test eax, eax
je 0x10010eca
lock inc dword [eax + 8]
mov byte [ebp - 4], 9
jmp 0x10010dda
xor eax, eax
mov ecx, dword [ebp + 0x5044]
test ecx, ecx
je 0x10010ee3
mov ecx, dword [ecx]
jmp 0x10010ee5
mov ecx, eax
lea edx, [ecx + 2]
xor edi, edi
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10010eea
sub ecx, edx
sar ecx, 1
push 2
pop edx
mov dword [ebp - 0x4c], edx
je 0x10010c60
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x10010f38
mov ecx, dword [ebp + 0x5044]
test ecx, ecx
je 0x10010f1a
mov eax, dword [ecx]
jmp 0x10010f1c
xor eax, eax
push 2
pop edx
push 1
push 1
push edi
push eax
mov dword [ebp - 0x4c], edx
call fcn.100103d8
add esp, 0x10
test eax, eax
je 0x10010c60
push 3
pop edi
jmp 0x10010f9b
mov ecx, dword [ebp - 0x20]
push 0x10075c38
push dword [ecx + 0x10]
call fcn.1002de99
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10010f89
push ebx
push 0x10075c40
mov ebx, 0x1000
push ebx
push dword [ebp - 0x50]
call fcn.10006c5f
push edi
push 0x10075c48
push ebx
push dword [ebp - 0x54]
call fcn.10006c5f
push 0x10075c50
push ebx
push dword [ebp - 0x58]
call fcn.10006c5f
add esp, 0x2c
push dword [ebp - 0x5c]
call fcn.1002de1a
xor eax, eax
pop ecx
mov edi, eax
jmp 0x10010f9b
mov edi, dword [ebp - 0x4c]
test esi, esi
je 0x10010fa6
mov ecx, esi
call fcn.100016dc
mov ecx, dword [ebp + 0x5040]
test ecx, ecx
je 0x10010fbd
call fcn.100016dc
xor eax, eax
mov dword [ebp + 0x5040], eax
mov ecx, dword [ebp + 0x5044]
test ecx, ecx
je 0x10010fcc
call fcn.100016dc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5030]
xor ecx, ebp
call fcn.1003b105
add ebp, 0x5034
leave
ret