Function at 0x42d8af
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
mov edi, ecx
mov dword [ebp - 8], edi
movzx eax, word [edi + 0x1a]
test ax, ax
jne 0x42db68
mov ecx, dword [0x404a40]
push esi
xor esi, esi
mov dword [ebp - 0x10], esi
test ecx, ecx
je 0x42d930
movzx edx, byte [edi + 5]
mov dword [ebp - 4], edx
movsx eax, byte [ecx]
mov dword [ebp - 0x14], eax
cmp edx, eax
jl 0x42d91f
push eax
lea eax, [ecx + 1]
mov edx, edi
sub edx, dword [ebp - 4]
push eax
push edx
mov dword [ebp - 0xc], edx
call sub.VCRUNTIME140.dll_memcmp
mov edx, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x42d91f
mov eax, dword [ebp - 0x14]
cmp edx, eax
je 0x42d9f4
mov ecx, dword [ebp - 0xc]
cmp byte [ecx], 0x24
je 0x42d91f
cmp byte [eax + ecx], 0x24
je 0x42d989
inc esi
imul eax, esi, 0xc
mov dword [ebp - 0x10], esi
mov ecx, dword [eax + 0x404a40]
test ecx, ecx
jne 0x42d8df
mov esi, dword [ebp - 0x14]
imul eax, dword [ebp - 0x10], 0xc
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], eax
cmp dword [eax + 0x404a40], 0
jne 0x42da3a
push ecx
mov edx, 0x473700
mov ecx, edi
call fcn.0042ee72
mov edx, dword [edi + 0x2c]
test edx, edx
je 0x42da30
lea ecx, [edx + 6]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d968
sub ecx, esi
cmp dword [edx + ecx + 2], 0x45444f43
jne 0x42da1b
mov esi, 0x60000020
jmp 0x42da35
imul esi, esi, 0xc
mov edi, 0x473700
mov dword [ebp - 0x14], esi
push dword [esi + 0x404a44]
push 0x100
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d9ae
mov eax, dword [esi + 0x404a40]
sub ecx, edx
movsx eax, byte [eax]
lea edi, [ecx + 0x473700]
mov ecx, dword [ebp - 8]
movzx esi, byte [ecx + 5]
mov ecx, dword [ebp - 0xc]
sub esi, eax
push esi
add eax, ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
mov esi, dword [esi + 0x404a48]
jmp 0x42d933
imul esi, esi, 0xc
push dword [esi + 0x404a44]
push 0x100
push 0x473700
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov esi, dword [esi + 0x404a48]
add esp, 0xc
jmp 0x42d933
cmp word [edx + ecx + 3], 0x5342
jne 0x42da30
cmp byte [edx + ecx + 5], 0x53
mov esi, 0xc0000080
je 0x42da35
mov esi, 0xc0000040
mov dword [ebp - 4], esi
jmp 0x42da3d
mov esi, dword [ebp - 4]
cmp dword [edi + 0x50], 0
je 0x42da59
push dword [edi + 0x50]
push 0x100
push 0x473700
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
test byte [edi + 7], 0x40
je 0x42da68
and esi, 0x7fffffff
mov dword [ebp - 4], esi
mov cl, byte [edi + 0x54]
movzx eax, cl
and eax, 2
shl eax, 8
test cl, 4
je 0x42da7e
or eax, 0x40000000
test cl, 8
je 0x42da88
or eax, 0x80000000
test cl, 0x10
je 0x42da92
or eax, 0x20000000
test cl, 0x20
je 0x42da9c
or eax, 0x10000000
test cl, 0x40
je 0x42daa6
or eax, 0x8000000
test cl, cl
jns 0x42daaf
or eax, 0x4000000
test byte [edi + 0x55], 1
je 0x42daba
or eax, 0x2000000
test eax, eax
je 0x42dac9
and esi, 0xe0
or esi, eax
mov dword [ebp - 4], esi
mov esi, 0x473700
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42dad1
sub esi, ecx
inc esi
mov ecx, esi
call fcn.0044c392
push 0x473700
mov edi, eax
push esi
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov edx, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, edi
call fcn.0042f5d7
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
movzx ecx, ax
mov word [edi + 0x1a], cx
mov edx, dword [edx + 0x404a48]
call fcn.0042f60d
test dword [ebp - 4], 0x200
jne 0x42db5b
movzx eax, word [edi + 0x1c]
mov ecx, dword [0x45e52c]
mov eax, dword [eax*4 + 0x404a04]
mov dword [ebp - 0x14], eax
movzx eax, word [edi + 0x1a]
movsx edx, ax
call fcn.00430b69
mov esi, eax
test esi, esi
jne 0x42db55
push 0x3ac
push 0x427f04
push eax
call dword [0x45e53c]
mov eax, dword [ebp - 0x14]
or dword [esi + 8], eax
and dword [edi + 0x24], 0
and dword [edi + 0x28], 0
mov ax, word [edi + 0x1a]
pop esi
pop edi
leave
ret